Hi all,<br>
<br>
I'm cross compiling an app under Fedora. I get this linking errors while building with cmake :<br>
<br>
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld: cannot find -lxerces-c<br>
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld: cannot find -lportablexdr<br>
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld: cannot find -lz<br>
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld: cannot find -lsqlite3<br>
<br>
<br>
The thing is that the libraries have been found,included and linked with
target_link_libraries. I'm adding all the necessary flags to link
statically and the libraries are the ones included in the mingw package.
It shoud work because a different part of the application that uses
almost the same libraries is cross compiling perfectly. The cmake files
are actually pretty much the same so I don't really know what I'm doing
wrong. Cmake might be missing the libraries or the path of the
libraries....<br>
<br>
Have you guys come across something like this before??<br>
<br>
Best Regards<br>
<br>
Jose