I tried to compile some C ++ WIN32 code with GCC through DevC ++ (MinGW NKA). He seams that he was unable to bind objects, and this did not give me the error message: "[PathToSource]> Error 1".
Have you included the path to the Windows SDK? On my computer, this is:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64
(Note: I have Visual Studios installed on my computer)
Compile the program using the appropriate gcc library .
Tried the same with Eclipse (MinGW GCC) and it compiled. However, not all resources show how I have a set of icons to compile as an application icon, it is loaded from resource files. I also get a console window in the background, as I launch the application.
Check resource settings to see where Eclipse is linking to your Windows library.
What it is? How can I make resource files compiled with code, and also avoid loading the console window in the background.
Design your applications in Visual Studio. If you cannot afford Visual Studio and you are a hobby, consider Visual Studios Express .
I was also wondering if there is a way to compile WIN32 code in Linux via GCC, or is there a way to port it for the same compiler.
If you mean WINAPI, then no, not as much as I know. If you need compatibility, you should stick with the C ++ standard library.
There are, however, universal libraries that you might find useful:
user295190
source share