University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Running the integration examples: ogresmartbody & irrlichtsmartbody | General SmartBody Discussion | Forum


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
Running the integration examples: ogresmartbody & irrlichtsmartbody
July 29, 2015
12:16 pm
Forum Posts: 11
Member Since:
July 29, 2015
sp_UserOfflineSmall Offline


I want to use SmartBody for a university project, but I can't run the supplied and compiled integration examples at <smartbody_root>/bin/.

both ogresmartbody .exe and irrlichtsmartbody.exe log: "Could not find Python script ''/''". From the code in main.cpp and ogresmartbody.cpp:

    // sets the media path, or root of all the data to be used
    // other paths will be relative to the media path
    m_pScene->setMediaPath(smartbodyRoot + "/data");
    m_pScene->addAssetPath("script", ".");
    // the file '' needs to be placed in the media path directory

it seems like the scripts are supposed to be in the <smartbody_root>/data/, but putting them there does not work. Any ideas on what am I doing wrong here?

Update: Changed:

m_pScene->setMediaPath(smartbodyRoot + "/data");


m_pScene->setMediaPath(smartbodyRoot + "/data/");

and compiled both examples again and it works with the scripts in the data folder.

July 29, 2015
7:55 pm
Forum Posts: 985
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Thanks for the fix,  I'll add it to the source for the next revision.



Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online:
110 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

jwwalker: 80

jyambao: 53

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 72

Members: 2025

Moderators: 1

Admins: 3

Forum Stats:

Groups: 1

Forums: 5

Topics: 525

Posts: 2471

Moderators: smbyadmin: 0