Debian 9.3 5.1 and svn compile issues

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).

Debian 9.3 5.1 and svn compile issues

Postby wirser » Tue Oct 02, 2018 3:10 pm

Well after taking a wrong turn into an unstable jump point, I finally made it back to civilization. (more on this later)
After fially getting back online in something I can compile I I tried compiling both 0.51r1 and svn and failed
I did make progress using -ansi cflag and cxxflags
boost ,ogre, ffmpeg gave me problems on both versions , I could only get svn to compile after disabling ffmpeg via ccmake this is not an op-tion on 0.51
btw I disabled boost and ogre as well
I am now checkingout data from svn, and have not yet taken time to investigate further.

What I do know is 1 ffmpeg changed some function labels
2 boost and ogre both made changes to there apis as well
alot of warning about using "auto_pointer" which appears to be getting phased out with implemening of ISO standards
I am also setting a 64 bit box was on 32 bit before
more to follow
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Re: Debian 9.3 5.1 and svn compile issues

Postby loki1950 » Tue Oct 02, 2018 8:02 pm

Glad to see your post a bit of a blast from the past and yeah quite a few of the supporting libraries have changed their API's there is no need for ffmpeg as it is not used anywhere in the code.Ogre is only used for mesher our cmd-line utility for converting .obj format meshes to our internal binary mesh format or Ogre3D's .mesh format so here you have two options update mesher's code to the new API or drop the .mesh conversion functionality completely that is you intend to add new models to your local copy :wink: The boost library is a bit more problematic as it's main utility was to decrease execution time of a lot of the kinetic equations as we use 4 order Runge Kutta method the solve those differentials.Someone else asked these questions a while back I would have a look here in Compiling Problems for the relevant threads.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5706
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Wed Oct 03, 2018 2:46 pm

Yeah Yeah BOOST This BOOST That :wink:
I suppose it mean s that some of the of boost calls need to be changed ,even with -ansi I cant get 64 bit to compile.I got it to compile on 32 bit ver cmake has some options in th 32 bit vers but seem to be absent on 64 bit. I may of did something on one that disabled boost on then 32 but not 64

second thing I don't know " 4 order Runge Kutta method" either
but I do know how to make patches and basic grep
I have a tar'd svn and 5.1r1
And if I really screw up I may be enshrined upon the Luddite wall of shame
( and no it's not a good thing)
this looks like a job for both doxygen and valgrind

I am wondering how much assembly is used

How about some goals
1 get boost ver 1.62 to compile (for me)
2 get boost code to compilw without warnings
3 work on older boost versions

In closing I still getting set hereIt will take me some time to get up to speed
good news is I will have some time in not too long I can look at it
Of course no guaranties
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Thu Oct 04, 2018 1:22 pm

well I got my soures wrong

0.5.1r1 has boost compile issues
svn has iso related messages in file vegastrike/src/gfx/aligned.h

I put these in 0.5.1 trying get furteher and previously used them in svn build "-ansi -fpermissive " almost got to compile

After removing,
now I got svn to compile and link
I dont know if I met some undisclosed dependencies or what ( I did alot of things trying to get it to work) .Sooner or later I will try it with virgin svn copy to see if I can do it again

It even starts up
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Sat Oct 06, 2018 8:46 pm

Progress is made :lol: :D :shock:
Even repeatable

Once all dependencies are met

all changes were made using ccmake
python in beginning of ccmake, python version is found correctly
but further down python ver must be entered ie 2.7 ( it matters)

use system boost must be on.
I also removed the vegastrike/boost contents as well to be certain

disable ffmpeg and disable ogre must be on

compiles and almost runs
problem with planets and ships disappearing with new(er) 3d card radeon r5 220
orig Intell shows objects but is sloww as hell (intel gma 3100)
I am still working on getting graphics up to par

because of it being svn ,vssetup is having an identity crisis not knowning it's version

if any cmake generated files are useful let me know
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Re: Debian 9.3 5.1 and svn compile issues

Postby loki1950 » Sat Oct 06, 2018 10:19 pm

Those disappearing ships on your newer GPU are most likely from depreciated OpenGL calls lucky you don't have OSX system Apple has announced that they dropping support of OpenGL completely :twisted:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5706
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Sun Oct 07, 2018 11:19 am

The problem is that I remember this problem being corrected with vssetup (long ago in a virtual galaxy far ...).
It would appear any information has however redacted
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Re: Debian 9.3 5.1 and svn compile issues

Postby loki1950 » Sun Oct 07, 2018 4:11 pm

All that vssetup does is edit the config file's XML tags which was created on the fist run in the .vegastrike folder don't know if it fallows the current convention of putting that folder under .config so just check the hidden files BTW there is info on config file editing on the wkii.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 18/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5706
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Mon Oct 08, 2018 1:06 pm

running from .../vs/build (dir made at top of vegastrike svn source to compile in) (( for the kiddies)) . I get the following repeated errors
Code: Select all
EE ../../../../../src/gallium/drivers/r600/r600_shader.c:3663 r600_shader_from_tgsi - GPR limit exceeded - shader requires 125 registers
EE ../../../../../src/gallium/drivers/r600/r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
EE ../../../../../src/gallium/drivers/r600/r600_state_common.c:799 r600_shader_select - Failed to build shader variant (type=0) -12

looki9ng aroung I found r600 located under
locate r600
/usr/include/libdrm/r600_pci_ids.h
/usr/lib/x86_64-linux-gnu/dri/r600_dri.so
/usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1

I suspect some of your "depreciated OpenGL calls" connect here. being I haven't even compiled debug versions I don't know.
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Tue Oct 09, 2018 11:11 am

looks like somebody should study
http://www.opengl-tutorial.org/beginners-tutorials

( smashing oneself in the luddite tradition of slamming a sharp stone to the side of the head ) aka Thudding which loosely translates to mean thinking combined with luddite., seems to be more fun.

search for depreciated opengl calls in vs

and after many trials have something that once again works

Is this what needs to be done?
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Tue Oct 09, 2018 4:52 pm

I lesson 2 I discovered a problem with shaders not ready
There is a rather long proceedure ot init them

It is nice to find the same problem elsewhere
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be

Re: Debian 9.3 5.1 and svn compile issues

Postby wirser » Mon Oct 15, 2018 9:55 am

Well Ive got a copy of makes output (1mb)

Ive also ran doxygen and valgrind --leak-check=yes
leakcheck found lots of leaks


the gcc compiler puts out lots of warnings about " warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]"
at least a both when trying to find gl related messages. supposedly it is a fairly easy fix. though if backward compatibility is desired a bit more coding is needed

opengl calls will need shaders initialization to be gone over as well

That is all I have for now
TecKnoledge available
Practical Wisdom for above TecKnoledge / back-ordered , lead time unknown
UPDATE: above shipment of Practical Wisdom for
TecKnoledge was lost in either luddite or kilrathie space - reward if found
wirser
Bounty Hunter
Bounty Hunter
 
Posts: 162
Topics: 23
Joined: Wed Dec 01, 2004 1:06 pm
Location: not where i want to be



Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 2 guests