University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

DLL hell; how to build SB sources from sources for Windows? | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
DLL hell; how to build SB sources from sources for Windows?
August 5, 2014
4:22 pm
Avatar
Paris, France
Member
Members
Forum Posts: 23
Member Since:
August 5, 2014
sp_UserOfflineSmall Offline

Hi,

I tried to use SmarBody as a DLL that I found in the archive 'SmartBody-r5615-windows.exe' on Sourceforge.

I built and linked successfully my source code but I encountered immediately crashes. When debugging I found out that std::string contains garbage. I have concluded that I need to rebuild SmartBody with Visual 2012 for compatibility.

And here more problems...

VHCL, VHMSG, BoneBus and so on cannot be linked because '_MSC_VER' is 1600 whilst 1700 is expected.

I guess that I need to rebuild these libraries however I cannot access SVN repository https://svn.ict.usc.edu/svn_vh/trunk/tools/launcher because it is forbidden.

Is there a build of SB with VS 2012 somewhere and is source code of all the libraries available?

Thx,
Laurent.

August 5, 2014
6:27 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

I haven't built SmartBody on Visual Studio 2012 yet, the builds are only on VS2010.

 

You should be able to download the entire SmartBody repository here from sourceforge.net/projects/smartbody:

svn checkout svn://svn.code.sf.net/p/smartbody/code/trunk smartbody-code

All the code for vhmsg, vhcl and bonebus is in there.

 

Where are you seeing a restricted access to https://svn.ict.usc.edu/svn_vh/trunk/tools/launcher?

 

Ari

August 5, 2014
8:04 pm
Avatar
Paris, France
Member
Members
Forum Posts: 23
Member Since:
August 5, 2014
sp_UserOfflineSmall Offline

Ari Shapiro said
I haven't built SmartBody on Visual Studio 2012 yet, the builds are only on VS2010.

 

You should be able to download the entire SmartBody repository here from sourceforge.net/projects/smartbody:

svn checkout svn://svn.code.sf.net/p/smartbody/code/trunk smartbody-code

All the code for vhmsg, vhcl and bonebus is in there.

 

OK, so I'll have a look on this. Thank you.

 

Where are you seeing a restricted access to https://svn.ict.usc.edu/svn_vh/trunk/tools/launcher?

 

Ari

At https://svn.ict.usc.edu/svn_vh/trunk/tools/launcher, I always get the message : "You don't have permission to access /svn_vh/trunk/tools/launcher on this server."

Are IP addresses checked?

August 5, 2014
9:42 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

The svn_vh repository is for internal use only. Do you know which part of the code is referring to svn_vh?

Ari

August 6, 2014
1:55 pm
Avatar
Paris, France
Member
Members
Forum Posts: 23
Member Since:
August 5, 2014
sp_UserOfflineSmall Offline

Ari Shapiro said
The svn_vh repository is for internal use only. Do you know which part of the code is referring to svn_vh?

Ari

I found a reference there: https://confluence.ict.usc.edu/display/VHTK/VHCL.

August 6, 2014
3:36 pm
Avatar
Paris, France
Member
Members
Forum Posts: 23
Member Since:
August 5, 2014
sp_UserOfflineSmall Offline

In /core/smartbody/SmartBody/src/external, there are several libraries and I can't link to protobuf (because of '_MSC_VER')...

Ari, how do you usually build SmartBody with Visual? (i.e. how do you manage external libraries?)

August 7, 2014
1:13 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

I see. That documentation is for the Virtual Human Toolkit, which uses SmartBody as a component.

You can download SmartBody on its own from the SourceForge respository, and it comes with a Visual Studio 2010 solution file that should build without errors, as well as the vhcl and vhmsg libraries. I would use the SVN sources, since they contain most everything that you would need.

The external libraries are usually updated with each version of Visual Studio.

 

Ari

Forum Timezone: America/Los_Angeles

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 69

Members: 122101

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 531

Posts: 2495