Hmm there is something wrong with forum server.
I tried to create my own aplicatication with IrrPhysx
Code: Select all
input receiver; //my own IEventReceiver Class
IrrlichtDevice* device = createDevice(driverType, core::dimension2d<s32>(800, 600), 32, false, true, false, &receiver);
if (device == 0)return 1;
video::IVideoDriver* driver = device->getVideoDriver();
scene::ISceneManager* smgr = device->getSceneManager();
driver->setTextureCreationFlag(video::ETCF_ALWAYS_32_BIT, true);
core::array<SPhysxAndNodePair*> objects;
SSceneDesc sceneDesc;
IPhysxManager* physxManager = createPhysxManager(device,sceneDesc);
And while compiling i get such an error
Code: Select all
1>Main.obj : error LNK2019: unresolved external symbol "class IrrPhysx::IPhysxManager * __cdecl IrrPhysx::createPhysxManager(class irr::IrrlichtDevice *,struct IrrPhysx::SSceneDesc const &,bool)" (?createPhysxManager@IrrPhysx@@YAPAVIPhysxManager@1@PAVIrrlichtDevice@irr@@ABUSSceneDesc@1@_N@Z) referenced in function _main
But when i compile examples from IrrPhysx everetyhing goes allright. First i thought that maby again some paths are wrong. But my Visual Studio 2008 recognize the SSceneDesc and IPhysxManager (2008 Pro- Yes i've got oryginal one form Microsoft Academic Alliance..or whatever the name of it is).
I tried
Code: Select all
#pragma comment(lib, "Irrlicht.lib")
but end with some strange errors like :
Code: Select all
1>IrrPhysx.lib(IrrPhysx.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1>libcmt.lib(crt0dat.obj) : error LNK2005: __amsg_exit already defined in MSVCRTD.lib(MSVCR90D.dll)
1>libcmt.lib(crt0dat.obj) : error LNK2005: __initterm_e already defined in MSVCRTD.lib(MSVCR90D.dll)
SOLVED
I changed the C/C++ Generation Code method as it some one wrote some post before