Hi,
I am starting to work on the OpenSim Developers' guide to create an opensim model. I get an error when I try to build a solution on visual C++.
I have read your comment that it is a known bug, but I could not understand the workaround mentioned in the developers' forum.
I would really appreciate it, if you could please explain the solution for that error step by step.
Thank you,
Starting OpenSim Developers' Guide
- Ayman Habib
- Posts: 2255
- Joined: Fri Apr 01, 2005 12:24 pm
RE: Starting OpenSim Developers' Guide
Hi,
Can you please explain the specific error your getting or the comment you're referring to?
Thanks,
-Ayman
Can you please explain the specific error your getting or the comment you're referring to?
Thanks,
-Ayman
- Nashwa Elaraby
- Posts: 13
- Joined: Fri Apr 09, 2010 8:00 am
RE: Starting OpenSim Developers' Guide
This is the message I get on Visual C++,
1>------ Build started: Project: ZERO_CHECK, Configuration: RelWithDebInfo Win32 ------
1>Checking Build System
1>CMake does not need to re-run because CMakeFiles/generate.stamp is up-to-date.
1>Build log was saved at "file://c:\Program Files\OpenSim 2.0\sdk\APIExamples\ExampleMainSolution\ZERO_CHECK.dir\RelWithDebInfo\BuildLog.htm"
1>ZERO_CHECK - 0 error(s), 0 warning(s)
2>------ Build started: Project: Example Main, Configuration: RelWithDebInfo Win32 ------
2>Compiling...
2>TugOfWar1_CreateModel.cpp
2>Compiling manifest to resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Linking...
2>LINK : C:\Program Files\OpenSim 2.0\sdk\APIExamples\ExampleMainSolution\RelWithDebInfo\TugOfWar1_CreateModel.exe not found or not built by the last incremental link; performing full link
2>Embedding manifest...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Build log was saved at "file://c:\Program Files\OpenSim 2.0\sdk\APIExamples\ExampleMainSolution\TugOfWar1_CreateModel.dir\RelWithDebInfo\BuildLog.htm"
2>Example Main - 0 error(s), 0 warning(s)
========== Build: 2 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
But I get then a RegSvr32 error window saying:
To register a module you must provide a binary name.
1>------ Build started: Project: ZERO_CHECK, Configuration: RelWithDebInfo Win32 ------
1>Checking Build System
1>CMake does not need to re-run because CMakeFiles/generate.stamp is up-to-date.
1>Build log was saved at "file://c:\Program Files\OpenSim 2.0\sdk\APIExamples\ExampleMainSolution\ZERO_CHECK.dir\RelWithDebInfo\BuildLog.htm"
1>ZERO_CHECK - 0 error(s), 0 warning(s)
2>------ Build started: Project: Example Main, Configuration: RelWithDebInfo Win32 ------
2>Compiling...
2>TugOfWar1_CreateModel.cpp
2>Compiling manifest to resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Linking...
2>LINK : C:\Program Files\OpenSim 2.0\sdk\APIExamples\ExampleMainSolution\RelWithDebInfo\TugOfWar1_CreateModel.exe not found or not built by the last incremental link; performing full link
2>Embedding manifest...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Build log was saved at "file://c:\Program Files\OpenSim 2.0\sdk\APIExamples\ExampleMainSolution\TugOfWar1_CreateModel.dir\RelWithDebInfo\BuildLog.htm"
2>Example Main - 0 error(s), 0 warning(s)
========== Build: 2 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
But I get then a RegSvr32 error window saying:
To register a module you must provide a binary name.
- Maha Abbassi
- Posts: 16
- Joined: Mon May 17, 2010 5:40 am
RE: Starting OpenSim Developers' Guide
I got the same error when I started working on the developers guide, I replaced "RegSvr32" with the generated binary and it was fine then.
Did you try to run the binairies generated by the code in the build folder you specified (to make sure that there's something wrong with the binaries)?
-Maha
Did you try to run the binairies generated by the code in the build folder you specified (to make sure that there's something wrong with the binaries)?
-Maha
- Nashwa Elaraby
- Posts: 13
- Joined: Fri Apr 09, 2010 8:00 am
RE: Starting OpenSim Developers' Guide
I will try that. Thank you for your help.
- Andres Hernández
- Posts: 6
- Joined: Tue Apr 13, 2010 9:11 am
RE: Starting OpenSim Developers' Guide
¿Which are the binary files generated?
- Ayman Habib
- Posts: 2255
- Joined: Fri Apr 01, 2005 12:24 pm
RE: Starting OpenSim Developers' Guide
Andres,
This depends on how you set your project, ususally the name is the same as the .cpp file used to create it (e.g. TugOfWar1_CreateModel.exe).
Cheers,
-Ayman
This depends on how you set your project, ususally the name is the same as the .cpp file used to create it (e.g. TugOfWar1_CreateModel.exe).
Cheers,
-Ayman
- Andres Hernández
- Posts: 6
- Joined: Tue Apr 13, 2010 9:11 am
RE: Starting OpenSim Developers' Guide
thank you, it was really useful