[REŠENO] Cubosphere
Moderator: Urednik
- Posts: 1053
- Joined: 18 Feb 2012, 15:14
- Location: Despotovac
- Contact:
Ја сам овај пакет инсталирао као зависност за нешто, не могу да се сетим шта. У суштини, сви програми које имам раде перфектно што ме наводи на закључак да је lua лепо компилована.
Шта сад, да је избришем и да је компилујем на овај начин? или?
Шта сад, да је избришем и да је компилујем на овај начин? или?
- Posts: 3468
- Joined: 01 Apr 2012, 13:50
- Location: Mlečni put
Ništa te ne košta da probaš. Ja se sad ne sećam tačno da li sam mogao ili nisam mogao da kompajliram bez te komande.
- Posts: 1053
- Joined: 18 Feb 2012, 15:14
- Location: Despotovac
- Contact:
Јаооооо, ја тек сад видим
ништа ми ово не значи јер Cubosphere нема SlackBuild... Компилујем је командом:
ништа ми ово не значи јер Cubosphere нема SlackBuild... Компилујем је командом:
Code: Select all
$ make
$ su -c 'make install'
- Posts: 4591
- Joined: 04 Feb 2011, 20:32
- Location: Beograd
- Contact:
Otkrio sam u čemu je stvar. Nego da ne bi ti to instalirao van pkgtools, sad ću da opravim jedan brzi SlackBuild.
- Posts: 4591
- Joined: 04 Feb 2011, 20:32
- Location: Beograd
- Contact:
Izvolte:
fakeroot.
Screenshot Detalji ispravki su dostupni u patchevima koji su uključeni u arhivi.
Edit
Mislim da sam dužan par reči o problemu. Javlja se i na 32-bitnom Slacku. "-l" flag za lua je pogrešan. Na Slacku je "-llua" umesto "-llua5.1". Pored toga u arhivi se nalazi patch koji "pomera" instalaciju u /usr umesto u /usr/local.
Btw, ovaj SlackBuild nije u SBo formatu i zahteva Screenshot Detalji ispravki su dostupni u patchevima koji su uključeni u arhivi.
Edit
Mislim da sam dužan par reči o problemu. Javlja se i na 32-bitnom Slacku. "-l" flag za lua je pogrešan. Na Slacku je "-llua" umesto "-llua5.1". Pored toga u arhivi se nalazi patch koji "pomera" instalaciju u /usr umesto u /usr/local.
- Posts: 1053
- Joined: 18 Feb 2012, 15:14
- Location: Despotovac
- Contact:
Ох јес, што би рек'о наш народ
Са' ће пробам, па јављам
UPDATE: Ово споро преузима тако да се највероватније јављам сутра са утисцима
Са' ће пробам, па јављам
UPDATE: Ово споро преузима тако да се највероватније јављам сутра са утисцима
- Posts: 4591
- Joined: 04 Feb 2011, 20:32
- Location: Beograd
- Contact:
Elem, postoji još jedan mali problem. Ne čuje se muzika.
Moraću da bacim pogled na to kad stignem. Moja pretpostavka je da je nešto kompajlirano bez podrške za mp3.
Code: Select all
Initializing Sound returns 1
Unable to load music file (( /usr/share/cubosphere/music/Ziggurat.mp3 ))Module format not recognized
- Posts: 1053
- Joined: 18 Feb 2012, 15:14
- Location: Despotovac
- Contact:
Јавља ми нешто што не мирише на добро или ја не знам да одрадим како треба.
У распаковану фасциклу сам убацио архиву cubosphere-beta02a_linux_src.tar
И покренуо:
Излаз:
Где грешим? Да ли треба нешто урадити са оним закрпама које си написао?
У распаковану фасциклу сам убацио архиву cubosphere-beta02a_linux_src.tar
И покренуо:
Code: Select all
$ fakeroot ./cubosphere.SlackBuild
Code: Select all
bash-4.2$ fakeroot ./cubosphere.SlackBuild
cubosphere-beta02a/
cubosphere-beta02a/documents/
cubosphere-beta02a/data/
cubosphere-beta02a/src/
cubosphere-beta02a/data/music/
cubosphere-beta02a/Makefile
cubosphere-beta02a/INSTALL
cubosphere-beta02a/documents/editormanual.pdf
cubosphere-beta02a/documents/SDL.txt
cubosphere-beta02a/documents/GPL.txt
cubosphere-beta02a/documents/Credits to original authors.txt
cubosphere-beta02a/data/Readme.txt
cubosphere-beta02a/data/data000.zip
cubosphere-beta02a/data/boot.lua
cubosphere-beta02a/src/vectors.hpp
cubosphere-beta02a/src/unzip.hpp
cubosphere-beta02a/src/themes.hpp
cubosphere-beta02a/src/textures.hpp
cubosphere-beta02a/src/spriteutils.hpp
cubosphere-beta02a/src/sounds.hpp
cubosphere-beta02a/src/skyboxes.hpp
cubosphere-beta02a/src/shaderutil.hpp
cubosphere-beta02a/src/posteffects.hpp
cubosphere-beta02a/src/mouse.hpp
cubosphere-beta02a/src/models.hpp
cubosphere-beta02a/src/matrixutils.hpp
cubosphere-beta02a/src/luautils.hpp
cubosphere-beta02a/src/keyboard.hpp
cubosphere-beta02a/src/joystick.hpp
cubosphere-beta02a/src/glutils.hpp
cubosphere-beta02a/src/globals.hpp
cubosphere-beta02a/src/game.hpp
cubosphere-beta02a/src/fonts.hpp
cubosphere-beta02a/src/filesystem.hpp
cubosphere-beta02a/src/events.hpp
cubosphere-beta02a/src/definitions.hpp
cubosphere-beta02a/src/cuboutils.hpp
cubosphere-beta02a/src/cubopathfind.hpp
cubosphere-beta02a/src/cubolevels.hpp
cubosphere-beta02a/src/cuboenemies.hpp
cubosphere-beta02a/src/cuboboxes.hpp
cubosphere-beta02a/src/cuboactors.hpp
cubosphere-beta02a/src/console.hpp
cubosphere-beta02a/src/c3dobjects.hpp
cubosphere-beta02a/src/vectors.cpp
cubosphere-beta02a/src/unzip.cpp
cubosphere-beta02a/src/themes.cpp
cubosphere-beta02a/src/textures.cpp
cubosphere-beta02a/src/spriteutils.cpp
cubosphere-beta02a/src/sounds.cpp
cubosphere-beta02a/src/skyboxes.cpp
cubosphere-beta02a/src/shaderutil.cpp
cubosphere-beta02a/src/posteffects.cpp
cubosphere-beta02a/src/mouse.cpp
cubosphere-beta02a/src/models.cpp
cubosphere-beta02a/src/matrixutils.cpp
cubosphere-beta02a/src/main.cpp
cubosphere-beta02a/src/luautils.cpp
cubosphere-beta02a/src/keyboard.cpp
cubosphere-beta02a/src/joystick.cpp
cubosphere-beta02a/src/glutils.cpp
cubosphere-beta02a/src/globals.cpp
cubosphere-beta02a/src/game.cpp
cubosphere-beta02a/src/fonts.cpp
cubosphere-beta02a/src/filesystem.cpp
cubosphere-beta02a/src/events.cpp
cubosphere-beta02a/src/definitions.cpp
cubosphere-beta02a/src/cuboutils.cpp
cubosphere-beta02a/src/cubopathfind.cpp
cubosphere-beta02a/src/cubolevels.cpp
cubosphere-beta02a/src/cuboenemies.cpp
cubosphere-beta02a/src/cuboboxes.cpp
cubosphere-beta02a/src/cuboactors.cpp
cubosphere-beta02a/src/console.cpp
cubosphere-beta02a/src/c3dobjects.cpp
cubosphere-beta02a/data/music/Ziggurat.mp3
cubosphere-beta02a/data/music/Triumphant Returns.mp3
cubosphere-beta02a/data/music/The Sun Will Come.mp3
cubosphere-beta02a/data/music/Thatianne and the Sylph.mp3
cubosphere-beta02a/data/music/Sun and Rainfall.mp3
cubosphere-beta02a/data/music/Running through Greece.mp3
cubosphere-beta02a/data/music/Ruin.mp3
cubosphere-beta02a/data/music/Rose At Twilight.mp3
cubosphere-beta02a/data/music/Rose At Meridiem.mp3
cubosphere-beta02a/data/music/Persian Invasion.mp3
cubosphere-beta02a/data/music/Perfect Morning.mp3
cubosphere-beta02a/data/music/Orchestral Theme.mp3
cubosphere-beta02a/data/music/Never Stop.mp3
cubosphere-beta02a/data/music/Mindmangler.mp3
cubosphere-beta02a/data/music/Melodies de Mars.mp3
cubosphere-beta02a/data/music/Jungle Bed.mp3
cubosphere-beta02a/data/music/Journey to the East.mp3
cubosphere-beta02a/data/music/Hyperspace.mp3
cubosphere-beta02a/data/music/Everything is Floating Upward.mp3
cubosphere-beta02a/data/music/Escape from the Citadel.mp3
cubosphere-beta02a/data/music/Endless Day of Grass Field.mp3
cubosphere-beta02a/data/music/Deep Man.mp3
cubosphere-beta02a/data/music/Cavern of Memory.mp3
cubosphere-beta02a/data/music/Cave Ambient 2.mp3
cubosphere-beta02a/data/music/Arctican.mp3
cubosphere-beta02a/data/music/Arabic Desert.mp3
cubosphere-beta02a/data/music/At the Speed of Light.mp3
patching file cubosphere-beta02a/Makefile
patching file cubosphere-beta02a/Makefile
Compiling Cubosphere - this may take a while... Please stay patient!
g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o cubosphere -O3 -DDATADIR=\"/usr/share/cubosphere\" -llua -lm -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lSDL -lpthread -lGL -lGLEW -lGLU -lSDL_mixer -ljpeg -lSDL_ttf src/*.cpp
src/filesystem.cpp: In member function ‘virtual long unsigned int cls_FileDirMountedForReading::GetSize(int) const’:
src/filesystem.cpp:184:112: warning: converting to non-pointer type ‘long unsigned int’ from NULL [-Wconversion-null]
src/filesystem.cpp: In member function ‘virtual cls_FileWriteable* cls_FileSubSystemDirMount::virtGetFileForWriting(const std::vector<std::basic_string<char> >&, bool) const’:
src/filesystem.cpp:459:34: warning: converting ‘false’ to pointer type ‘cls_FileWriteable*’ [-Wconversion-null]
src/filesystem.cpp:462:22: warning: converting ‘false’ to pointer type ‘cls_FileWriteable*’ [-Wconversion-null]
Compiling Cubosphere - this may take a while... Please stay patient!
g++ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o cubosphere -O3 -DDATADIR=\"/usr/share/cubosphere\" -llua -lm -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lSDL -lpthread -lGL -lGLEW -lGLU -lSDL_mixer -ljpeg -lSDL_ttf src/*.cpp
src/filesystem.cpp: In member function ‘virtual long unsigned int cls_FileDirMountedForReading::GetSize(int) const’:
src/filesystem.cpp:184:112: warning: converting to non-pointer type ‘long unsigned int’ from NULL [-Wconversion-null]
src/filesystem.cpp: In member function ‘virtual cls_FileWriteable* cls_FileSubSystemDirMount::virtGetFileForWriting(const std::vector<std::basic_string<char> >&, bool) const’:
src/filesystem.cpp:459:34: warning: converting ‘false’ to pointer type ‘cls_FileWriteable*’ [-Wconversion-null]
src/filesystem.cpp:462:22: warning: converting ‘false’ to pointer type ‘cls_FileWriteable*’ [-Wconversion-null]
Installing Cubosphere binary
# Install binary
install -d -D -m 755 /home/petar/Downloads/cubosphere/cubosphere-build/usr/bin
install -D -m 755 cubosphere /home/petar/Downloads/cubosphere/cubosphere-build/usr/bin
# Install data
Copying Cubosphere data
install -d -D -m 755 /home/petar/Downloads/cubosphere/cubosphere-build/usr/share/cubosphere
cp -R data/* /home/petar/Downloads/cubosphere/cubosphere-build/usr/share/cubosphere
fakeroot: FAKEROOTKEY set to 1950836025
fakeroot: nested operation not yet supported
- Posts: 4591
- Joined: 04 Feb 2011, 20:32
- Location: Beograd
- Contact:
Ne treba ti fakeroot. Skripta koristi fakeroot, ne ti. Znači kao običan korisnik:
Code: Select all
./cubosphere.SlackBuild
- Posts: 4591
- Joined: 04 Feb 2011, 20:32
- Location: Beograd
- Contact:
Ova varijanta konvertuje sve mp3 datoteke u ogg i patchuje izvorni kod da koristi ogg format. Ovo traje nešto duže nego varijanta bez konverzije.
Sada radi fino i pušta muziku. Who is online
Users browsing this forum: No registered users and 17 guests