|
Post by dmp1ce on Oct 2, 2009 23:04:43 GMT
I'm trying to compile the Linux version of Seventh Sense on Ubuntu. I think I have all the required sources but I'm getting this compile error. pastebin.com/f7065c724Can someone help me out with the error?
|
|
|
Post by Dave on Oct 3, 2009 4:19:33 GMT
Sadly, I know next to nothing about compiling on Linux... Sam Lantinga (the creator of SDL) is the one who provided the make files, not me. So, I don't know how to fix anything if it goes wrong!
Hopefully a Linux user will chime in on the subject.
|
|
|
Post by Thomas Wolmer on Oct 3, 2009 22:23:05 GMT
Do you have physfs installed?
|
|
|
Post by Thomas Wolmer on Oct 3, 2009 23:52:56 GMT
Do you have physfs installed? Improved question: Do you have the right version of physfs installed? I tried to build on my OpenBSD box that's got an old physfs, and I get the same error. Now I'll try to build a new physfs... (cmake required?! argh, more work...)
|
|
|
Post by dmp1ce on Oct 5, 2009 5:32:56 GMT
I downloaded physfs through the Ubuntu package manager. Ubuntu says I have version 1.0.0-5 which seems right because the .h file is dated back in 2005.
Which version do I need? Probably 1.1.1? Or 2.0 maybe?
|
|
|
Post by Thomas Wolmer on Oct 5, 2009 6:34:04 GMT
The Seventh Sense source distribution includes 2.0, so probably that one.
|
|
|
Post by Dave on Oct 5, 2009 21:31:03 GMT
Yeah, use 2.0, as it includes support for .7z files, which support is needed by Seventh Sense. You should also use the physfs 2.0 source from my source package, instead of the one found online, as there are a couple of bugs in physfs that are fixed in the source package.
|
|
|
Post by curunauth on Jan 20, 2010 8:38:34 GMT
Oh, hrm, I wasn't able to compile the source package without first installing libphysfs-dev (v 2.0.0-4, Debian sid repository) . . . and it compiled fine, but perhaps that's the cause of some of the bugs I just reported in projectaon.proboards.com/index.cgi?board=seventhsense&action=display&thread=1557&page=8#29804Diffing yours with the icculus.org's Mar 22 @009 2.0.0 release, the only change I see is adding a check that max > 0 before running quicksort, but the quicksort algo swaps to bubble sort for max - min < 4, and bubble is a loop from lo to hi, so that should have no functional impact. (There are also all the cmake files, which are not present in icculus.org's version . . . but I'd think that if it builds, it builds . . . ) So, uh, what am I missing? (The complete required-library install I used was: sudo apt-get install libsdl-image1.2-dev libsdl-ttf2.0-dev libcurl4-openssl-dev libphysfs-dev - this should work for Debian Squeeze (testing atm) or later, and Ubuntu karmic or later [although karmic is libphysfs 2.0.0-3 and lucid is 2.0.0-4])
|
|