mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] MXE cross compile shared object (.so) file from U


From: Hoang Thong
Subject: [Mingw-cross-env-list] MXE cross compile shared object (.so) file from Ubuntu 14.04 to Windows
Date: Wed, 21 Jan 2015 13:34:50 +0700

Hi everyone,

I have compiled mapnik (a geometry lib) successful in Ubuntu. I used Qt Creator (3.3 with Qt 5.4) as an IDE, now I want to compile a exe file to run in x86 windows. Everything is fine when I've just compile a simple program like cout<<"Hello World" bla bla. But when I linked it with mapnik lib (libmapnik.so file), compile failed. I've search very hard in google and still found nothing to solve. Here is my command:

$cd <project_dir>
$/opt/mxe/usr/bin/i686-w64-mingw32.shared-qmake-qt5
$make

I have used mxe "shared" build (not static) for my .so file but it seem not right. Does it need an .a file? Any ideas?

Best regards,
Thong Hoang

reply via email to

[Prev in Thread] Current Thread [Next in Thread]