Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: antalaz on November 28, 2009, 06:03:46 am
-
Hello , i build my freespace2 missions with wine on fedrora 11 linux and when i play my mission , the game crash with this error in console
Erreur de segmentation
** Fatal error : Error while running "/home/alex/jeu/fs2_open/fs2_open" with arguments " -mod open_fs -spec -glow -env -mipmap -nomotiondebris -missile_lighting -normal -3dshockwave -img2dds -no_vsync -cache_bitmaps -dualscanlines -targetinfo -orbradar -rearm_timer -ballistic_gauge -ship_choice_3d -weapon_choice_3d -3dwarp -warp_flash -snd_preload -fps " (139)
sorry ,i'm french
-
Did you build that engine build yourself?
Can you run a debug build (fs2_open_d or something), and then post the fs2_open.log from your ~/.fs2_open/data folder here?
-
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
Opened log '/home/alex/.fs2_open/data/fs2_open.log', Sun Nov 29 13:28:00 2009 ...
FreeSpace version: 3.6.10
Passed cmdline options:
<none>
Building file index...
Found root pack '/home/alex/jeu/fs2_open/3610_Patch.vp' with a checksum of 0x07e72699
Found root pack '/home/alex/jeu/fs2_open/MV_AbolishAnimGlows.vp' with a checksum of 0x86397f07
Found root pack '/home/alex/jeu/fs2_open/MV_Advanced.vp' with a checksum of 0x08a62d20
Found root pack '/home/alex/jeu/fs2_open/MV_Complete.vp' with a checksum of 0x31df7754
Found root pack '/home/alex/jeu/fs2_open/MV_Core.vp' with a checksum of 0x0a0213e0
Found root pack '/home/alex/jeu/fs2_open/MV_Effects.vp' with a checksum of 0xb2296226
Found root pack '/home/alex/jeu/fs2_open/mv_music.vp' with a checksum of 0xbbd92e16
Found root pack '/home/alex/jeu/fs2_open/Root_fs2.vp' with a checksum of 0x747372cc
Found root pack '/home/alex/jeu/fs2_open/smarty_fs2.vp' with a checksum of 0xddeb3b1e
Found root pack '/home/alex/jeu/fs2_open/sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack '/home/alex/jeu/fs2_open/sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack '/home/alex/jeu/fs2_open/stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack '/home/alex/jeu/fs2_open/tango1_fs2.vp' with a checksum of 0x4c25221e
Found root pack '/home/alex/jeu/fs2_open/tango2_fs2.vp' with a checksum of 0x86920b82
Found root pack '/home/alex/jeu/fs2_open/tango3_fs2.vp' with a checksum of 0x705e8d71
Found root pack '/home/alex/jeu/fs2_open/warble_fs2.vp' with a checksum of 0xd85c305d
Searching root '/home/alex/.fs2_open/' ... 6 files
Searching root '/home/alex/jeu/fs2_open/' ... 17 files
Searching root pack '/home/alex/jeu/fs2_open/3610_Patch.vp' ... 180 files
Searching root pack '/home/alex/jeu/fs2_open/MV_AbolishAnimGlows.vp' ... 70 files
Searching root pack '/home/alex/jeu/fs2_open/MV_Advanced.vp' ... 2610 files
Searching root pack '/home/alex/jeu/fs2_open/MV_Complete.vp' ... 5253 files
Searching root pack '/home/alex/jeu/fs2_open/MV_Core.vp' ... 139 files
Searching root pack '/home/alex/jeu/fs2_open/MV_Effects.vp' ... 1032 files
Searching root pack '/home/alex/jeu/fs2_open/mv_music.vp' ... 32 files
Searching root pack '/home/alex/jeu/fs2_open/Root_fs2.vp' ... 157 files
Searching root pack '/home/alex/jeu/fs2_open/smarty_fs2.vp' ... 10 files
Searching root pack '/home/alex/jeu/fs2_open/sparky_fs2.vp' ... 3027 files
Searching root pack '/home/alex/jeu/fs2_open/sparky_hi_fs2.vp' ... 1337 files
Searching root pack '/home/alex/jeu/fs2_open/stu_fs2.vp' ... 2355 files
Searching root pack '/home/alex/jeu/fs2_open/tango1_fs2.vp' ... 32 files
Searching root pack '/home/alex/jeu/fs2_open/tango2_fs2.vp' ... 15 files
Searching root pack '/home/alex/jeu/fs2_open/tango3_fs2.vp' ... 10 files
Searching root pack '/home/alex/jeu/fs2_open/warble_fs2.vp' ... 52 files
Found 18 roots and 16334 files.
AutoLang: Language auto-detection successful...
Setting language to English
TBM => Starting parse of 'mv_strings-lcl.tbm' ...
Initializing OpenAL...
OpenAL Vendor : OpenAL Community
OpenAL Renderer : OpenAL Soft
OpenAL Version : 1.1 ALSOFT 1.10.622
... OpenAL successfully initialized!
Failed to init speech
Initializing OpenGL graphics device at 1024x768 with 32-bit color...
Initializing SDL...
Requested SDL Video values = R: 8, G: 8, B: 8, depth: 24, double-buffer: 1
Actual SDL Video values = R: 8, G: 8, B: 8, depth: 24, double-buffer: 1
OpenGL Vendor : NVIDIA Corporation
OpenGL Renderer : GeForce 9600 GT/PCI/SSE2
OpenGL Version : 3.2.0 NVIDIA 190.42
Using extension "GL_EXT_fog_coord".
Using extension "GL_ARB_multitexture".
Using extension "GL_ARB_texture_env_add".
Using extension "GL_ARB_texture_compression".
Using extension "GL_EXT_texture_compression_s3tc".
Using extension "GL_EXT_texture_filter_anisotropic".
Using extension "GL_ARB_texture_env_combine".
Using extension "GL_EXT_compiled_vertex_array".
Using extension "GL_EXT_draw_range_elements".
Using extension "GL_ARB_texture_mirrored_repeat".
Using extension "GL_ARB_texture_non_power_of_two".
Using extension "GL_ARB_vertex_buffer_object".
Using extension "GL_ARB_pixel_buffer_object".
Using extension "GL_SGIS_generate_mipmap".
Using extension "GL_EXT_framebuffer_object".
Using extension "GL_ARB_texture_rectangle".
Using extension "GL_EXT_bgra".
Using extension "GL_ARB_texture_cube_map".
Using extension "GL_EXT_texture_lod_bias".
Using extension "GL_ARB_point_sprite".
Using extension "GL_ARB_shading_language_100".
Using extension "GL_ARB_shader_objects".
Using extension "GL_ARB_vertex_shader".
Using extension "GL_ARB_fragment_shader".
Using extension "GL_NV_vertex_program3".
Found special extension function "glXSwapIntervalSGI".
Compiling shader -> null-v.sdr / null-f.sdr ...
Compiling shader -> b-v.sdr / b-f.sdr ...
Compiling shader -> l-v.sdr / lb-f.sdr ...
Compiling shader -> lf-v.sdr / lfb-f.sdr ...
Compiling shader -> l-v.sdr / null-f.sdr ...
Max texture units: 4 (32)
Max elements vertices: 1048576
Max elements indices: 1048576
Max texture size: 8192x8192
Can use compressed textures: YES
Texture compression available: YES
Using trilinear texture filter.
Using GLSL for model rendering.
Shader Version: 1.50 NVIDIA via Cg compiler
... OpenGL init is complete!
Size of bitmap info = 705 KB
Size of bitmap extra info = 40 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Beginning ADE initialization
ADE: Initializing enumeration constants...
ADE: Assigning Lua session...
SCRIPTING: Beginning main hook parse sequence....
Wokka! Error opening file (scripting.tbl)!
TABLES: Unable to parse 'scripting.tbl'! Error code = 5.
TBM => Starting parse of 'velindc-sct.tbm' ...
SCRIPTING: Inititialization complete.
SCRIPTING: Splash screen overrides checked
SCRIPTING: Splash hook has been run
SCRIPTING: Splash screen conditional hook has been run
Using high memory settings...
Wokka! Error opening file (interface.tbl)!
WMCGUI: Unable to parse 'interface.tbl'! Error code = 5.
TBM => Starting parse of 'mv_effects-sdf.tbm' ...
TBM => Starting parse of 'mv_adveffects-sdf.tbm' ...
ANI 2_radar1 with size 209x170 (33.6% wasted)
No joysticks found
Current soundtrack set to -1 in event_music_reset_choices
TBM => Starting parse of 'mv_music-mus.tbm' ...
TBM => Starting parse of 'mv_advmuzzle-mfl.tbm' ...
Wokka! Error opening file (armor.tbl)!
TABLES: Unable to parse 'armor.tbl'! Error code = 5.
TBM => Starting parse of 'mv_effects-wxp.tbm' ...
TBM => Starting parse of 'mv_adveffects-wxp.tbm' ...
BMPMAN: Found EFF (exp20.eff) with 64 frames at 35 fps.
BMPMAN: Found EFF (ExpMissileHit1.eff) with 44 frames at 30 fps.
BMPMAN: Found EFF (exp05.eff) with 47 frames at 20 fps.
BMPMAN: Found EFF (exp06.eff) with 48 frames at 20 fps.
BMPMAN: Found EFF (exp04.eff) with 60 frames at 20 fps.
BMPMAN: Found EFF (Maxim_Impact.eff) with 23 frames at 30 fps.
ANI Lamprey_Impact with size 80x80 (37.5% wasted)
BMPMAN: Found EFF (Gmuzzle.eff) with 5 frames at 30 fps.
BMPMAN: Found EFF (PWmuzzle.eff) with 4 frames at 30 fps.
BMPMAN: Found EFF (Rmuzzle.eff) with 4 frames at 30 fps.
BMPMAN: Found EFF (Bmuzzle.eff) with 5 frames at 30 fps.
TBM => Starting parse of 'mv_tech-wep.tbm' ...
TBM => Starting parse of 'mv_models-wep.tbm' ...
TBM => Starting parse of 'mv_effects-wep.tbm' ...
TBM => Starting parse of 'mv_adveffects-wep.tbm' ...
TBM => Starting parse of 'mv_trails-shp.tbm' ...
TBM => Starting parse of 'mv_models-shp.tbm' ...
TBM => Starting parse of 'mv_dragon-shp.tbm' ...
TBM => Starting parse of 'mv_adveffects-shp.tbm' ...
TBM => Starting parse of 'mv_tech-shp.tbm' ...
TBM => Starting parse of 'mv_escort-hdg.tbm' ...
TBM => Starting parse of 'mv_effects-str.tbm' ...
loading animated cursor "cursor"
ANI cursor with size 24x24 (25.0% wasted)
Ships.tbl is : INVALID!!!!
Weapons.tbl is : INVALID!!!!
cfile_init() took 686
MVE: Buffer underun (First is normal)
Got event GS_EVENT_GAME_INIT (49) in state NOT A VALID STATE (0)
ANI cursor.ani with size 24x24 (25.0% wasted)
Got event GS_EVENT_MAIN_MENU (0) in state GS_STATE_INITIAL_PLAYER_SELECT (37)
Someone passed an extension to bm_load for file '242suicide.pcx'
ANI 2_mainwalk.ani with size 209x477 (6.8% wasted)
ANI 2_mainflyby.ani with size 509x189 (26.2% wasted)
ANI 2_maincrane.ani with size 192x116 (9.4% wasted)
ANI 2_mainexit.ani with size 319x174 (32.0% wasted)
ANI 2_mainbarracks.ani with size 273x158 (38.3% wasted)
ANI 2_mainreadyroom.ani with size 231x145 (43.4% wasted)
ANI 2_maintechroom.ani with size 69x119 (7.0% wasted)
ANI 2_mainoptions.ani with size 337x206 (19.5% wasted)
ANI 2_maincampaign.ani with size 308x190 (25.8% wasted)
ANI cursor.ani with size 24x24 (25.0% wasted)
Got event GS_EVENT_QUIT_GAME (5) in state GS_STATE_MAIN_MENU (1)
STUB: dscap_close in sound/ds.cpp at line 4378, thread 5456
Freeing all existing models...
... Log closed, Sun Nov 29 13:28:09 2009
-
Now, I don't know the cause of the error you are experiencing, but what I do know is that your install of FS2 is, as we say, ****ed. If you have installed the mediavps yourself, consider yourself shouted at for not reading and following the installation instructions.
Found root pack '/home/alex/jeu/fs2_open/3610_Patch.vp' with a checksum of 0x07e72699
Found root pack '/home/alex/jeu/fs2_open/MV_AbolishAnimGlows.vp' with a checksum of 0x86397f07
Found root pack '/home/alex/jeu/fs2_open/MV_Advanced.vp' with a checksum of 0x08a62d20
Found root pack '/home/alex/jeu/fs2_open/MV_Complete.vp' with a checksum of 0x31df7754
Found root pack '/home/alex/jeu/fs2_open/MV_Core.vp' with a checksum of 0x0a0213e0
Found root pack '/home/alex/jeu/fs2_open/MV_Effects.vp' with a checksum of 0xb2296226
Found root pack '/home/alex/jeu/fs2_open/mv_music.vp' with a checksum of 0xbbd92e16
Several notes here:
a) MV_Complete is no longer supported, and should be deleted.
b) the MediaVPs files should be in a separate directory. In your case, that would be /home/alex/jeu/fs2_open/mediavps
c) If you wish to use the mediavps, you need to do it via a -mod parameter, i.e. -mod mediavps
-
help me !!!!!!!!!!!!!!
please !!!! :( :( :( :( :( :( :( :(
-
I would, but I need you to define the problem. Judging by the log, everything went allright, you got in-game, and into the main menu before quitting.
So, does this work only with the debug build, but fails with the regular one?
Did you make the engine build yourself, or did you use one of the precompiled ones?
-
Answer your questions
- My builds and media vp come from hard light forum
- When I leave I'm at play
- And it does not work with either the debug or release
this is strange!
Is this my data folder where my missions are stored?
-
Look, from my POV, everything in the log indicates that it should be working. So, what is it that you do not see?
Is this my data folder where my missions are stored?
I have no idea what you are trying to say here. Also, please tell me if you have done the things I told you to do in this post: http://www.hard-light.net/forums/index.php?topic=66765.msg1318623#msg1318623
-
its no difference
-
Let me be as clear as I can be here:
WHAT EXACTLY is the error you are seeing?
Does the pilot select screen show up?
If it does, what happens when you are in the main menu and try to start a mission?
Can you play that mission?
Does this happen if you compile your own build, using this guide (http://www.hard-light.net/wiki/index.php/Guide_to_FS_Open_on_Linux)?
-
everything you quote me functioning normally but I have always this problem
is a segmentation fault as mentioned above
-
...
...
...
...
And does it still happen IF YOU COMPILE YOUR OWN EXECUTABLE?
-
StartUp Script ?????
-
...
No, I mean, get your own copy of the code, as explained here:
http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux/Acquiring_the_Code
Then perform the pre-compile optimization steps, as explained here:
http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux/Pre-Compile_Configuration
and here:
http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux/Optimization
Then compile your own executable, following these instructions:
http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux/Compiling
Remember to make both a regular AND a debug build; this may take some time.
Then copy that build to your FS2 directory, and use it instead of the provided one.
-
right but i have this error in the compilation
[alex@localhost fs2_open]$ make
Making all in libjpeg
make[1]: entrant dans le répertoire « /home/alex/fs2_open/libjpeg »
make[1]: Rien à faire pour « all ».
make[1]: quittant le répertoire « /home/alex/fs2_open/libjpeg »
Making all in lua
make[1]: entrant dans le répertoire « /home/alex/fs2_open/lua »
make[1]: Rien à faire pour « all ».
make[1]: quittant le répertoire « /home/alex/fs2_open/lua »
Making all in code
make[1]: entrant dans le répertoire « /home/alex/fs2_open/code »
if g++ -DPACKAGE_NAME=\"fs2_open\" -DPACKAGE_TARNAME=\"fs2_open\" -DPACKAGE_VERSION=\"3.6.11\" -DPACKAGE_STRING=\"fs2_open\ 3.6.11\" -DPACKAGE_BUGREPORT=\"\" -DNO_CD_CHECK=1 -DNDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSCP_UNIX=1 -DNO_DIRECT3D=1 -DUSE_OPENAL=1 -I. -I. -m64 -march=athlon64 -ansi -pedantic -DLUA_USE_LINUX -g -Os -Wall -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fsigned-char -Wno-unknown-pragmas -Wno-deprecated -Wno-char-subscripts -I../lua -MT gropengltexture.o -MD -MP -MF ".deps/gropengltexture.Tpo" \
-c -o gropengltexture.o `test -f 'graphics/gropengltexture.cpp' || echo './'`graphics/gropengltexture.cpp; \
then mv -f ".deps/gropengltexture.Tpo" ".deps/gropengltexture.Po"; \
else rm -f ".deps/gropengltexture.Tpo"; exit 1; \
fi
Dans le fichier inclus à partir de graphics/gropengltexture.cpp:17:
./globalincs/pstypes.h:218:27: attention : les macros anonymes à nombre variable d'arguments ont été introduites avec le C99
Dans le fichier inclus à partir de ./globalincs/pstypes.h:718,
à partir de graphics/gropengltexture.cpp:17:
./globalincs/safe_strings.h:67:19: attention : les macros anonymes à nombre variable d'arguments ont été introduites avec le C99
./globalincs/safe_strings.h:68:19: attention : les macros anonymes à nombre variable d'arguments ont été introduites avec le C99
graphics/gropengltexture.cpp: In function ‘void opengl_tcache_init()’:
graphics/gropengltexture.cpp:159: attention : deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:182: attention : deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp:182: attention : deprecated conversion from string constant to ‘char*’
graphics/gropengltexture.cpp: In function ‘int opengl_create_texture_sub(int, int, int, int, int, int, ubyte*, tcache_slot_opengl*, int, int, int)’:
graphics/gropengltexture.cpp:517: erreur: ‘PFNGLCOMPRESSEDTEXIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:517: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp:519: erreur: ‘PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:519: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp:543: erreur: ‘PFNGLCOMPRESSEDTEXIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:543: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp:545: erreur: ‘PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:545: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp:636: erreur: ‘PFNGLCOMPRESSEDTEXIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:636: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp:638: erreur: ‘PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:638: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp:662: erreur: ‘PFNGLCOMPRESSEDTEXIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:662: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp:664: erreur: ‘PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC’ was not declared in this scope
graphics/gropengltexture.cpp:664: erreur: expected ‘)’ before ‘GL_Functions’
graphics/gropengltexture.cpp: In function ‘int opengl_create_texture(int, int, tcache_slot_opengl*)’:
graphics/gropengltexture.cpp:916: attention : suggest parentheses around ‘&&’ within ‘||’
make[1]: *** [gropengltexture.o] Erreur 1
make[1]: quittant le répertoire « /home/alex/fs2_open/code »
make: *** [all-recursive] Erreur 1
please !! :( :( :( :( :(
please ! help me !!!!
-
I'd like to. I really would. But I know **** about (FSO on) Linux.
-
The problem, antalaz, is that your code checkout is broken somehow, or that the includes on your system don't support the functions FSO needs.
But you could try using a Linux Nightly build (http://www.hard-light.net/forums/index.php?board=173.0)....
-
All I can suggest is either be more descriptive with your problem, or come by the IRC channel for possibly some live support. There is even a french speaker or two in there sometimes. Check the IRC thread (http://www.hard-light.net/forums/index.php?topic=62431.0) for more info.
-
yep there are a few french speakers around , so if it comes down to it post in french ...and we will do our best to help... and as far as i remeber the guy who set up the ubuntu install thread is french...;
but then again im probably wrong
-
I'm French, but I don't know much about Linux, even less troubleshooting it.
Antalaz, try to explain us more clearly your problem. Shouting "please ! help me !!!!" does not really help if we don't have all the info to understand your problem. Help us help you. Take the time to describe your setup, and exactly how the problem occurs.
Antalaz, essaie de mieux nous expliquer ton problème. Ca ne sert à rien de dire "please ! help me !!!!" si on n'a pas toutes les infos pour comprendre ton problème. Aide nous à t'aider. Prend le temps de nous détailler ton installation, la façon exacte dont ton problème se produit etc.