
Can't find in dll
Can't find in dll
I don't get it, I have the dll in all the directories but it still can't find it.


In all directories meaning which?
It should be next to your .exe OR in the root directory of windows and registered. (not recommended)
This looks like an error you get when you have the build properties wrong.
which IDE is this msvc 8? 2005 express??
try in properties windows:console something or another you'll find it if you look. thats what it looks like to me.
EDIT: oh no wait... are you building in debug and using a release version dll?? try that.. forget what i said before it wouldn't compile that way.
It should be next to your .exe OR in the root directory of windows and registered. (not recommended)
This looks like an error you get when you have the build properties wrong.
which IDE is this msvc 8? 2005 express??
try in properties windows:console something or another you'll find it if you look. thats what it looks like to me.
EDIT: oh no wait... are you building in debug and using a release version dll?? try that.. forget what i said before it wouldn't compile that way.
Yup, I can compile all the examples. I started a blank project to see if I can compile a simple program, apperantly I have to do something to make it work. I also compied the dll and the libaray for all the directories.
Code: Select all
#include <windows.h>
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
#pragma comment(lib,"Irrlicht.lib")
int main()
{
/*
1) Create the device and pointer it.
*/
IrrlichtDevice * device = createDevice(video::EDT_OPENGL,dimension2d<int>(640,480),16,0,0,0,0,0);
/*
2)Set the window caption
*/
device->setWindowCaption(L"Blank Project Example");
/*
3)Simplify the use of the the driver, scene manager, and GUI interface.
*/
IVideoDriver* driver = device->getVideoDriver();
ISceneManager* scenman = device->getSceneManager();
IGUIEnvironment* guienv = device->getGUIEnvironment();
/*
4)Do stuff!
*/
guienv->addStaticText(L"Hello, World!",rect<int>(0,0,100,100),1,0,0,0,1);
scenman->addCameraSceneNode(0,vector3df(0,0,0),vector3df(10,10,0),0);
while(device->run())
{
driver->beginScene(1,1,SColor(255,0,10,200));
scenman->drawAll();
guienv->drawAll();
driver->endScene();
}
device->drop();
return 0;
}
