Porting a wxWidgets Project
Posted: Sat Aug 17, 2013 6:00 pm
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
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