mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Fix linker error and multiply defined symbols.
This commit is contained in:
parent
eb36a07ab7
commit
4e76c00a42
@ -14,7 +14,7 @@
|
||||
#include <vtkm/internal/Configure.h>
|
||||
|
||||
VTKM_THIRDPARTY_PRE_INCLUDE
|
||||
#include <vtkm/thirdparty/lodepng/vtkmlodepng/lodepng.cpp>
|
||||
#include <vtkm/thirdparty/lodepng/vtkmlodepng/lodepng.h>
|
||||
VTKM_THIRDPARTY_PRE_INCLUDE
|
||||
|
||||
namespace vtkm
|
||||
|
@ -28,7 +28,7 @@ vtkm::UInt32 EncodePNG(std::vector<unsigned char> const& image,
|
||||
std::size_t out_size);
|
||||
|
||||
VTKM_RENDERING_EXPORT
|
||||
vtkm::UInt32 SavePNG(std::string filename,
|
||||
vtkm::UInt32 SavePNG(std::string const& filename,
|
||||
std::vector<unsigned char> const& image,
|
||||
unsigned long width,
|
||||
unsigned long height);
|
||||
|
Loading…
Reference in New Issue
Block a user