Author Topic: Required Packages for Crystal Space on linux  (Read 881 times)

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
Required Packages for Crystal Space on linux
« on: March 07, 2004, 11:43:38 am »
Someone can give me a list of all required package in order to use Crystal Space in OpenGL on a Debian GNU/Linux System ?

tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #1 on: March 07, 2004, 12:01:39 pm »
Just run configure and you will see what is missing.

http://crystal.sourceforge.net/docs/online/manual/cs_18.php#SEC25

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #2 on: March 07, 2004, 12:12:25 pm »
Is the cal3d packages are necessary (libcal3d and libcal3d-dev) ? Because, when i install them, i have an error in ./configure of CS. My problem is that crystal space test (./walktest) and planeshift are very slow in OpenGL (i lag a lot) and i want to know if it\'s because i haven\'t cal3d.

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #3 on: March 07, 2004, 12:14:53 pm »
I have this error when i have cal3d packages :
*-------------------------------------------------------------------------*
  Building Cal3D to Sprite3D converter
  Building for UNIX/GCC/X86 in optimize mode
*-------------------------------------------------------------------------*
g++-3.2 -c -o out/UNIX/X86/optimize/apps/import/caltocs/caltocs.o apps/import/caltocs/caltocs.cpp -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -fno-exceptions -mcpu=pentiumpro -march=i686 -I/usr/local/include  -O3 -fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins
apps/import/caltocs/caltocs.cpp: In function `int ExportSprite(const char*,
   float, float, CalCoreModel&, CalModel&)\':
apps/import/caltocs/caltocs.cpp:255: no matching function for call to `
   CalCoreTrack::getMapCoreKeyframe()\'
make[1]: *** [out/UNIX/X86/optimize/apps/import/caltocs/caltocs.o] Error 1
make: *** [caltocs] Error 2

elscouta

  • Hydlaa Notable
  • *
  • Posts: 897
    • View Profile
(No subject)
« Reply #4 on: March 07, 2004, 12:27:35 pm »
cal3d is not required for Molecular Blue. If you use cal3d, you must use cal3d CVS beacuse stable one is not enough recent

Use make -k all when you compile, so cal3d will be skipped.

It\'s normal that Planeshif lag. Walktest must run fine though
High Loremaster of the Arcane Order.

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #5 on: March 07, 2004, 12:30:45 pm »
It\'s normal that planeshift lag but not having 1 fps and crystal space mustn\'t lag, so i have a problem.

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #6 on: March 07, 2004, 12:40:41 pm »
when i do ./walktest, i have :
using GL_ARB_texture_env_combine
using GL_ARB_texture_env_dot3
not using GL_EXT_texture_env_combine
not using GL_EXT_texture_env_dot3

can you explain me that ? I hope it\'s coming from that because i have no errors so i can\'t understand why crystal space lag
« Last Edit: March 07, 2004, 12:41:31 pm by Torgalison »

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #7 on: March 07, 2004, 12:49:29 pm »
i think that means that you are building for a software renderer. It dosnt cause errors. in just guessing that EXT means external asin hardware

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #8 on: March 07, 2004, 01:20:56 pm »
You think that i build CS for software renderer or you think that i launch the walktest with software renderer ?
I\'m sure that i launch the test with OpenGL renderer. How can I build CS with OpenGL renderer ? I think that CS doesn\'t use my graphic card but i don\'t know why. I have the 3d acceleration because when i do glxgears, i have 1800 fps. Help me plz

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #9 on: March 07, 2004, 01:23:47 pm »
The result of CS ./configure :

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc-3.2
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-3.2 accepts -g... yes
checking for gcc-3.2 option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++-3.2 accepts -g... yes
checking for flex... flex
checking for bison... bison
checking for ranlib... ranlib
checking for swig... swig
checking for luaswig... no
checking for gnumake... no
checking for gmake... no
checking for make... make
checking whether make sets $(MAKE)... yes
checking how to create a directory... mkdir
checking how to create a directory tree... mkdir -p
checking for nasm... no
checking for makedep... no
checking for perl5... no
checking for perl... perl
checking for perl ExtUtils::Embed module... yes
checking for perl DynaLoader module... yes
checking for python... python
checking for Python SDK... yes
checking if Python SDK is usable... yes
checking how to enable compilation warnings... -Wall
checking how to treat warnings as errors... -Werror
checking how to disable unknown #pragma warnings... -Wno-unknown-pragmas
checking how to disable C++ exceptions... -fno-exceptions
checking if -multiply_defined suppress is needed... no
checking whether to use CPU-specific instructions... yes
checking for code generation flags... -mcpu=pentiumpro -march=i686
checking how to enable optimizations... -O3
checking if g++-3.2 recognizes -fomit-frame-pointer... -fomit-frame-pointer
checking if g++-3.2 recognizes -ffast-math... -ffast-math
checking how to enable compiler debug output... -g3
checking checking if -I/usr/local/include is usable... yes
checking for pow in -lm... yes
checking for dlopen in -ldl... yes
checking for gethostbyname in -lnsl... yes
checking for pthread... yes
checking for pthread recursive mutexes... PTHREAD_MUTEX_RECURSIVE
checking how to run the C preprocessor... cpp-3.2
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for libXxf86vm... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int32... no
checking for windows.h... no
checking for OpenGL... yes
checking for GLU... yes
checking for GLUT... yes
checking for GLX... yes
checking for GLX extensions... yes
checking for libz... yes
checking for libpng... yes
checking for libjpeg... yes
checking for libmng... yes
checking for libmikmod... yes
checking for libogg... yes
checking for libvorbis... yes
checking for libvorbisfile... yes
checking for lib3ds... yes
checking if lib3ds is sufficiently recent... yes
checking for libode... yes
checking if libode is sufficiently recent... yes
checking for OpenAL... yes
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType - version >= 2.0... yes
checking for libvga... no
checking for libcal3d... yes
checking if plugins require main()... yes
checking whether byte ordering is bigendian... no
checking for bool... yes
checking for stdint.h... (cached) yes
checking whether INT64_C works... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for winsock.h... no
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for socket support... yes
checking for socklen_t... yes
checking for C++ `explicit\' keyword... yes
checking for C++ new-style casts... yes
checking if g++-3.2 recognizes -fPIC... -fPIC
checking if qsqrt() compiles... no
checking if qint() functions correctly... no
checking whether to enable Linux joystick support... no
checking build mode... optimize
checking if building plugins... yes
checking if enforcing smart pointer strictness... yes
checking whether to use extensive memory debugger... no
checking for installation directory... /usr/local/crystal
checking whether to cache makefiles... yes
checking whether to auto-refresh cached makefiles... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing include/volatile.h commands
config.status: include/volatile.h is unchanged
config.status: executing config.mak commands
config.status: config.mak is unchanged
config.status: executing cache.mak commands
Refreshing makefile cache.

Torgalison

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #10 on: March 07, 2004, 01:32:20 pm »
I find an interesting thing (i think) but i need help :
when i make :
./walktest -video=opengl -fs -mode=640x480 -fov=0 -verbose
i have this error :
Using alternative 3D driver: crystalspace.graphics3d.opengl
Segmentation fault

When i don\'t put fov option, there is no problem. Is it normal ?