Menu

help 4 a noob

Help
Ivan M
2008-12-23
2012-10-22
  • Ivan M

    Ivan M - 2008-12-23

    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!

     
    • Dominique Fober

      Dominique Fober - 2009-01-05

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.