Crystal Space
Welcome, Guest. Please login or register.
September 30, 2014, 01:05:42 pm

Login with username, password and session length
Search:     Advanced search
9020 Posts in 2053 Topics by 8555 Members
Latest Member: Lewisgrant
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  error compiling cel
« previous next »
Pages: [1] Print
Author Topic: error compiling cel  (Read 1548 times)
gabdab
Newbie
*
Posts: 15


View Profile
« on: March 06, 2006, 02:16:53 am »

I got an error doing jam in cel dir.
Code:
gabdab@debian:/home/plus/games/crystal/cel$ jam
...found 709 target(s)...
...updating 4 target(s)...
C++ ./out/linuxx86/optimize/plugins/behaviourlayer/xml/behave_xml.o
In file included from plugins/behaviourlayer/xml/behave_xml.cpp:44:
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h: In instantiation of `scfInterfaceTraits<iBillboardManager>':
/opt/Crystal_Space/CS/include/crystalspace/iutil/objreg.h:165:   instantiated from `csPtr<T> csQueryRegistry(iObjectRegistry*) [with Interface = iBillboardManager]'
plugins/behaviourlayer/xml/blxml.h:157:   instantiated from here
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:377: error: invalid
   use of undefined type `struct iBillboardManager'
plugins/behaviourlayer/xml/blxml.h:38: error: forward declaration of `struct
   iBillboardManager'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:383: error: invalid
   use of undefined type `struct iBillboardManager'
plugins/behaviourlayer/xml/blxml.h:38: error: forward declaration of `struct
   iBillboardManager'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h: In static
   member function `static const char* scfInterfaceTraits<Interface>::GetName()
   [with Interface = iBillboardManager]':
/opt/Crystal_Space/CS/include/crystalspace/iutil/objreg.h:165:   instantiated from `csPtr<T> csQueryRegistry(iObjectRegistry*) [with Interface = iBillboardManager]'
plugins/behaviourlayer/xml/blxml.h:157:   instantiated from here
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:417: error: invalid
   use of undefined type `struct iBillboardManager'
plugins/behaviourlayer/xml/blxml.h:38: error: forward declaration of `struct
   iBillboardManager'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:417: error: `
   <type error>' is not a class type
In file included from plugins/behaviourlayer/xml/behave_xml.h:30,
                 from plugins/behaviourlayer/xml/behave_xml.cpp:45:
include/tools/billboard.h: At global scope:
include/tools/billboard.h:362: error: redefinition of `class
   scfInterfaceTraits<iBillboardManager>'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:374: error: previous
   definition of `class scfInterfaceTraits<iBillboardManager>'
include/tools/billboard.h:362: warning: inline function `static scfInterfaceID&
   scfInterfaceTraits<iBillboardManager>::GetMyID()' used but never defined

    g++ -c -o ./out/linuxx86/optimize/plugins/behaviourlayer/xml/behave_xml.o -I. -I./include -I. -Wall -DPACKAGE_NAME=CEL -Wall -O3 -fPIC -I/opt/Crystal_Space/CS/include/crystalspace  plugins/behaviourlayer/xml/behave_xml.cpp

...failed C++ ./out/linuxx86/optimize/plugins/behaviourlayer/xml/behave_xml.o ...
C++ ./out/linuxx86/optimize/plugins/behaviourlayer/xml/blxml.o
In file included from plugins/behaviourlayer/xml/blxml.cpp:32:
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h: In instantiation of `scfInterfaceTraits<iBillboardManager>':
/opt/Crystal_Space/CS/include/crystalspace/iutil/objreg.h:165:   instantiated from `csPtr<T> csQueryRegistry(iObjectRegistry*) [with Interface = iBillboardManager]'
plugins/behaviourlayer/xml/blxml.h:157:   instantiated from here
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:377: error: invalid
   use of undefined type `struct iBillboardManager'
plugins/behaviourlayer/xml/blxml.h:38: error: forward declaration of `struct
   iBillboardManager'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:383: error: invalid
   use of undefined type `struct iBillboardManager'
plugins/behaviourlayer/xml/blxml.h:38: error: forward declaration of `struct
   iBillboardManager'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h: In static
   member function `static const char* scfInterfaceTraits<Interface>::GetName()
   [with Interface = iBillboardManager]':
/opt/Crystal_Space/CS/include/crystalspace/iutil/objreg.h:165:   instantiated from `csPtr<T> csQueryRegistry(iObjectRegistry*) [with Interface = iBillboardManager]'
plugins/behaviourlayer/xml/blxml.h:157:   instantiated from here
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:417: error: invalid
   use of undefined type `struct iBillboardManager'
plugins/behaviourlayer/xml/blxml.h:38: error: forward declaration of `struct
   iBillboardManager'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:417: error: `
   <type error>' is not a class type
In file included from plugins/behaviourlayer/xml/behave_xml.h:30,
                 from plugins/behaviourlayer/xml/blxml.cpp:33:
