Re: [Vrmlengine-main] compiling issues
Game engine supporting many 3D/2D formats and graphic effects
Brought to you by:
kambi
From: <da...@la...> - 2009-01-18 07:50:31
|
On Sun, 18 Jan 2009, da...@la... wrote: > On Sun, 18 Jan 2009, da...@la... wrote: > >>> da...@la... wrote: >>> >>> What is the exact error message? Did the compilation went Ok? The normal >>> way to compile is to have view3dscene/ and kambi_vrml_game_engine/ >>> directories as siblings, then "cd view3dscene/" and "./compile.sh". >>> After this, you should be able to execute view3dscene like any other >>> program, by "./view3dscene". >> >> by the way, one other problem that I had was that it looks like one program >> depends on the results of the other program(s) not only being compiled, but >> being moved somewhere in the path. >> >> I ended up doing a svn checkout of everything and then doing >> find . -executable -type f |grep -v ".sh$"|while read file; do cp -p $file >> /usr/src/kambi/bin ;done >> to get copies of all the executables in one place. >> >> >> >>> What version of the sources (the ones from SVN, or the stable tar.gz >>> releases?), what version of FPC do you use? >> >> missed the question about fpc. >> >> #dpkg -l |grep fpc >> >> ii fpc 2.2.0-dfsg1-9ubuntu1 Free >> Pascal Compiler -- Meta Package > > I just noticed the note about a bug with the 64 bit stuff. given that I > compiled from SVN that should be working (even with fpc 2.2.0) > > I'm downloading a newer fpc and will try again with it. I did a make clean; make in the game engine directory, then I went to the view3dscene directory and did ./compile.sh the results are: root@dlang-laptop:/usr/src/kambi/view3dscene# ./compile.sh Compiling Release Version Compiling Release Version Warning: You are using the obsolete switch -OG Free Pascal Compiler version 2.2.2 [2008/07/29] for x86_64 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Linux for x86-64 Compiling ../view3dscene/view3dscene.pasprogram Compiling ./opengl/glwindow.pas Compiling ./opengl/glwinmodes.pas Compiling ./opengl/glwinmessages.pas Compiling ./opengl/glwinmodes.pas Compiling ../view3dscene/texturefilters.pas Compiling ../view3dscene/colormodulators.pas Compiling ../view3dscene/v3dscenelights.pas Compiling ../view3dscene/v3dscenefillmode.pas Compiling ../view3dscene/raytracetowindow.pas Compiling ../view3dscene/multinavigators.pas Compiling ../view3dscene/scenechangesunit.pas Compiling ../view3dscene/bgcolors.pas Compiling ../view3dscene/v3dscenecamera.pas Compiling ../view3dscene/v3dsceneconfig.pas Compiling ../view3dscene/v3dsceneblending.pas Compiling ../view3dscene/v3dscenewarnings.pas Compiling ../view3dscene/v3dsceneantialiasing.pas Compiling ../view3dscene/v3dscenescreenshot.pas Compiling ../view3dscene/v3dsceneoptimization.pas Compiling ../view3dscene/v3dsceneshadows.pas Linking ../view3dscene/view3dscene /usr/local/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD': gtk2.pas:(.text+0x104ed): undefined reference to `gtk_file_system_error_quark' /usr/local/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_INFO$$QWORD': gtk2.pas:(.text+0x10505): undefined reference to `gtk_file_info_get_type' /usr/local/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_SYSTEM$$QWORD': gtk2.pas:(.text+0x1051d): undefined reference to `gtk_file_system_get_type' /usr/local/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_FOLDER$$QWORD': gtk2.pas:(.text+0x105b5): undefined reference to `gtk_file_folder_get_type' Error: Error while linking Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/local/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled) root@dlang-laptop:/usr/src/kambi/view3dscene# |