University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

cmake error, SBAssetHandlerSkb.cpp missing | 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
cmake error, SBAssetHandlerSkb.cpp missing
April 14, 2014
2:15 am
Avatar
Member
Members
Forum Posts: 3
Member Since:
April 13, 2014
sp_UserOfflineSmall Offline

Hi, I try to compile SmartBody (SVN branche/sdk) on Archlinux, during cmake, I got this msg error :

CMake Error at src/SmartBody/CMakeLists.txt:527 (add_library):
Cannot find source file:

./sb/SBAssetHandlerSkb.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

 

I checked myself, I have nowhere a file SBAssetHandlerSkb.cpp

 

 

April 14, 2014
5:28 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

The sdk branch needs to be updated. I suggest the trunk/ branch instead, or download the latest SDK bundle for linux instead. Alternatively, you can just eliminate that line from the CMakeLists.txt, since that file is no longer used.

 

Ari

 

 

April 15, 2014
2:05 am
Avatar
Member
Members
Forum Posts: 3
Member Since:
April 13, 2014
sp_UserOfflineSmall Offline

ok, I downloaded the SDK bundle for linux. Now I have another error during the compilation time :

[  2%] Built target vhcl

[  2%] Built target vhmsg

[  4%] Built target wsp

[  4%] Built target bonebus

[ 10%] Built target steerlib

[ 10%] Built target pprAI

/bin/sh: protoc : command not found

src/SmartBody/CMakeFiles/protoctarget.dir/build.make:52: recipe for target 'src/SmartBody/CMakeFiles/protoctarget' failed

make[2]: *** [src/SmartBody/CMakeFiles/protoctarget] Error 127

CMakeFiles/Makefile2:459: recipe for target 'src/SmartBody/CMakeFiles/protoctarget.dir/all' failed

make[1]: *** [src/SmartBody/CMakeFiles/protoctarget.dir/all] Error 2

Makefile:116: recipe for target 'all' failed

make: *** [all] Error 2

 

I didn't read anything about that in the documentation. Also, I just want the linux smartbody lib+include to bind to my 3Dengine, I'm not using Ogre3D. I don't want all other stuffs. it's not clear for me why I need to have Ogre3D installed to pass cmake...

April 15, 2014
7:30 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

You don't need Ogre3D installed to build the library (you can just build the target SmartBody).There are some Ogre-related samples that are part of the basic build which you are running against.

If you want, you can comment them out of the CMakeLists.txt file.

 

The error that you are getting is from the Google Protocol Buffers libraries not being installed - SmartBody can use some binary formats for faster loading. Try :   apt-get install protobuf-compiler

 

Does this work?

April 16, 2014
12:16 am
Avatar
Member
Members
Forum Posts: 3
Member Since:
April 13, 2014
sp_UserOfflineSmall Offline

thx for answer,

on archlinux we don't have apt, but  pacman -S protobuf

unfortunately I haven't the time to compile smartbody, I hope to have the time thursday otherwise it will for friday. I will keep you aware

thx,

/nicoo

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