Porting a wxWidgets Project

CodeLite installation/troubleshooting forum
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Porting a wxWidgets Project

Post 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

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Porting a wxWidgets Project

Post by eranif »

As always, the build output might help ..

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Porting a wxWidgets Project

Post 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:

CodeLite 15.x
CodeLite is awesome, I just Love it!

Post Reply