Hi Evan, > Building against Boost is a challenge with CMake. I repeatedly run > into problems building ViennaCL against boost_filesystem and > boost_system libraries depending on how the host has them built.
I agree, it's indeed often unnecessarily challenging on Windows. Do you encounter the same issues with Linux? > To > get past it I usually force: > > # Its easier to resolve undefined issues with static libs. > set(Boost_USE_STATIC_LIBS ON) > set(Boost_USE_MULTITHREADED ON) > set(Boost_USE_STATIC_RUNTIME ON) > > # I usually have BOOST_ROOT exported for other libraries > set(BOOSTPATH $ENV{BOOST_ROOT}) > > # Look for Boost module on HPC cluster (non-default path) > set(Boost_NO_SYSTEM_PATHS true) > > > You might consider dropping some of these options into the common CMake file. Thanks for the suggestions! There's actually quite some effort going on right now in getting rid of using Boost and the kernel translation completely so that the developer-Repository can be used straight away without having to mess with Boost... :-) Best regards, Karli ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ ViennaCL-devel mailing list ViennaCL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viennacl-devel