Frictional Games Forum (read-only)
Let's compile Penumbra [Linux, CMake, 64bit] - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html)
+--- Forum: Overture (https://www.frictionalgames.com/forum/forum-29.html)
+--- Thread: Let's compile Penumbra [Linux, CMake, 64bit] (/thread-3353.html)

Pages: 1 2


RE: Let's compile Penumbra [Linux, CMake, 64bit] - qubodup - 05-15-2010

Code:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
I do have lib32-gcc-libs 4.5.0 installed... in http://pastie.org/961839

/opt/ probably is the problem..

I'm on Arch Linux 64bit btw.


RE: Let's compile Penumbra [Linux, CMake, 64bit] - Urkle - 05-15-2010

Looks like you are missing the devel or headers package.


RE: Let's compile Penumbra [Linux, CMake, 64bit] - Setlec - 05-16-2010

yeah, he is missing the devel package... he has only the library installed.


RE: Let's compile Penumbra [Linux, CMake, 64bit] - buba - 05-17-2010

I'm not sure if it's right topic to post but I'll try. I compiled Penumbra Overture on my Debian Squeeze amd64 (testing) and I noticed weird crashes.
I copied polish language file (only one file!) from my box version to version bought in Wolfire Humble. After replacing that file, game crashes in the beginning of each level. I also tried to put linux binary file into box version of the game and it also causes crash. It all works fine when I change language to English.
Binary from Wolfire causes exactly the same crashes.
Log doesn't show anything (it's the same as in English version) but when I run it from console it prints:
Code:
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::resize
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal errorSegmentation fault
I've done some testing when I change diacritics to Latin letters game won't crashed.
So there's my question: how can I compile Penumbra with debug options to show more information about crash?
Sorry for my English. I hope you'll understand me.
// edit:
I found freeware Polish translation in the Internet which also causes to crash (it's in attachement). If you want to try this just copy into game directory, change language and try to play.


RE: Let's compile Penumbra [Linux, CMake, 64bit] - Urkle - 05-17-2010

There are several posts about that crash. And I believe I even added entries in the TODO files about those. It has to do with saving a file with emphasis characters in the name. Search the forums for that length_error.


RE: Let's compile Penumbra [Linux, CMake, 64bit] - buba - 05-17-2010

(05-17-2010, 02:08 PM)Urkle Wrote: There are several posts about that crash. And I believe I even added entries in the TODO files about those. It has to do with saving a file with emphasis characters in the name. Search the forums for that length_error.

Omg. Thanks for reply. I wasn't aware of it is related to this bug. Thank you very much!

(this workaround works)


RE: Let's compile Penumbra [Linux, CMake, 64bit] - wally - 05-18-2010

(05-15-2010, 07:44 PM)qubodup Wrote:
Code:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
I do have lib32-gcc-libs 4.5.0 installed... in http://pastie.org/961839

/opt/ probably is the problem..

I'm on Arch Linux 64bit btw.

I am in the same boat, I seemed to fix it by installing this package:
http://supradigital.org/lib32-glibc-multilib-2.11.1-1-x86_64.pkg.tar.gz
(Extracting it to /, anyway, which probably isn't the best solution, but whatever.)


RE: Let's compile Penumbra [Linux, CMake, 64bit] - hicham - 08-19-2010

I guess this is not an issue since the newton2 port works, and newton2 provides both 32 and 64 libs.