Compiling Issue? - Mac

For all the help you need with Armagetron!
User avatar
LittleSteps
Core Dumper
Posts: 157
Joined: Thu Apr 12, 2012 2:30 am

Re: Compiling Issue? - Mac

Post by LittleSteps »

/dev/null wrote:It seems trickier than at first.
Could you run some various single option tests in a vm for us?
Just change a single thing at a time that could be it. If it fails, use the same image to try again.

I wish I knew how to make osx not suck, but my first idea is install portage, which works on osx.
I really don't know where to start since there is no debug message or even a crash log, I can't think of what could effect anything.

On a side note, would I be able to reverse engineer one of my previous successful builds which happens to be the same source code I am trying to compile now but must has some modification which makes it fail?
/dev/null wrote:Could you run some various single option tests in a vm for us?
What do you mean by this? running options with the configure, or compiling in an linux vm?
/dev/null wrote:Just change a single thing at a time that could be it. If it fails, use the same image to try again.
I did this before I made my post using a program named, Kaleidoscope¹ comparing my build and Lucifers latest 0.4 build.

As always, thank you for the help.

1. With the use Kaleidoscope I am able to spot the differences in text, images, and folders with the ability to review and merge changes.

User avatar
LittleSteps
Core Dumper
Posts: 157
Joined: Thu Apr 12, 2012 2:30 am

Re: Compiling Issue? - Mac

Post by LittleSteps »

Finally got my code to function right, except for the tutorials but that doesn't really bother me...

Looked like it was a problem in ePlayer.cpp possibly when I was adding a couple commands or even when porting jips patch I may of deleted something else..

Code: Select all

../../src/engine/ePlayer.cpp:9256:25: error: variable type 'gServerInfoAdmin' is
      an abstract class
static gServerInfoAdmin sg_serverAdmin;
                        ^
../../src/network/nServerInfo.h:450:18: note: unimplemented pure virtual method
      'BeforeNewScan' in 'gServerInfoAdmin'
    virtual void BeforeNewScan() = 0;
                 ^
../../src/network/nServerInfo.h:452:18: note: unimplemented pure virtual method
      'LowerThreshold' in 'gServerInfoAdmin'
    virtual void LowerThreshold() = 0;
                 ^
../../src/network/nServerInfo.h:453:17: note: unimplemented pure virtual method
      'MinValidServerCount' in 'gServerInfoAdmin'
    virtual int MinValidServerCount() const = 0;
                ^
../../src/network/nServerInfo.h:463:18: note: unimplemented pure virtual method
      'Classify' in 'gServerInfoAdmin'
    virtual void Classify( nServerInfo::SettingsDigest const & in, 
                 ^
../../src/network/nServerInfo.h:467:18: note: unimplemented pure virtual method
      'NeedGlobalReclassification' in 'gServerInfoAdmin'
    virtual bool NeedGlobalReclassification() = 0;
                 ^
1 error generated.
make[2]: *** [engine/libengine_a-ePlayer.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
All good now though, thanks for the help /dev/null!

User avatar
/dev/null
Shutout Match Winner
Posts: 820
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Re: Compiling Issue? - Mac

Post by /dev/null »

You fixed it yourself sir.

Post Reply