Hey guys,
I cant figure this out. It says to do this:
"If your IDE is Visual Studio .NET, select Tools -> Options. Select the Projects entry and then select VC++ directories. Select 'show directories for include files' in the combo box, and add the \include directory of the Irrlicht Engine folder to the list of directories so the compiler will find the Irrlicht.h header file. We also need the irrlicht.lib to be found, so select 'show directories for Library files' and add the \lib\VisualStudio directory."
I do, but when I compile it give me an error about a .dll file. There is no dll file that it is trying to find. When I run the supplied code it runs, but when I write the exact same code with those settings it doesn't run.
Insights?
Library Help
dll files are not used during compilation. You'll only need the lib file to link against. The lib iles contains the information which methds are contained in a dll file. This way the compiler ensures that all methods will be available at run time. Upon execution the actual implementation of those methds are required, hence the dll file is required. You'll have to put the dll file either into the directory of the exe file, or your current path as specified by the PATH variable. windows\system32 is only one of those directories possible.
Ok, that solved it. But now there is a different error. "Debugger:: An unhandled non-continuable exception was thrown during process load"
This is the output. The weird thing is, is when I run the supplied file it works fine.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\IrrlichtEngine_HelloWorld\debug\IrrlichtEngine_HelloWorld.exe', Binary was not built with debug information.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\Irrlicht.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll', No symbols loaded.
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[9580] IrrlichtEngine_HelloWorld.exe: Native' has exited with code -1073741701 (0xc000007b).
This is the output. The weird thing is, is when I run the supplied file it works fine.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\IrrlichtEngine_HelloWorld\debug\IrrlichtEngine_HelloWorld.exe', Binary was not built with debug information.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\Irrlicht.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded.
'IrrlichtEngine_HelloWorld.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll', No symbols loaded.
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[9580] IrrlichtEngine_HelloWorld.exe: Native' has exited with code -1073741701 (0xc000007b).