Wings3d (version 0.98.09) cannot be launched on GNU/Linux due
to a strange error on sdl:
$ echo $ESDL_PATH
/Programs/ESDL/Current/lib/esdl
$ ls /Programs/ESDL/Current/lib/esdl
Readme Readme.MacOSX-Cocoa c_src doc ebin include
license.terms priv src vsn
$ erl -pa $ESDL_PATH/ebin /Programs/Wings3D/0.98.09/ebin
-run wings_start start_halt
Erlang (BEAM) emulator version 5.2.3.3 [source] [hipe]
[threads:0]
Eshell V5.2.3.3 (abort with ^G)
1>
Fatal internal error - log written to
/Users/ozzmosis/wings_crash.dump
$ cat ~/wings_crash.dump
Dump written 2003-9-22_14-25
Window: "<Unknown Window Name>"
Crashed in:
{sdl_setVideoMode,returned_null_ptr}
I have already recompiled SDL, and tryied to run the demos, and
everything runs quite well. Does anyone have any suggestion?
Thanks in advance,
Lucas
Logged In: YES
user_id=286649
The README file was incorrect. I have corrrected it now.
Your command line should have one more "-pa" like this:
erl -pa $ESDL_PATH/ebin -pa /Programs/Wings3D/0.98.09/ebin
-run wings_start start_halt
Logged In: YES
user_id=649659
Thanks for the quick reply.
I've added the other "-pa" command, but the same error persists. I
have also tryied to run the program with the help of strace, but it looks
like all files can be successfully found, and due to a strange error, it
dies.
Any other suggestion?
Logged In: YES
user_id=286649
Wings crashes when trying to initialize the video mode.
Do you have OpenGL installed?
Logged In: YES
user_id=649659
aaah, thanks!
I was using the Nvidia opengl drivers, and it looks like something's bad
with them: I tryied to load glxgears and it didn't open.
Now I have just symlinked the GL libs from Mesa and Wings3D opened
successfully.
Thanks for your assistance,
Lucas