Hi, I am trying to port a C++ project using emscripten which is using 'cmake' as its build system. This project uses several libs such as boost and liblog4cxx. I ran the following cmake command:
~/Documents/emsdk_portable/emscripten/master/./emcmake cmake - DCMAKE_TOOLCHAIN_FILE= ~/Documents/emsdk_portable/emscripten/master/cmake/ Modules/Platform/Emscripten.cmake -G "Unix Makefiles" -DBOOST_ROOT=/home/ scott/boost_1_60_0/ .. It is able to identify the BOOST version but gives the following error: *Unable to find the requested Boost libraries.Boost version: 1.60.0Boost include path: /home/scott/boost_1_60_0Could not find the following Boost libraries: boost_thread boost_date_time boost_program_options boost_filesystem boost_systemNo Boost libraries were found. You may need to set BOOST_LIBRARYDIR to thedirectory containing Boost libraries or BOOST_ROOT to the location ofBoost.* Also this: *-- checking for module 'liblog4cxx'-- package 'liblog4cxx' not found* *ERROR:root:Configure step failed with non-zero return code 1!* I tried setting the boost library dir as well, but still getting the same error. If I run the cmake command with ./emcmake then it compiles. I am at loss how to configure these libs to compile with emscripten. Kindly help me solve these issues. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