include/tools/billboard.h: At global scope:
include/tools/billboard.h:362: error: redefinition of `class
   scfInterfaceTraits<iBillboardManager>'
/opt/Crystal_Space/CS/include/crystalspace/csutil/scf_interface.h:374: error: previous
   definition of `class scfInterfaceTraits<iBillboardManager>'
include/tools/billboard.h:362: warning: inline function `static scfInterfaceID&
   scfInterfaceTraits<iBillboardManager>::GetMyID()' used but never defined

    g++ -c -o ./out/linuxx86/optimize/plugins/behaviourlayer/xml/blxml.o -I. -I./include -I. -Wall -DPACKAGE_NAME=CEL -Wall -O3 -fPIC -I/opt/Crystal_Space/CS/include/crystalspace  plugins/behaviourlayer/xml/blxml.cpp

...failed C++ ./out/linuxx86/optimize/plugins/behaviourlayer/xml/blxml.o ...
...skipped blxml.so for lack of <plugins!behaviourlayer!xml!>behave_xml.o...
CelConfigGen cel-config
...failed updating 2 target(s)...
...skipped 1 target(s)...
...updated 1 target(s)...
gabdab@debian:/home/plus/games/crystal/cel$
At least it didn't create blxml.so .
So trying to run start_smallgame.sh it reports:

ImportError: No module named cspace
Error running text 'import cspace'

crystalspace.pluginmgr.loadplugin:
  failed to initialize plugin 'cel.behaviourlayer.python'
crystalspace.application.bootstrap:  Couldn't load behaviour layer 'cel.behaviourlayer.python'!
start_smallgame.sh: line 14: 10644 Segmentation fault      ./bootstrap cel.behaviourlayer.python ${mydir}/scripts/smallgame/smallgame $*

Any hint ?

Thanks,
Gab-
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: March 06, 2006, 09:00:56 am »

What version of CS and CEL?

Greetings,
Logged
gabdab
Newbie
*
Posts: 15


View Profile
« Reply #2 on: March 06, 2006, 10:21:17 am »

Hi Jorrit thanks for replying.
CS and CEL version 0.99 from cvs.

I can run the pysimp app from Crystal Space if that matter.
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #3 on: March 06, 2006, 10:25:35 am »

Hi Jorrit thanks for replying.
CS and CEL version 0.99 from cvs.

I can run the pysimp app from Crystal Space if that matter.


Hmm CS and CEL compile fine for me on gentoo. Can you tell me exactly which date of CS/CEL that you are using? Also what compiler and the commands you used to get CS and CEL?

Greetings,
Logged
gabdab
Newbie
*
Posts: 15


View Profile
« Reply #4 on: March 06, 2006, 10:43:48 am »

I'll try grabbing and recompiling them from cvs .
I'll post again then.
As for cvs version , this is the cvs/Entries file for cel and CS , don0t know how to check version yet:
Code:

/.cvsignore/1.7/Wed Aug  4 23:25:28 2004//
/COPYING/1.1/Tue Mar 26 20:49:31 2002//
/Jamfile.in/1.29/Thu Jan 12 02:26:24 2006//
/Jamrules/1.10/Fri Feb 24 15:52:53 2006//
/README/1.13/Tue May  3 07:30:23 2005//
/autogen.sh/1.5/Wed May  5 10:35:54 2004//
/cel-config.template/1.6/Wed May 11 23:56:39 2005//
/cel.cex/1.3/Fri Feb 28 15:49:08 2003//
/configure/1.72/Mon Jan  9 14:42:42 2006//
/configure.ac/1.57/Sun Oct  2 22:50:30 2005//
/crystalspace_staticplugins_msvc.jam/1.2/Fri Feb 24 15:52:53 2006//
/jobber.cfg/1.7/Wed Jan 25 19:40:35 2006//
/snapshot.py/1.1/Tue May  3 07:30:24 2005//
/start_boulderdash.cmd/1.1/Fri Sep 10 13:58:03 2004/-kb/
/start_boulderdash.sh/1.3/Tue Dec  6 05:38:29 2005//
/start_smallgame.sh/1.2/Fri Jun 10 21:30:23 2005//
/vfs.cfg/1.9/Wed Mar  1 13:59:19 2006//
D/apps////
D/data////
D/docs////
D/include////
D/libs////
D/mk////
D/msvc////
D/plugins////
D/scripts////


This is cvs/Entries for CS:

/.cvsignore/1.25/Sat Jan 22 18:23:37 2005//
/INSTALL/1.4/Wed Jul  6 23:06:55 2005//
/Jamfile.in/1.46/Tue Jan 24 21:20:19 2006//
/Jamrules/1.46/Tue Apr 26 23:38:39 2005//
/LICENSE/1.1/Thu Mar 31 21:24:29 2005//
/README/1.2/Wed Jul  6 23:06:56 2005//
/configure/1.414/Fri Mar  3 01:34:48 2006//
/configure.ac/1.402/Fri Mar  3 01:34:49 2006//
/vfs.cfg/1.98/Sun Oct 16 08:53:25 2005//
D/apps////
D/bin////
D/data////
D/docs////
D/include////
D/libs////
D/mk////
D/plugins////
D/scripts////

Thanks,
Gab-
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.418 seconds with 15 queries.