University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

CMakeLists.txt for sbm-fltk | 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
CMakeLists.txt for sbm-fltk
June 21, 2012
6:18 pm
Avatar
Member
Members
Forum Posts: 80
Member Since:
June 13, 2012
sp_UserOfflineSmall Offline

In core/smartbody/sbm/CMakeLists.txt, which seems to be the one responsible for building sbm-fltk, there is a comment "these are the libraries necessary for osx, but disable it for now". Does that mean that sbm-fltk is not supposed to be built for OS X?

June 21, 2012
6:52 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

No, sbm-fltk is meant to be used for all platforms, including OSx. That comment is related to mixing the Ogre3D engine with sbm-fltk.

Because you and others had occasionally complained of rendering problems or slowness on OSx related to rendering, we tried to see if we could solve that problem with Ogre.
We then managed to integrate Ogre into the sbm-fltk application; Ogre does the model, deformable geometry and shadow rendering, and we still render some custom OpenGL for debugging information. We have this working on Windows and Linux (there's a USE_OGRE_VIEWER #define in RootWindow.h) , but were having trouble getting it to work on OSx because of the widget library (FLTK). Apparently, the FLTK 1.3 codebase mixes the new style API (cocoa) with the old-style API(carbon).This causes a problem when using Ogre, which expects cocoa. So for now, we've disabled the mixed use of Ogre and FLTK on OSx.

Of course, you can still use the OgreViewer on OSx, which is a pure-Ogre implementation that doesn't use FLTK, but it doesn't include the tools that you get with sbm-fltk.

Ari

June 21, 2012
7:35 pm
Avatar
Member
Members
Forum Posts: 80
Member Since:
June 13, 2012
sp_UserOfflineSmall Offline

OK. The reason I asked is that I was getting link errors when trying to build sbm-fltk. Some of the link errors were because of the lack of the Cocoa framework, one of the items that was commented out in CMakeLists.txt. It also wants to link with apr and apr-util.

December 12, 2014
4:38 pm
Avatar
New Member
Members
Forum Posts: 1
Member Since:
December 12, 2014
sp_UserOfflineSmall Offline

Also getting link errors when trying to build. http://www.xportmedia.co.uk

December 12, 2014
6:44 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Are you trying to build on OSX? I am about to release an OSX SDK with binaries (hopefully today).

 

Ari

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: jiangringgaard7, groth23rowland, mcclain06kearney, bugge59mackinnon, williamson15mogensen, raskrask1, JosephRoper17, heavenlyliar6390
96 Guest(s)

Currently Browsing this Page:
1 Guest(s)

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: 122211

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 531

Posts: 2495