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 / An unresolved linker error in Basic3d.lib

Author
Message
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 5th Aug 2006 05:50


I'm getting this with the 2003 libraries Even a FORCEd link doesn't help.

Am I using the right DX9.0c for this, my version is (April 2006)

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Aug 2006 10:49
Its possible the June one will fix it

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 5th Aug 2006 16:22
Nope, I have the same error with the latest SDK

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 5th Aug 2006 17:25
Yeah, I concur. I've just installed June 2006 and the error is still there.

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Aug 2006 19:49
Sounds like the VS 2003 version is not as up to date as the VS 2005 one. Can you give some example code to make sure.

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 5th Aug 2006 19:55
Well, not really as this is the DGDK.NET stuff. And it built just fine on 1.1.1.

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Aug 2006 19:59 Edited at: 5th Aug 2006 20:00
Should be easy enough to convert back to C

Does make you wonder how much testing had been done, eh ?

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 5th Aug 2006 20:05
The sample from the helpfile will not compile on mine, thats in c++.



Gives me evil linker error : "basic3D.lib(DBOMesh.obj) : error LNK2019: unresolved external symbol _D3DXCleanMesh@24 referenced in function "bool __cdecl MakeLODMeshFromMesh(struct sMesh *,int,struct sMesh * *)" (?MakeLODMeshFromMesh@@YA_NPAUsMesh@@HPAPAU1@@Z)"

Why its giving me this rubbish I have no idea but im sure it Philberts fault.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 5th Aug 2006 20:09
Mike has suggested I reinstall Feb2005 DX. I'll let you know what happens

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 5th Aug 2006 20:27 Edited at: 5th Aug 2006 23:19
I get the same error as Mnemonix.

I have:
VS2005Pro
DxSDKJune06
directx8 files provided by APEXnow

in addition I have platformSDK installed, but the paths are all after VC8.

Other errors I get are due to already exported names by LIBCMT


I even had to edit winnt.h because of a POINTER_64 problem. omg? still...

Besides of that, VS2005 crashes twice a minute! I did some research and indeed it seems unstable. But on my machine it is horrendous... too bad I have student license and can't get the HotFix through support that is AVAILABLE! but only to those with a real license

OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Aug 2006 22:25
Quote: "Why its giving me this rubbish I have no idea but im sure it Philberts fault."

Thats what comes of using such an old compiler.

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 5th Aug 2006 23:09
Why you little...


Im using vs 2005 anyway

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Aug 2006 23:29
Whats your library order, Apex ?

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 5th Aug 2006 23:41 Edited at: 5th Aug 2006 23:42
I keep getting these linker errors, any ideas how to solve the libcmt problem (its debug mode, with release mode I only get the last DBO linker error)?



I have these include/library order:
1. directx8
2. directxSDK june 2006
3. DarkGDK 1.62 (clean install, with globstruct.h from dbp6.2b)
4. vc paths
5. vc platformSDK paths
6. platform SDK (because of quartz.lib)

Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 5th Aug 2006 23:49 Edited at: 5th Aug 2006 23:50
Thanks to Super Brick! I have managed to make my programs compile, but it wasn't easy. Nick suggested this revision of my library order and im pleased to say it works fine now





Btw. I don't have all of those libraries on my machine, this is Nicks list. I just changed the relevant libraries around

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !

Attachments

Login to view attachments
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 5th Aug 2006 23:50 Edited at: 5th Aug 2006 23:53
I just resolved the last linker error:

by changing the directx sdk order of 8 and 9:
1. directxSDK june 2006
2. directx8 files (from APEX)

edit:
release mode is compilable now.
for debug its only libcmt issue left! (@Mnemonix, could you solve that problem??)

OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Aug 2006 23:52
Dont know about libcmt

Are you using ATL ? Debug mode ?

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Barnski
18
Years of Service
User Offline
Joined: 26th Jan 2006
Location: Switzerland, Zurich
Posted: 5th Aug 2006 23:56 Edited at: 5th Aug 2006 23:57
Yes I want to make it compile in debug mode too.

The libcmt is the multithreaded (mt) variant of libc.

As with 2005 there is no singlethreaded version possible, its now libcmt instead of libc.

Before (with vs2003) I simply used a
#pragma comment (linker, "/NODEFAULTLIB:libc")
in the main cpp file to solve the problem.

I tried the same now but if I exclude it then I get alot more errors than with...

APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 6th Aug 2006 00:08
Mnem


Home of the Cartography Shop - DarkBASIC Professional map importer
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Aug 2006 00:37
Have you tried changing the run-time library ? Should be multi-threaded

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
malcolm
20
Years of Service
User Offline
Joined: 1st Mar 2004
Location:
Posted: 10th Aug 2006 10:48
my express is set to multi-threaded(/mt)
and works ok

Login to post a reply

Server time is: 2024-06-17 05:56:11
Your offset time is: 2024-06-17 05:56:11