Page 1 of 1

Porting a wxWidgets Project

Posted: Sat Aug 17, 2013 6:00 pm
by evstevemd
I have a Project that have been developed on Linux and want to port it in Windows. The Library used are cross-platform and compile is GCC/Mingw.
The problem I face now is that I compile it fine on linux (Ubuntu 13.04) but in Windows I get a lot of undefined references. I have checked the files are compiled into object files (.o) fine but it seems are not linked somehow (Not sure of this but just my interpretation of it). I have no Idea what to check and its linking failing somewhere.

In another yet weird case I have just included all .h and .cpp from library (PELET) to my application and they compile to .o files but still complains of undefined references.
For sure am confused as to what causes this as it works fine on Linux.

Is there a way to further isolate the problem. I use TDM Mingw 4.7.1 and Codelite 5.2

Any help is appreciated!
Regards,
Stefano

Re: Porting a wxWidgets Project

Posted: Sat Aug 17, 2013 8:45 pm
by eranif
As always, the build output might help ..

Eran

Re: Porting a wxWidgets Project

Posted: Sat Aug 17, 2013 11:18 pm
by evstevemd
Hi Eran,
It happened that alot of things that worked on Linux did not on Windows.
I had to change a lot of code to make it work.
Oh! That awful Windows. If Only there was no body using you :oops: