I've followed the visual studio setup tutorial at http://irrlicht.sourceforge.net/docu/example001.html. I'm using visual studio 2015 community edition.
1. I've added the include folder to 'Include directories'.
2. I've added lib\Win32-visualstudio to 'Library directories'
When I tried building I was getting 'The program can't start because Irrlicht.dll is missing from your computer. Try reinstalling the program to fix this problem'.
I figured that the visual studio can't find the .dll so I:
- Added the <irrlicht-home>/bin/Win32-visualstudio directory to Library directories
- Added Irrlicht.dll to Linker -> Input -> Additional Dependencies
Now I'm getting:
LNK1107 invalid or corrupt file: cannot read at 0x2C0; File: Irrlicht.dll
My run configuration is Debug x86. Should I even be able to compile using 32bit lib/dll?
Thanks in advance
Using Irrlicht.lib 32bit on windows7 64bit
-
- Competition winner
- Posts: 523
- Joined: Tue Jan 15, 2013 6:36 pm
Re: Using Irrlicht.lib 32bit on windows7 64bit
That's strange seems like corrupt memory or something, I'm using win 7 pro 64bit and the compiled 32 or 64 bit projects work fine for me.
Re: Using Irrlicht.lib 32bit on windows7 64bit
Start with the example project files coming with Irrlicht. Latest are VS2013, but VS should update them automatically.
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
-
- Posts: 2
- Joined: Thu Sep 24, 2015 7:25 pm
Re: Using Irrlicht.lib 32bit on windows7 64bit
Oh, I didn't know that examples are included. Thanks. They build just fine. The only thing needed to get em working is: Right click on project -> Configuration Properties -> General -> Platform Toolset -> <Your Visual Studio Version>CuteAlien wrote:Start with the example project files coming with Irrlicht. Latest are VS2013, but VS should update them automatically.
Re: Using Irrlicht.lib 32bit on windows7 64bit
Yeah, that or install Windows7.1 SDK, that can be used with all VS versions. One of those things where I have no really good solution for - either Irrlicht.dll doesn't work with different VS versions or people have to install the Windows7.1 SDK.
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
Re: Using Irrlicht.lib 32bit on windows7 64bit
the only thing you have to do is to undo the bin thing you've done and go to properties -> general -> output directory and there, put the bin->Win32 (or whatever it is) directory
it's something that should be posted on the tutorials
it's something that should be posted on the tutorials