Does latest version support Dev-C++?

Help
rainy-code
2005-04-08
2013-04-15
  • rainy-code
    rainy-code
    2005-04-08

    Hi,John.I am beginner in win32 GUI programming.
    I tried to build win32gui with Dev-C++ using build_library.exe.
    but I got many error and couldn't build it.
    Dev-C++ version 4.9.9.2.(gcc version 3.4.2)
    win32gui version 1.6.1 and 1.6.4.
    I can easily build it with VS.NET 2003.
    Does latest version support Dev-C++ ?
    Can I use win32gui library buit with VS.NET 2003 for Dev-C++?

     
    • Steven Weiss
      Steven Weiss
      2005-04-08

      hi rainy,
      did you build the library by clicking on the "Build..." button next to gcc? win32gui supports vc7.1, gcc and comeau

       
    • John Torjo
      John Torjo
      2005-04-08

      Hi,

      win32gui does support Dev-C++. Just make sure that when using build_library.exe, at "Additional Includes" you specify the GCC directories. For my gcc 3.3.1, they are:

      C:/Dev-Cpp/include
      C:/Dev-Cpp/include/c++/3.3.1
      C:/Dev-Cpp/include/c++/3.3.1/mingw32
      C:/Dev-Cpp/include/c++/3.3.1/backward

      I assume for you, they should be:

      C:/Dev-Cpp/include
      C:/Dev-Cpp/include/c++/3.4.2
      C:/Dev-Cpp/include/c++/3.4.2/mingw32
      C:/Dev-Cpp/include/c++/3.4.2/backward

      Please let me know if this works.

      Best,
      John

       
    • rainy-code
      rainy-code
      2005-04-08

      hi,Steven.
      Yes,I clicked on the "Build.." button next to gcc.
      and set gcc Additional includes like this.
      C:/Dev-Cpp/include
      C:/Dev-Cpp/include/c++/3.4.2
      C:/Dev-Cpp/include/c++/3.4.2/mingw32/bits
      C:/Dev-Cpp/include/c++/3.4.2/backward
      C:/Dev-Cpp/include/c++/3.4.2/ext

      I have mingw and I set mingw's gcc in my PATH.
      maybe ,this cause troubles.
      Does build_library.exe use gcc in C:\Dev-Cpp\bin
      or just use gcc in comannd pronpt line?

       
    • rainy-code
      rainy-code
      2005-04-08

      Hi.
      I try again.
      I specify the GCC directories like this.
      C:/Dev-Cpp/include
      C:/Dev-Cpp/include/c++/3.4.2
      C:/Dev-Cpp/include/c++/3.4.2/mingw32
      C:/Dev-Cpp/include/c++/3.4.2/backward

      but I get many errors again. these are the part of errors.

          g++   -c -Wall -ftemplate-depth-100  -DNDEBUG -DNDEBUG  -O3 -finline-functio
      ns -Wno-inline -mthreads   -I"..\bin\boost\build_lib" -I"..\..\.."  -I "C:\Dev-C
      pp\include" -I "C:\Dev-Cpp\include\c++\3.4.2" -I "C:\Dev-Cpp\include\c++\3.4.2\m
      ingw32" -I "C:\Dev-Cpp\include\c++\3.4.2\backward" -I "..\build_lib"  -o "..\bin
      \boost\build_lib\libwin32gui.lib\gcc\release\runtime-link-static\threading-multi
      \forward_notifs_to_parent.obj"  "../build_lib/../../src/forward_notifs_to_parent
      .cpp"

      ...failed gcc-C++-action ..\bin\boost\build_lib\libwin32gui.lib\gcc\release\runt
      ime-link-static\threading-multi\forward_notifs_to_parent.obj...
      ...skipped <@boost!build_lib\libwin32gui.lib\gcc\release\runtime-link-static\thr
      eading-multi>libwin32gui-gcc-mt-s-1_31.lib for lack of <@boost!build_lib\libwin3
      2gui.lib\gcc\release\runtime-link-static\threading-multi>auto_mapping.obj...
      ...skipped <@boost!build_lib!stage!lib>libwin32gui-gcc-mt-s-1_31.lib for lack of
      <@boost!build_lib\libwin32gui.lib\gcc\release\runtime-link-static\threading-mul
      ti>libwin32gui-gcc-mt-s-1_31.lib...
      ...failed updating 80 targets...
      ...skipped 4 targets...
      ...updated 13 targets...
      Libraries are found in the 'win32gui-lib/win32gui/lib' folder

       
    • rainy-code
      rainy-code
      2005-04-08

      I can build it!
      I delete mingw's path,and set C:\Dev-Cpp\bin in my path.
      Thanks!!