I'm a beginner developper who needs help for continue learning...
What I have :
- ubuntu machine
- installed and working gcw0 toolchain
I'm trying to compile a project who needs libraries that are not present cross-compile toolchain.
For compiling this project (who uses a Cmakelist file) I use : cmake -DCMAKE_TOOLCHAIN_FILE="/opt/gcw0-toolchain/usr/share/buildroot/toolchainfile.cmake"
What I understand is that :
- I have to cross compile those libraries
- Then I have to add them in the toolchain
So first I try to compile those libs.
For example, I have to compile Freeimage :
- I downloaded Freeimage source code (http://downloads.sourceforge.net/freeimage/FreeImage3180.zip
- I decompress it
Then, how do I cross-compile ?
When compiled, where do I put the compiled libs in the toolchain ?
Thanks for your help