OutOfTree build for Windows/MinGW target?
Posted: 26 Aug 2013 02:15
Hi all.
Wiki page on OutOfTree build is telling nothing cross-platform related; also, there's no good reliable example in any publicly available 3rdparty plugin code.
Using plain makefile template with CC set to mingw32-c++, make result is:
Can anyone share a hint/template on this problem?
Wiki page on OutOfTree build is telling nothing cross-platform related; also, there's no good reliable example in any publicly available 3rdparty plugin code.
Using plain makefile template with CC set to mingw32-c++, make result is:
Code: Select all
mingw32-c++ -std=gnu99 -Wl,-no-undefined,defs -lvlccore -lgettextlib -DMODULE_STRING=\"some\" -shared -o libsome_plugin.dll some.o
/usr/libexec/gcc/mingw32/ld: cannot find defs: No such file or directory
/usr/libexec/gcc/mingw32/ld: cannot find -lvlccore
/usr/libexec/gcc/mingw32/ld: cannot find -lgettextlib
collect2: error: ld returned 1 exit status
make: *** [libsome_plugin.dll] Error 1