can I theorically compile the samples included in the guidolib-1.34-devkit-win32.zip with windows dev C++? after putting the libraries, .dll and .lib in the samples folder, i get a compiler error:
" expected ',' or ';' before '(' token " in lines like:
Hi,
With dev C++, you need to define -DGCC in the C++ parameters compiler options.
Note that you also have to define -DWINVER=0x0500 in order to resolve the AlphaBlend declaration to compile GDeviceWin32.cpp
Finally, you'll have to add the libmsimg32 and libgdi32 for the linker.
I hope that it solves your problem.
Best,
Dominique
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there!
can I theorically compile the samples included in the guidolib-1.34-devkit-win32.zip with windows dev C++? after putting the libraries, .dll and .lib in the samples folder, i get a compiler error:
" expected ',' or ';' before '(' token " in lines like:
GUIDOAPI(GuidoErrCode) GuidoInit(GuidoInitDesc * desc);
..Help!
Hi,
With dev C++, you need to define -DGCC in the C++ parameters compiler options.
Note that you also have to define -DWINVER=0x0500 in order to resolve the AlphaBlend declaration to compile GDeviceWin32.cpp
Finally, you'll have to add the libmsimg32 and libgdi32 for the linker.
I hope that it solves your problem.
Best,
Dominique