Author Topic: Help for compiling missing libs  (Read 271 times)

chataigne (OP)

  • Posts: 3
Help for compiling missing libs
« on: January 06, 2020, 02:24:22 pm »
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 (
- 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


Post a new topic
Post a new topic