OpenXcom Forum
Contributions => Builds & Ports => Topic started by: niculinux on March 28, 2015, 02:44:51 pm
-
Please, may we get precompiled binary version of openxcom ready to be executed? Precompliled binaries buils i guess are more friendly to manage, if there's a missing dependancy in the build looking at the terminal output may be an easy way to get the files missing, of course you have to execute the program in the terminal, by moving into the directory one installed that build and type:
./openxcom
Istructions to complie with cmake are here (https://www.ufopaedia.org/index.php?title=Compiling_with_CMake_%28OpenXcom%29#End-to-end_example), while ones for general compiling are here (https://www.ufopaedia.org/index.php?title=Compiling_%28OpenXcom%29), brave men may want to try! 8)
-
The user Yankes has provided some very very useful hints here (https://openxcom.org/forum/index.php/topic,1898.msg41913.html#msg41913)!
-
The user Yankes has provided some very very useful hints here (https://openxcom.org/forum/index.php/topic,1898.msg41913.html#msg41913)!
Btw if you get any problems you can ask me, I will look for things that I could miss in my solution.
-
Dear Yankes,
Attempting to clone the data structure on my hard drive, got the following:
git clone git@github.com:SupSuper/OpenXcom.git OpenXcom_dev
Cloning into 'OpenXcom_dev'...
The authenticity of host 'github.com (192.30.252.128)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
how do the hell i get that publickey? And i did not know git is fussy about yes and no, prefer the long form ;D
-
Ok try this:
git clone https://github.com/SupSuper/OpenXcom.git OpenXcom_dev
This protocol don't require this keys.
-
in home, moved to
cd OpenXcom_dev/src
typed
make clean
and got:
make: *** Nessuna regola per generare l'obiettivo "clean". Arresto.
trad: no rules to make the "clean" target". Stopping
:'(
-
make -f Makefile.simple clean
make -f Makefile.simple
fixed.
`make` for default look for `Makefile`. When you download OXC it not provided direcly, you need copy `Makefile.simple` to `Makefile`.
It worked form me because I have my private copy. `-f` cause `make` to use different file.
-
ok, it's building...
-
Built!!! Seems to work fine! Suppose it's the nightly build 2015-03-26 18:45, as currently says homepage. :)
Lets' do some mayhem!!! Thanks again Yankes! <3
-
I'm glad to help :)
For recap, to create linux "exe" you need:
sudo apt-get install libsdl1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libyaml-cpp-dev git libboost-all-dev
cd ~
git clone https://github.com/SupSuper/OpenXcom.git OpenXcom_dev
cd OpenXcom_dev/src
make -f Makefile.simple clean
make -f Makefile.simple
execute file (and OpenXcom files) will be in `~/OpenXcom_dev/bin`.
-
Latest two questions: as for updating, we need to "clone" another build inta another directory or may overwrite existing? I suppose peraphs git has a parameter to update?
Second, to forum admin, may this thread be pinned up? Thank everybody!
-
for updating you need got to console and:
cd ~/OpenXcom_dev/src
git pull
make -f Makefile.simple clean
make -f Makefile.simple
btw you can speed up build if you add to last line `-j 4` ("4" depend on numbers of cores you have in you machine).
Result should look like `make -f Makefile.simple -j 4`.
-
Sorry, reopended to enquiry as for unistalling, simply delete the folder? :-[
-
OK, thanks again, lastly, as for unistalling? :-[
Heretic! You do not uninstall OpenXcom! :-P
You can just delete the directory, you user files will be kept under ~/.config/openxcom and ~/.local/share/openxcom.
-
thank you hellrazor, i'm dying of shame >.< ok, now really solved :D
-
btw if you want betray OXC and never again compile it you can remove libs too:
sudo apt-get remove libsdl1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libyaml-cpp-dev git libboost-all-dev
At least you will be around 400MiB slimmer :)
-
Thanks again Yankes, ccan't wait for the next mikestone!!!!! :P