Jump to content

Problems with update-workspaces.sh


Recommended Posts

Hi, I ran "make" in the directory "trunk/libraries/fcollada/src". The problem is when I try run "update-workspaces.sh" in the directory "trunk/build/workspaces", I get a "premake not found". Well, looking in the "update-workspaces.sh" script I saw the premake must to be in "trunk/build/premake", but it is not there :).

What's wrong?, plese, help. I'm on Debian Lenny.

Another thing: I don't have the "premake" package, Where can I to find this for my Debian?.

Edit: The first "make" don't gives any error. The last lines out are:

cp output/libFColladaSD.a ../lib/libFColladaSD.a

cp output/libFColladaSR.a ../lib/libFColladaSR.a

Edited by ninio
Link to comment
Share on other sites

try this


cd trunk/build/premake/src/
make

cp bin/premake ../.

then try run the update-workspaces.sh

Done. Now I get: "** No Premake script found!"

Edit: Sorry!, I was beacuse I was using the update-workspaces.sh medified by me. I did restore the orignal and now It's works! :D

Thanks man!.

Edit 2:

New problem. Now I must to run "make -jx" where x is the numbers of CPU's, in my case 1. I make it, and I get the following error:

(...)

../../../source/scripting/ScriptableObject.h:37: error: ‘jsval’ does not name a type
../../../source/scripting/ScriptableObject.h:38: error: ‘JSContext’ has not been declared
../../../source/scripting/ScriptableObject.h:38: error: ‘jsval’ has not been declared
../../../source/scripting/ScriptableObject.h:47: error: expected identifier before ‘*’ token
../../../source/scripting/ScriptableObject.h:47: error: ‘JSContext’ has not been declared
../../../source/scripting/ScriptableObject.h:47: error: ISO C++ forbids declaration of ‘jsval’ with no type
../../../source/scripting/ScriptableObject.h:47: error: ‘jsval’ declared as function returning a function
../../../source/scripting/ScriptableObject.h:48: error: ‘JSContext’ has not been declared
../../../source/scripting/ScriptableObject.h:54: error: ‘JSContext’ has not been declared
../../../source/scripting/ScriptableObject.h:74: error: ‘jsval’ does not name a type
../../../source/scripting/ScriptableObject.h:78: error: ‘JSContext’ has not been declared
../../../source/scripting/ScriptableObject.h:78: error: ‘jsval’ has not been declared
../../../source/scripting/ScriptableObject.h:96: error: ‘jsval’ does not name a type
../../../source/scripting/ScriptableObject.h:100: error: ‘JSContext’ has not been declared
../../../source/scripting/ScriptableObject.h:100: error: ‘jsval’ has not been declared
../../../source/scripting/ScriptableObject.h:112: error: ‘GetFn’ in class ‘IJSObject’ does not name a type
../../../source/scripting/ScriptableObject.h:118: error: expected `)' before ‘Getter’
../../../source/network/NetMessage.cpp:1062: error: expected `}' at end of input
../../../source/network/NetMessage.cpp:1062: error: expected unqualified-id at end of input
make[1]: *** [obj/network_Debug/NetMessage.o] Error 1
make: *** [network] Error 2

Like if some header is no there :)

Edited by ninio
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...