bird klijent, sa IBPP 0.9, kompajler izbacuje sledecu gresku:
g++.exe -D__DEBUG__ -c test1.cpp -o test1.o
-I"C:/Dev-Cpp/include/c++/3.3.1"
-I"C:/Dev-Cpp/include/c++/3.3.1/mingw32"
-I"C:/Dev-Cpp/include/c++/3.3.1/backward"
-I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"
-I"C:/Dev-Cpp/include" -fno-rtti -fno-exceptions -fno-pcc-struct-return
-fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
-IBPP_WINDOWS -IBPP_GCC -pg -g3 -fmessage-length=0In file included from
test1.cpp:34:
C:/Dev-Cpp/include/ibpp.h:59:2: #error Please define
IBPP_WINDOWS/IBPP_LINUX/IBPP_DARWIN before compiling !
C:/Dev-Cpp/include/ibpp.h:64:2: #error Please define
IBPP_BCC/IBPP_GCC/IBPP_MSVC/IBPP_DMC before compiling !make.exe: ***
[test1.o] Error 1Execution terminated
jer u ibpp.h stoji:
// When compiling an IBPP project (or IBPP library itself), the
following
// defines should be made on the command-line (or in makefiles)
according
// to the OS platform and compiler used.
//
// Select the platform: IBPP_WINDOWS | IBPP_LINUX | IBPP_DARWIN
// Select the compiler: IBPP_BCC | IBPP_GCC | IBPP_MSVC |
IBPP_DMC
//
// See the documentation and makefiles for more information.
#ifndef __IBPP_H__
#define __IBPP_H__
#if !defined(IBPP_WINDOWS) && !defined(IBPP_LINUX) &&
!defined(IBPP_DARWIN)
#error Please define IBPP_WINDOWS/IBPP_LINUX/IBPP_DARWIN before compiling
!
#endif
#if !defined(IBPP_BCC) && !defined(IBPP_GCC) \
&& !defined(IBPP_MSVC) && !defined(IBPP_DMC)
#error Please define IBPP_BCC/IBPP_GCC/IBPP_MSVC/IBPP_DMC before
compiling !
#endif
Zna li neko kako se definisu ti...flagovi (ili kako se vec zovu)?
Da bi se IBPP biblioteka kompajlirala na sa MinGW preko MSYS, potrebno
je staviti : ./make IBPP_GCC=1