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 / Linker error when using Dark AI

Author
Message
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 9th Jun 2010 22:56


That is the error vc++ spits at me.. anyone got a solution?

btw; im using AndrewT's OOP wapper which seems to load SC..

Keep it simple.
Questions? Mail me
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 10th Jun 2010 12:02
Quote: "btw; im using AndrewT's OOP wapper which seems to load SC.."

That could be the problem. Try to rem the Sparky Collision lines of code and see if it works then.

Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 10th Jun 2010 16:51 Edited at: 10th Jun 2010 16:54
how do u "rem" things in C++? (pun intended)

gonna try to comment out the lines now.

edit: well, still the same error, great.. now I just have to wait like 2 more days before someone posts a possible solution!

But thanks for tryin' dude! Have a beer

Keep it simple.
Questions? Mail me
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 12th Jun 2010 16:33
no one else have any clue?.. Great!

Keep it simple.
Questions? Mail me
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 12th Jun 2010 17:24
You can force the linker to ignore the second definition but it may prove to be the wrong solution for you. Do this by adding linker option /FORCE:MULTIPLE on the linker's command line. Project->Properties->Configuration Properties->Linker->Command Line

That will change the errors to warnings and should let you move forward; however, if the two versions of the g_DeleteObject are in fact different, you may have problems...

Hope this helps,
JTK

Login to post a reply

Server time is: 2024-07-04 10:52:51
Your offset time is: 2024-07-04 10:52:51