Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / installing on VC++ 2010

Author
Message
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 20th Apr 2010 13:26
i have installed everything succesfully and added the dgdk folders to the include paths, but when i try to compile, i get these errors:



any ideas?

tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 20th Apr 2010 16:08
bump because this is urgent

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 20th Apr 2010 20:43 Edited at: 20th Apr 2010 20:45
Copy 'rpcsal.h' from 'c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h' to your directx installation's include folder. (Probably 'C:\Program Files\Microsoft DirectX SDK (August 2007)\Include')

(Make a backup of the existing rpcsal.h in that folder if you want)

Then make sure you add '#include "windows.h"' BEFORE you include the DarkGDK header

That will fix the problem.


BTW, your signature is WAY too large.

tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 21st Apr 2010 01:10
When I do that, I get these linker errors:



Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 21st Apr 2010 03:08
Change the project settings to use the non-debug version of the runtime library.

(Project properties -> C++ -> Code Generation -> Runtime library)

Use whatever the currect option is but without the 'Debug' part.

tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 21st Apr 2010 07:56 Edited at: 21st Apr 2010 07:58
i changed it from multi threaded debug to multi threaded and it still gave me the same errors

im on windows vista btw
Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 21st Apr 2010 09:06
if your on vista that probably a problem. have you tried googling it on the net?

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 21st Apr 2010 09:34
googling what? i've googled the error, if that's what you mean and all of the results i looked at were the same as this post:
Quote: "
Copy 'rpcsal.h' from 'c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h' to your directx installation's include folder. (Probably 'C:\Program Files\Microsoft DirectX SDK (August 2007)\Include')

(Make a backup of the existing rpcsal.h in that folder if you want)

Then make sure you add '#include "windows.h"' BEFORE you include the DarkGDK header

That will fix the problem.


BTW, your signature is WAY too large."
Bran flakes91093
15
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 21st Apr 2010 21:44 Edited at: 22nd Apr 2010 22:14
Here is a solution that worked for me.

Also remember to ignore these specific libraries:
libcmt
msvcrt
atls
libcp

EDIT: This worked before, but I just tried it again and it gives me a linker error for "void __cdecl std::_Xlength_error(char const *)"

Oh well.

"A computer once beat me at chess, but it was no match for me at kick boxing."
Emo Philips
tomtetlaw
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 22nd Apr 2010 08:58
i got the same error.. meh i guess i'll just use the irrlicht engine

Login to post a reply

Server time is: 2024-07-07 01:12:09
Your offset time is: 2024-07-07 01:12:09