Google Groups Home
Help | Sign in
Linker Error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
deltawing  
View profile
 More options Mar 23, 2:28 pm
From: deltawing <deltawi...@hotmail.com>
Date: Sun, 23 Mar 2008 11:28:05 -0700 (PDT)
Local: Sun, Mar 23 2008 2:28 pm
Subject: Linker Error
I am trying to install ODE but I keep get this error:

ode.lib(convex.obj) : error LNK2019: unresolved external symbol
"public: void __thiscall std::_String_base::_Xran(void)const " (?
_Xran@_String_base@std@@QBEXXZ) referenced in function "public: class
std::basic_string<char,struct

Anybody know what the problem is? I spent 4 hours trying to find
out ... no luck.

I'm using Visual C++ Express 2008

Thanks in advance!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodrigo Hernandez  
View profile
 More options Mar 23, 2:49 pm
From: Rodrigo Hernandez <kwiz...@aeongames.com>
Date: Sun, 23 Mar 2008 12:49:10 -0600
Local: Sun, Mar 23 2008 2:49 pm
Subject: Re: [ode-users] Linker Error

Which version are you using? seems like STL is not being added to the
link libraries, though I don't think convex.cpp references std::string
at all, so thats odd, I don't think it ever did, but it could had in the
past.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
colmsloan@gmail.com  
View profile
 More options Mar 23, 10:25 pm
From: "colmsl...@gmail.com" <colmsl...@gmail.com>
Date: Sun, 23 Mar 2008 19:25:08 -0700 (PDT)
Local: Sun, Mar 23 2008 10:25 pm
Subject: Re: Linker Error
    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deltawing  
View profile
 More options Mar 24, 5:12 am
From: deltawing <deltawi...@hotmail.com>
Date: Mon, 24 Mar 2008 02:12:03 -0700 (PDT)
Local: Mon, Mar 24 2008 5:12 am
Subject: Re: Linker Error
Thanks for the replies, but it still doesn't work :-(

I'm using ODE 0.9 binary. I also tried building 0.9 myself but I got
the same error messages. Does 0.9 have any issues with Visual C++ 2008
Express?

On Mar 24, 1:25 pm, "colmsl...@gmail.com" <colmsl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deltawing  
View profile
 More options Mar 24, 5:22 am
From: deltawing <deltawi...@hotmail.com>
Date: Mon, 24 Mar 2008 02:22:09 -0700 (PDT)
Local: Mon, Mar 24 2008 5:22 am
Subject: Re: Linker Error
Thanks for the replies, but it still doesn't work :-(

I'm using ODE 0.9 binary. I also tried building 0.9 myself but I got
the same error messages. Does 0.9 have any issues with Visual C++ 2008
Express?

On Mar 24, 1:25 pm, "colmsl...@gmail.com" <colmsl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deltawing  
View profile
 More options Mar 24, 5:38 am
From: deltawing <deltawi...@hotmail.com>
Date: Mon, 24 Mar 2008 02:38:35 -0700 (PDT)
Local: Mon, Mar 24 2008 5:38 am
Subject: Re: Linker Error
Thanks for the replies, but it still doesn't work :-(

I'm using ODE 0.9 binary. I also tried building 0.9 myself but I got
the same error messages. Does 0.9 have any issues with Visual C++ 2008
Express?

On Mar 24, 1:25 pm, "colmsl...@gmail.com" <colmsl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Sellers  
View profile
 More options Mar 24, 5:51 am
From: Bill Sellers <w...@mac.com>
Date: Mon, 24 Mar 2008 09:51:59 +0000
Local: Mon, Mar 24 2008 5:51 am
Subject: Re: [ode-users] Re: Linker Error
I have to say that my approach to using ODE in any serious project is  
to dump the sources into a folder in my IDE (in my case xcode but I'm  
sure it wouldn't matter) and treat it as part of the project. It's  
such a small library and IDE's always have smart compilation and  
linkage that I don't see any noticeable performance hit and the real  
plus is that I can step through the ODE code with the debugger, and I  
can easily search the ODE sources. This is absolutely the best  
documentation (educational too!) and it means that I can change  
compilation options easily - and in my case I switch to Intel  
compilers for the final build too. The only issue is getting the  
right config.h but it's not too tricky.

Cheers
Bill

On 24 Mar 2008, at 09:22, deltawing wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Grundgeiger  
View profile
 More options Mar 24, 11:06 am
From: Dave Grundgeiger <dave.grundgei...@codenouveau.com>
Date: Mon, 24 Mar 2008 10:06:31 -0500
Local: Mon, Mar 24 2008 11:06 am
Subject: Re: [ode-users] Re: Linker Error
deltawing wrote:
> Thanks for the replies, but it still doesn't work :-(

> I'm using ODE 0.9 binary. I also tried building 0.9 myself but I got
> the same error messages.

Do I understand correctly that the linker problem occurs when you're
trying to use one of the prepackaged lib files from your own client
project? Am I also correct that 0.9 builds successfully for you with
VC++ 2008 Express, but then when you try to use the resulting lib file
in your project, you get the linker error?

If that's correct, it sounds like your project is using a different
version of the runtime library than the ODE project is using. See if
this helps: Go to the project properties dialog; expand "Configuration
Properties", then "C/C++", and then choose "Code Generation". In the
right-hand pane, set "Runtime Library" to "Multi-threaded Debug DLL (/MDd)".

Let us know whether there's any improvement or whether your project was
already set this way.

> Does 0.9 have any issues with Visual C++ 2008
> Express?

I just now grabbed the SVN head and built ODE and the demos in VC++ 2008
Express, and then ran the box stack demo, which ran fine.

Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Grundgeiger  
View profile
 More options Mar 24, 11:18 am
From: Dave Grundgeiger <dave.grundgei...@codenouveau.com>
Date: Mon, 24 Mar 2008 10:18:18 -0500
Local: Mon, Mar 24 2008 11:18 am
Subject: Re: [ode-users] Re: Linker Error

Dave Grundgeiger wrote:
> I just now grabbed the SVN head and built ODE and the demos in VC++ 2008
> Express, and then ran the box stack demo, which ran fine.

I just did the same with the 0.9 release, and all was fine.

Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Grundgeiger  
View profile
 More options Mar 24, 11:25 am
From: Dave Grundgeiger <dave.grundgei...@codenouveau.com>
Date: Mon, 24 Mar 2008 10:25:49 -0500
Local: Mon, Mar 24 2008 11:25 am
Subject: Re: [ode-users] Re: Linker Error
Bill Sellers wrote:
> I have to say that my approach to using ODE in any serious project is  
> to dump the sources into a folder in my IDE (in my case xcode but I'm  
> sure it wouldn't matter) and treat it as part of the project. It's  
> such a small library and IDE's always have smart compilation and  
> linkage that I don't see any noticeable performance hit and the real  
> plus is that I can step through the ODE code with the debugger,

If the lib was built in debug configuration and the source is available,
then VS can step through the source without it being part of the client
project. This is probably an option for other environments too, but I
don't know.

>  and I  
> can easily search the ODE sources.

I usually keep the ODE project open in another window for that. I just
prefer to keep things separate.

Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google