Robert,

Did you already have a look at the include/boost/config/user.hpp? Maybe you 
have to disable something there. 
It took a while for me to get eq running with boost in windows, but I figured 
it out - for shared libs.

In case you or someone else is interested: Just add those lines to the 
user.hpp...

#define BOOST_DATE_TIME_DYN_LINK
#define BOOST_FILESYSTEM_DYN_LINK
#define BOOST_IOSTREAMS_DYN_LINK
#define BOOST_PROGRAM_OPTIONS_DYN_LINK
#define BOOST_PYTHON_DYN_LINK
#define BOOST_REGEX_DYN_LINK
#define BOOST_SIGNALS_DYN_LINK
#define BOOST_SYSTEM_DYN_LINK
#define BOOST_THREAD_DYN_DLL

#define BOOST_SERIALIZATION_NO_LIB

...and manually link to the serialization library in your projects.

Carsten

> -----Original Message-----
> From: [email protected] [mailto:eq-dev-
> [email protected]] On Behalf Of Robert Hauck
> Sent: Dienstag, 30. April 2013 11:25
> To: [email protected]
> Subject: [eq-dev] Compile errors in gpusd and equalizer?
> 
> 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@@QEAAAEAV
> 012@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
Realtime Technology Aktiengesellschaft, Munich, Germany

Commercial Registry: 125910; Amtsgericht Muenchen
Board: Ludwig A. Fuchs / Roberto Schettler
Chairman of the Supervisory Board: Prof. Dr. Ulrich Goehner

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender
und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbidden.



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

Reply via email to