Hi all

I tried to compile Equalizer from the Git repo and got 2 errors (so far):

First, gpusd searches for the wrong directory. In
.\CMake\FindLunchbox.cmake, ln 79 it searches in ...share...., but it got
installed in a the directory without share. So I could fix it by replacing
ln 79 with 
include("${LUNCHBOX_LIBRARY_DIRS}/../Lunchbox/CMake/options.cmake")

Second, a problem with Boost. I use a static version of Boost (1.53, VS2012
x64), and Equalizer can't link:

lots of 
11>5>init.obj : warning LNK4217: locally defined symbol
??1invalid_option_value@program_options@boost@@UEAA@XZ (public: virtual
__cdecl
boost::program_options::invalid_option_value::~invalid_option_value(void))
imported in function
__catch$??$validate@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@D@program_options@boost@@YAXAEAVany@1@AEBV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@PEAV34@H@Z$0

and lots of 

11>5>init.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class
boost::program_options::options_description_easy_init & __cdecl
boost::program_options::options_description_easy_init::operator()(char const
*,char const *)"
(__imp_??Roptions_description_easy_init@program_options@boost@@QEAAAEAV012@PEBD0@Z)
referenced in function "bool __cdecl eq::_parseArguments(int,char * *)"
(?_parseArguments@eq@@YA_NHPEAPEAD@Z)


I've seen in the CMake files BOOST_PROGRAM_OPTIONS_DYN_LINK gets defined,
maybe this is the problem as it looks for shared boost libraries? I've
defined 
Boost_USE_STATIC_LIBS:BOOL=ON
Boost_USE_MULTITHREADED:BOOL=ON
but maybe it gets overwritten?


Furthermore, this error:

Generating D:/CMake_Build/I3D/EXTERNALS/Source/Equalizer/README.rst
11>  
11>  4>    File "CMake/html2rst.py", line 154
11>  
11>  4>      self.outtext = u''
11>  
11>  4>                       ^
11>  
11>  4>  SyntaxError: invalid syntax

Thanks,
Robert



--
View this message in context: 
http://software.1713.n2.nabble.com/Compile-errors-in-gpusd-and-equalizer-tp7583114.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to