Compilation under MinGW

29 views
Skip to first unread message

Tobias T.

unread,
Aug 18, 2013, 1:55:25 AM8/18/13
to pixf...@googlegroups.com
Hi I really would like to use this library for my own project. I'm using Eclipse CDT with Mingw 4.7 under Windows (32 bit).
But I have problems to compile it. It seems that only the MSVC compiler is supported under Windows. Is there a simple fix?

Pix FC

unread,
Aug 18, 2013, 6:34:27 AM8/18/13
to pixf...@googlegroups.com
Hi Tobias,
I havent tried mingw,and there is no simple way around it (other than trying to build it and fixing the errors one by one). Can you use the precompiled static lib ?

Frank



On Sun, Aug 18, 2013 at 3:55 PM, Tobias T. <tobias....@googlemail.com> wrote:
Hi I really would like to use this library for my own project. I'm using Eclipse CDT with Mingw 4.7 under Windows (32 bit).
But I have problems to compile it. It seems that only the MSVC compiler is supported under Windows. Is there a simple fix?

--
You received this message because you are subscribed to the Google Groups "pixfc-sse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pixfc-sse+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Tobias T.

unread,
Aug 18, 2013, 1:21:19 PM8/18/13
to pixf...@googlegroups.com
Hi Frank,
is there a mingw static lib available?

Tobias

Pix FC

unread,
Aug 19, 2013, 7:04:24 AM8/19/13
to pixf...@googlegroups.com
Hey Tobias,
No there isnt any lib for mingw but wont the static libs work with mingw (even if they were built with VS) ?
Frank

Tobias T.

unread,
Aug 21, 2013, 9:28:10 PM8/21/13
to pixf...@googlegroups.com
Hi Frank,
I tried to compile the example with the VS-static libs. In order to do that I had to replace the VS pixfc-sse.h with the original one (otherwise I get:error stray '\32 ' in program).  But then I got lot of linker errors. (undefined reference to '__xyz').
Refering to http://www.mingw.org/wiki/MixingCompilers (...' as long as you communicate with them only through a C interface declared with extern "C". If you do otherwise, you will probably get linker errors because different compilers mangle C++ names differently. ') it should generally be possible under the right circumstances.
It seems that compiling from the source and fixing all the errors is the way to go right now.
Thx for the quick response.
Tobias
Reply all
Reply to author
Forward
0 new messages