CMake on Windows with Cross-Compiled Boost 1.47
Added by Alistair Lowe almost 14 years ago
Hi guys,
I'm in the process of generating a cross-compile of Wt using CMake on windows.
As the cross-compile requires Boost libraries, I've downloaded boost and cross compiled for GCC ARM (linux).
This has generated a folder within the boost root called bin.v2/libs, within here as an example are files such as:
\date_time\build\gcc-arm\release\link-static\target-os-linux\threading-multi\gregorian\date_generators.o
or
\system\build\gcc-arm\release\target-os-linux\threading-multi\libboost_system-gcc-mt-1_47.so.1.47.0
How do I go about making CMake aware of the correct Boost libraries?
Many thanks
Replies (4)
RE: CMake on Windows with Cross-Compiled Boost 1.47 - Added by Alistair Lowe almost 14 years ago
Hmm looks like my .as aren't compiling, only half a job strange
RE: CMake on Windows with Cross-Compiled Boost 1.47 - Added by Wim Dumon almost 14 years ago
This is more a question on cmake than on Wt, I guess.
See the link provided on http://redmine.emweb.be/projects/wt/wiki/Wt_embedded
BR,
Wim.
RE: CMake on Windows with Cross-Compiled Boost 1.47 - Added by Alistair Lowe almost 14 years ago
Thanks for the advice. This issue I had with boost was caused by it not tolerating paths with spaces and it incorrectly trying to compile a windows thread system vs linux.
I have another question as I'm new to linux in general.
I have cross-compiled hello.wt and placed it onto an emulated distribution of Debian for ARM.
How do I execute this file? I'm assuming it wont instantly say .wt is something that can be ran, what's the correct approach?
Many thanks
RE: CMake on Windows with Cross-Compiled Boost 1.47 - Added by Alistair Lowe almost 14 years ago
Oh nvm got it ta