Visual C++ quick question...
Visual C++ quick question...
When directing Microsoft Visual C++ to include Irrlict.dll in its directory structure, between the two Irrlict dll I am trying to link the one ...\bin\win32-gcc\win32-visualstudios\
However, in Tools->options->Projects and Solutions->VC ++ Directories I am stumped in wich directory type to associate it to since the only dll files on my comp is Irrlicht...
I have already tried 'include files' and it still says the dll was not found.
Thanks in advanced...
However, in Tools->options->Projects and Solutions->VC ++ Directories I am stumped in wich directory type to associate it to since the only dll files on my comp is Irrlicht...
I have already tried 'include files' and it still says the dll was not found.
Thanks in advanced...
code happens
Check the MSDN docs: http://msdn.microsoft.com/en-us/library ... 80%29.aspx
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Uh, help the guy?
It's been a long time since I last booted into Windows, but I would guess you need to either change your output dir so it saves to the directory containing irrlicht.dll, or copy irrlicht.dll to wherever your exe is built. If that doesn't work then it could be your working directory.
It's been a long time since I last booted into Windows, but I would guess you need to either change your output dir so it saves to the directory containing irrlicht.dll, or copy irrlicht.dll to wherever your exe is built. If that doesn't work then it could be your working directory.
adding to that,bitplane wrote:Uh, help the guy?
It's been a long time since I last booted into Windows, but I would guess you need to either change your output dir so it saves to the directory containing irrlicht.dll, or copy irrlicht.dll to wherever your exe is built. If that doesn't work then it could be your working directory.
generally your current working directory will be the directory where your vcproj/sln file resides. copy the dll there and it should run fine.
I suppose you get this error when starting to run the application, right?
I do generally set the working directory to the output directory and make sure to copy the Irrlicht dll automatically beside the .exe in the post-build step. In c::b I do that with:
cmd /c xcopy ..\libs\irrlicht\bin\Win32-gcc\Irrlicht.dll .. /D /Y
What it does is that it copies the .dll only when it's date has changed.
But in VS it will be slightly different (probably without cmd /c and certainly not with Win32-gcc version and maybe with another target folder).
Also as general info: "include files" are only for headers.
I do generally set the working directory to the output directory and make sure to copy the Irrlicht dll automatically beside the .exe in the post-build step. In c::b I do that with:
cmd /c xcopy ..\libs\irrlicht\bin\Win32-gcc\Irrlicht.dll .. /D /Y
What it does is that it copies the .dll only when it's date has changed.
But in VS it will be slightly different (probably without cmd /c and certainly not with Win32-gcc version and maybe with another target folder).
Also as general info: "include files" are only for headers.
Last edited by CuteAlien on Wed Jan 19, 2011 5:13 pm, edited 1 time in total.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I'd have expected that dlls found in the 'binaries directories' of the MSVC setup would also be available. What would these directories be else good for? But it does not seem to work. At least I did not find a proper setup for the ogl-es branch, where I have the egl and ogl-es dlls in some configurable directory. For now I also copied them over to the Irrlicht bin directory, but that is not a real option for me. So any other suggestion is welcome.
but I would guess you need to either change your output dir so it saves to the directory containing irrlicht.dll, or copy irrlicht.dll to wherever your exe is built. If that doesn't work then it could be your working directory.
As it turned out the the directory where my .exe is built to is my debug folder... and what do you know... it worked fine.
The biggist problem I can see with this is I can only work on 1 irrlicht project at a time if I am restricted to leaving that dll file in that one directory at that time.
Perhaps on the next tutorial update you can add that info in.
Thank you again
As it turned out the the directory where my .exe is built to is my debug folder... and what do you know... it worked fine.
The biggist problem I can see with this is I can only work on 1 irrlicht project at a time if I am restricted to leaving that dll file in that one directory at that time.
Perhaps on the next tutorial update you can add that info in.
Thank you again
code happens
No you can work on as many irrlicht projects as you want at a time. Simply use a seperate DLL for all projectsGrumpy wrote:The biggist problem I can see with this is I can only work on 1 irrlicht project at a time if I am restricted to leaving that dll file in that one directory at that time.
That's nothing irrlicht specific. You always need to have every dll somewhere in the system's DLL search folders if an executable refers to them.Grumpy wrote:Perhaps on the next tutorial update you can add that info in.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.