error LNK2019: unresolved external symbol _dWorldDestroy referenced in function _main

58 views
Skip to first unread message

Mayank Barnawal

unread,
Jan 25, 2012, 12:51:00 AM1/25/12
to ode-users
Hi,

I am new to VC++ and ode. Everytime I try to build my program, it
shows several Linker errors. My ode folder is located at my Desktop. I
added the 'include' folder to the VC++ directories as:

Tools->Options->Projects and Solutions->VC++ Directories... include
files- "C:\Users\Mayank\Desktop\ode\include".

What else needs to be done in order to make it work?

Thanks,
Mayank

Danny Price

unread,
Jan 31, 2012, 9:09:09 AM1/31/12
to ode-...@googlegroups.com
You need to link the ODE static library to your executable. One way to do this in VC is to bring up the properties dialog for the project, go to Linker->Input and add 'ode.lib' (assuming it is in the builds directory).

This is really basic stuff though and there are better guides on google.


--
You received this message because you are subscribed to the Google Groups "ode-users" group.
To post to this group, send email to ode-...@googlegroups.com.
To unsubscribe from this group, send email to ode-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ode-users?hl=en.


Reply all
Reply to author
Forward
0 new messages