peoplepilot / carve

Automatically exported from code.google.com/p/carve
Other
0 stars 0 forks source link

Debug options CARVE_DEBUG and CARVE_DEBUG_WRITE_PLY_DATA cause compilation errors (patch attached) #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Turn options CARVE_DEBUG and CARVE_DEBUG_WRITE_PLY_DATA on in CMakeLists.txt
2. cmake .
3. cd src; make

What is the expected output? What do you see instead?

Compilation causes syntax errors. The attached patch file (output from hg diff) 
gets rid of those.

What version of the product are you using? On what operating system?

latest code base; checked out from Mercurial and built on OS X 10.9 (with clang 
default compiler and with ports cmake and boost).

Please provide any additional information below.

If the debug options are turned on option BUILD_SHARED_LIBS should be turned 
off to avoid link error (“Linking CXX shared library libcarve.dylib .. 
Undefined symbols .. writePLY”).

Original issue reported on code.google.com by tiptopl...@gmail.com on 10 Dec 2013 at 11:32

Attachments: