running on windows application developped on linux
Hi,
Sorry may be it is not the appropriate place to post,
But if anyone has this experience
I am newer to windows environnement, I installed mingw to create executable for application creted under linux. ( written in c).
My application is just a client/server program ( I replaced the linux included by windows include, namely
I used #include <winsock2.h> instead of linux include
The compilation is done without error, but when I tryed to link it I got errors :
WSAGet.. , WSACleanup .... unknown
I tryed option -lwinsock, -lwinsock2 , and other and other but no one has been succeded!!!
Another problem please :
I created a graphical interface with fltk on linux, i compile it and lined it without error ( via mingw too), but when I tried to run it on windows I got errors like cannot find libstdc++-6.dll and others a lot.
I conclude that I need to compile it with static library, in oder to use it on any windows machien!!!!! Am I right ??
how to do it
thanks a lot.
best regards
|