Page 1 of 1

Issues in vid_file.cpp and ffmpeg

Posted: Fri Nov 10, 2017 9:08 pm
by dcarr
hey guys im usinging

Code: Select all

Linux Antergos-MercadesBendz 4.13.9-1-ARCH #1 SMP PREEMPT Sun Oct 22 09:07:32 CEST 2017 x86_64 GNU/Linux
and have been trying to compile vegastrike on it for going on 4 days now. i have fixed many errors but this one has me stumped.so here is the error output: https://pastebin.com/tjNagBUt and the config.log: https://pastebin.com/EaaypMfp. i am going to try to install it on a fedora vm until i can get this mess sorted out cause it would probly run better on a real machine so some one pls help! thx.

Re: Issues in vid_file.cpp and ffmpeg

Posted: Fri Nov 10, 2017 10:59 pm
by loki1950
These errors are due to the fact all of our dependant libraries have evolved while our source code has not so since there are no uses for ffmpeg in the game at all try compiling without it :wink: You will most likely run into more library API changes.

Enjoy the Choice :)

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sat Nov 11, 2017 6:42 am
by dcarr
cool thats good to know. i feel so silly that was the one thing i didnt try. ok so far so good if you are interested once i get this to work i can offer to post my PACKAGEBUILD file and its folder for use by others.

okay now i started compilng with ffmpeg disabled as well as cegui disabled cause i cant get it to install. as you said there are new errors but im not sure if they have anything to do with ffmpeg disabled. they are thus: https://pastebin.com/rexxuNpf any ideas?

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sat Nov 11, 2017 7:54 pm
by loki1950
We dropped support for the normal config/make a long time ago migrated to cmake details are on the wiki.

Enjoy the Choice :)

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sat Nov 11, 2017 8:17 pm
by dcarr
ive never used cmake before but if you think that thats the problem i will give it a try and keep you posted on my progress or lack of. also in the mean time im running it off of fc26 vm and it freezes at the loading screen at the part where it says loading backgrounds/black light.cube or something like that im not sure why tho.

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sat Nov 11, 2017 10:35 pm
by loki1950
Can you find the run time logs they should be in a hidden folder called .vegastrike they should give some incite on what's happenning.

Enjoy the Choice :)

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sun Nov 12, 2017 12:58 am
by dcarr
good idea man thanks i discovered that its probably not vegastrike's fault instead it looks like vbox crashes while trying to render that part of vegastrike startup. and as for using cmake wow i got so close to like 89% then got to this errors: https://pastebin.com/dAixF1qB it is not covered in the patch notes i was given so any ideas on how to fix them? i will continue to think of some but i dont know if i will manage to comeup with anything besides trying to disable ogre... unless thats the right answ?

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sun Nov 12, 2017 4:15 am
by loki1950
Ah mesher is our cmd line tool for converting obj meshes into something the game engine can load so also add --no mesher to the build instructions again Ogre evolved while our code did not :oops: Ogre was needed to create .mesh files for awhile when we experimented with using it as our rendering pipeline or you cut that function out at the source code level :wink: BTW most of our code has been transferred to Github though we still need a lead code maven.

Enjoy the Choice :)

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sun Nov 12, 2017 5:00 am
by dcarr
wow man it compiled FINALY now i just have to install it and run it *crossing fingers
your tops couldnt have done it w/o u. :D im sry tho i cant maintain the code im just a hobbyest with a vendeta. once i am sure i can get this to work i can give you my PKGBUILD file tho if you want. ill let u know on my progress.

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sun Nov 12, 2017 6:46 am
by dcarr
okay as soon as i downloaded the data i could play it :oops: inside of the build folder... now i just have to move it so i can start it normaly. :wink: once that is done i will lable my post solved so bear with me.

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sun Nov 12, 2017 7:45 pm
by loki1950
Glad you got something usable have fun.

Enjoy the Choice :)

Re: Issues in vid_file.cpp and ffmpeg

Posted: Sun Nov 12, 2017 9:06 pm
by dcarr
same but for some reason it didnt make an install option... oh and oswalds voice is quieter then the ambieant noise like i can hardly hear him. any ideas on how to remidy those two issues? cause iv never heard of a successfuly compiled program not having a make install option i tend to get this error:

Code: Select all

 CMake Error: The source directory "/home/dcarr/temp/yaourt-tmp-dcarr/aur-vegastrike-svn/src/vegastrike-build/install" does not exist.

Re: Issues in vid_file.cpp and ffmpeg

Posted: Mon Nov 13, 2017 9:20 pm
by dcarr
um i don't know if ur done helping me due to your sudden lack of responding to my posts but from what i could gather the install issue is due to that optiion lacking in the cmakelists file.

Re: Issues in vid_file.cpp and ffmpeg

Posted: Mon Nov 13, 2017 9:28 pm
by loki1950
I usually use the cmake GUI and it creates an install target but I have never actually used it as I run the game in userland which made adding new ships and such to the game easier.

Enjoy the Choice :)