Since you are running Dev-C++ on a Windows machine and the used compiler -
MinGW - is a special version of the gcc compiler, you can select the
simplest solution:
#define IBPP_WINDOWS
#define IBPP_GCC
#include "ibpp.h"
Note however, that adding the #include line in your source file does _not_
add a library to your project. If ibpp.h has the implementation code in a
library, you must also add a reference to this library to your project so
that the linker will link in the library.
/Per W
On Wed, 10 Aug 2005, Ales Pavel wrote:
> how to I can add lib to project in dev-c? When I try add this
> #include "ibpp.h"
> error is
>
> C:\projektyc\Personal\PersonDlg.cpp In file included from PersonDlg.cpp
> 58:2 C:\Dev-Cpp\include\ibpp.h #error Please define IBPP_WINDOWS or
> IBPP_LINUX before compiling !
> 62:2 C:\Dev-Cpp\include\ibpp.h #error Please define IBPP_BCC or IBPP_GCC
> or IBPP_MSVC before compiling !
> C:\projektyc\Personal\Makefile.win [Build Error] [PersonDlg.o] Error 1
>
> I am begginer what can I try?:-D
>
> I am sorry for my english
>
> Ales
|