Compiling Guide using bloodshed dev-cpp gives compilation error.
Steps Followed:
1. Download Guide.zip
2. Unzip Guide.zip
3. Open Guide/devcpp/guide.dev using Bloodshed Dev-CPP IDE [Bloodshed Dev version: 4.9.9.2]
4. Compile [Compiler Version: g++.exe (GCC) 3.4.2 (mingw-special)]
----------------------------------------- Compilation Log ----------------------
Compiler: Default compiler
Building Makefile: "D:\BSG\Solutions\openGL\Guide\devcpp\Makefile.win"
Executing make...
make.exe -f "D:\BSG\Solutions\openGL\Guide\devcpp\Makefile.win" all
g++.exe -c ../src/guide/bitbtn.cpp -o Debug/bitbtn.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"../inc" -I"../inc/ft" -I"../inc/sdl" -w
In file included from ../inc/guide/control.h:46,
from ../inc/guide/wincontrol.h:17,
from ../inc/guide/custombutton.h:14,
from ../inc/guide/bitbtn.h:14,
from ../src/guide/bitbtn.cpp:6:
../inc/guide/callback.h: In constructor `CBFunctionTranslator0wRet<RT, Func>::CBFunctionTranslator0wRet(Func)':
../inc/guide/callback.h:458: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h:458: error: (Each undeclared identifier is reported only once for each function it appears in.)
../inc/guide/callback.h: In constructor `CBFunctionTranslator1<P1, Func>::CBFunctionTranslator1(Func)':
../inc/guide/callback.h:528: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h: In constructor `CBFunctionTranslator1wRet<P1, RT, Func>::CBFunctionTranslator1wRet(Func)':
../inc/guide/callback.h:630: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h: In constructor `CBFunctionTranslator2<P1, P2, Func>::CBFunctionTranslator2(Func)':
../inc/guide/callback.h:737: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h: In constructor `CBFunctionTranslator2wRet<P1, P2, RT, Func>::CBFunctionTranslator2wRet(Func)':
../inc/guide/callback.h:845: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h: In constructor `CBFunctionTranslator3<P1, P2, P3, Func>::CBFunctionTranslator3(Func)':
../inc/guide/callback.h:950: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h: In constructor `CBFunctionTranslator3wRet<P1, P2, P3, RT, Func>::CBFunctionTranslator3wRet(Func)':
../inc/guide/callback.h:1060: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h: In constructor `CBFunctionTranslator4<P1, P2, P3, P4, Func>::CBFunctionTranslator4(Func)':
../inc/guide/callback.h:1172: error: `PFunc' undeclared (first use this function)
../inc/guide/callback.h: In constructor `CBFunctionTranslator4wRet<P1, P2, P3, P4, RT, Func>::CBFunctionTranslator4wRet(Func)':
../inc/guide/callback.h:1284: error: `PFunc' undeclared (first use this function)
make.exe: *** [Debug/bitbtn.o] Error 1
Execution terminated
-----------------------------------------