Search the web
Sign In
New User? Sign Up
dancedev · DANCE software development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Successful VC9 build, but crash on Tutorial 6   Message List  
Reply | Forward Message #102 of 253 |
I've successfully compiled DANCE in VC9 (Visual C++ 2008).
Hereafter the troubles I had, and how I solved them.
But: last trouble is not solved yet :-(

1. Conversion of project: ok
* "Solution Items Folder is no longer supported" ... just removed

2. My Python version is 251.
* added c:\...\Python251\include in tools/options .. includes
* added c:\...\Python251\libs in tools/options .. library
* changed references to python libs into python25.lib

3. GLAux is known to be deprecated and obsolete.
* found OpenGL95.exe somewhere (can't remember where ...), e.g.:
**
''http://download.microsoft.com/download/win95upg/info/1/W95/EN-US/Opengl95.exe'\
'
** ''ftp://ftp.microsoft.com/softlib/MSLFILES/OPENGL95.EXE ''
** ...
* -> added c:\...\OpenGL95 in tools/options .. library

4. DANCE currently uses the 0.6 version of ODE, that in turn looks for
mvc*80d.dll
* -> problems loading ODESim.dll in debug version, as mvc*80d.dll were
not on my PC
* tried to compile ODE 8.0 and substitute oded.dll, but DANCE crashes
on some ASSERT
* --> so: copied ode.dll over oded.dll, so it can work anyway (no
debugging)

However, I see that several msvc*.dll are loaded in the same session.
*'C:\WINDOWS\system32\msvcrt.dll'
*'C:\WINDOWS\system32\msvcp71.dll'
*'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-w\
w_597c3456\msvcp90d.dll'
*'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_\
5cf844d2\msvcr80.dll'

-------------------
Now I'm having trouble on tutorial 6. I'm wondering if this could be
related with such a dll mess.

After loaded tutorial 6,I press 'play'. DANCE crashes on:

#define skel18uforce (*sduforce)
[...]
int skel18motfunc(double time, ....)
{
[...]
skel18uforce(time,state,&state[38]); <<< here

variable 'sduforce' indeed, is == 0x00

BTW, this function is never called:
DLLEXPORT void SdSetUserForce(void (*userforce)(double, double *,
double *))
{sduforce = userforce;}

Thanks for any advice.

Andrea




Sun Feb 24, 2008 1:02 am

ciapistess
Offline Offline
Send Email Send Email

Forward
Message #102 of 253 |
Expand Messages Author Sort by Date

I've successfully compiled DANCE in VC9 (Visual C++ 2008). Hereafter the troubles I had, and how I solved them. But: last trouble is not solved yet :-( 1....
ciapistess
Offline Send Email
Feb 24, 2008
1:02 am

Hi All, I've downloaded DANCE visual studio 2005 source code and it have compiled ok, but I've got the same problem as Andrea in tutorial 6. Any idea? Thanks a...
xavierllrod
Offline Send Email
Apr 9, 2008
2:06 pm

The crash can be fixed by changing the code in Sensor/Sensor.cpp at line 87 from: danceInterp::OutputMessage("Sensor '%s' has been enabled."); to ...
shapiroari
Offline Send Email
Apr 10, 2008
6:21 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help