Borland C++ Builder
Posted: Thu Oct 30, 2008 8:53 am
Would you be so kind and help:
Does anybody has any experience with Borland C++ Builder and converting VC++ projects.
I am getting a message on very first HalloWorld project:
[ILINK32 Error] Error: Unresolved external '__stdcall irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<int>&, unsigned int, bool, bool, bool, irr::IEventReceiver *, const char *)' referenced from D:\_CDESW8\TEST\3D_ENGINE\IRRLICHT-1.4.2\EXAMPLES\01.HELLOWORLD\DEBUG\GLAVNI.OBJ
What did I do:
set include path paths (irllicht\include)
put the irrlicht.dll in Debug directory
change the irrlicht.lib for use in Borland C++ (through coff2omf.exe)
import new lib to project (Project->Add to project)
The code is like this:
//---------------------------------------------------------------------------
#include <vcl.h>
#include <irrlicht.h>
#pragma hdrstop
//---------------------------------------------------------------------------
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
//---------------------------------------------------------------------------
//*Bc.lib in the name means that this lib is converted with coff2omf.exe
#pragma comment(lib, "IrrlichtBC.lib")
#pragma argsused
int main(int argc, char* argv[])
{
IrrlichtDevice *device =
createDevice( video::EDT_OPENGL, dimension2d<s32>(1024, 768),
16,false, false, false, 0);
return 0;
}
What did I missed?
Note: this is not my first project for converting VC++ libs to Borland environment, but here I stucked...
Does anybody has any experience with Borland C++ Builder and converting VC++ projects.
I am getting a message on very first HalloWorld project:
[ILINK32 Error] Error: Unresolved external '__stdcall irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<int>&, unsigned int, bool, bool, bool, irr::IEventReceiver *, const char *)' referenced from D:\_CDESW8\TEST\3D_ENGINE\IRRLICHT-1.4.2\EXAMPLES\01.HELLOWORLD\DEBUG\GLAVNI.OBJ
What did I do:
set include path paths (irllicht\include)
put the irrlicht.dll in Debug directory
change the irrlicht.lib for use in Borland C++ (through coff2omf.exe)
import new lib to project (Project->Add to project)
The code is like this:
//---------------------------------------------------------------------------
#include <vcl.h>
#include <irrlicht.h>
#pragma hdrstop
//---------------------------------------------------------------------------
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
//---------------------------------------------------------------------------
//*Bc.lib in the name means that this lib is converted with coff2omf.exe
#pragma comment(lib, "IrrlichtBC.lib")
#pragma argsused
int main(int argc, char* argv[])
{
IrrlichtDevice *device =
createDevice( video::EDT_OPENGL, dimension2d<s32>(1024, 768),
16,false, false, false, 0);
return 0;
}
What did I missed?
Note: this is not my first project for converting VC++ libs to Borland environment, but here I stucked...