Mint 13- cannot call constructor ‘VSFileSystem

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).

Mint 13- cannot call constructor ‘VSFileSystem

Postby TheBigH » Fri Apr 26, 2013 1:29 am

Hi all,
I am trying to install Vegastrike from source. I am running Mint 13. I got through the configuration stage without any problems, but running "make" gives me the following error:

Code: Select all
$ make
In file included from /usr/include/c++/4.6/ext/hash_map:61:0,
                 from ./src/gnuhash.h:21,
                 from ./src/hashtable.h:25,
                 from ./src/xml_support.h:9,
                 from ./src/configxml.h:31,
                 from ./src/networking/lowlevel/vsnet_clientstate.h:28,
                 from ./src/networking/lowlevel/netbuffer.h:9,
                 from src/networking/lowlevel/netbuffer.cpp:2:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
In file included from ./src/easydom.h:35:0,
                 from ./src/configxml.h:32,
                 from ./src/networking/lowlevel/vsnet_clientstate.h:28,
                 from ./src/networking/lowlevel/netbuffer.h:9,
                 from src/networking/lowlevel/netbuffer.cpp:2:
./src/vsfilesystem.h: In constructor ‘VSFileSystem::VSFile::VSFile(const string&, VSFileSystem::VSFileType)’:
./src/vsfilesystem.h:297:105: error: cannot call constructor ‘VSFileSystem::VSFile::VSFile’ directly [-fpermissive]
./src/vsfilesystem.h:297:105: error:   for a function-style cast, remove the redundant ‘::VSFile’ [-fpermissive]
make[1]: *** [src/networking/lowlevel/netbuffer.o] Error 1
make: *** [all] Error 2


How do I fix this problem?

Thanks.


(edit)- uploading config.log. Not sure if needed, but anyway.
Attachments
config.log
(150.5 KiB) Downloaded 83 times
TheBigH
Insys Pilot
Insys Pilot
 
Posts: 2
Topics: 1
Joined: Fri Apr 26, 2013 1:18 am

Share On:

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

Re: Mint 13- cannot call constructor ‘VSFileSystem

Postby klauss » Fri Apr 26, 2013 8:29 am

The fact that you have a config.log tells me you're using an old source tarball. Which exactly?

You might want to try trunk. It has many fixes regarding modern compilers and their sudden pedantness.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

Re: Mint 13- cannot call constructor ‘VSFileSystem

Postby TheBigH » Fri Apr 26, 2013 9:24 pm

I followed the instructions and links provided here, so I guess it was version 5.0.

But that's OK I've figured it out now. I figured out how to add the Ubuntu 12.04 repo, and it works on my machine so I am good to go. Now I just need to figure out how to actually play. :)

Cheers.
TheBigH
Insys Pilot
Insys Pilot
 
Posts: 2
Topics: 1
Joined: Fri Apr 26, 2013 1:18 am


Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 3 guests

cron