Visual Studio 2010 help for beginner

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.

Visual Studio 2010 help for beginner

Postby UserS3 » Sun Dec 18, 2011 2:12 pm

Hello,

I am trying to run the HelloWorld tutorial in Visual Studio 2010 but I have not been able to add the static library Irrlicht.lib correctly because my application asks for Irrlicht.dll. What am I doing wrong?
Image
UserS3
 
Posts: 1
Joined: Sun Dec 18, 2011 2:06 pm

Re: Visual Studio 2010 help for beginner

Postby Granyte » Sun Dec 18, 2011 2:26 pm

there was this line in the demo if you copied it then stop messing with other way of linking irrlicht it just give randoom results
cpp Code: Select all
#ifdef _MSC_VER
#pragma comment(lib, "Irrlicht.lib")
#endif


if you do have this line then you need to copy the irrlicht.dll file located in the binary file of the irrlicht sdk you downloaded into your aplication folder (in case this is your issue good luck irrlicht is gonna be painfull i started there 1 year ago...)
Granyte
 
Posts: 520
Joined: Tue Jan 25, 2011 11:07 pm

Re: Visual Studio 2010 help for beginner

Postby greenya » Sun Dec 18, 2011 4:49 pm

UserS3,
There are things: compiling and running. For compiling app that uses Irrlciht you need header files and lib file. Seems from your screen shot you have it OK. The second - running. You see this message because Irrlicht.dll is needed to be placed neer your executable file. So near your IrrlichtTest.exe should be placed Irrlicht.dll (in the same folder).
User avatar
greenya
 
Posts: 951
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Re: Visual Studio 2010 help for beginner

Postby ACE247 » Mon Dec 19, 2011 11:51 am

Wish you good luck UserS3! :)
It'll be a painfull start but learn and know your C++ and you'll get there.
H8L6L5M4G3H5M7N8S7N9O1R8J1P5M7N9O4P2Q5R6T7U4M3N8X6S5T8W (If you want the secret, why not 'TRY' decrypting it? )
This Door's lock doesn't need a key, the Lock is the key to open the Lock and you don't know how to turn the key...
Link: My Blog :)
User avatar
ACE247
 
Posts: 701
Joined: Tue Mar 16, 2010 12:31 am
Location: Namibia


Return to Beginners Help

Who is online

Users browsing this forum: No registered users and 1 guest