Jump to content
Visual Boy Advance-M
jit

Errors building from SVN in

Recommended Posts

When running 'make', I get this error building from SVN:

[ 22%] Built target fex
[ 22%] Built target gvbam_translations
[ 22%] Building CXX object CMakeFiles/vbamcore.dir/src/gba/bios.cpp.o
In file included from /home/josh/VBAM/src/gba/GBAinline.h:10:0,
                from /home/josh/VBAM/src/gba/bios.cpp:7:
/home/josh/VBAM/src/gba/GBALink.h:64:37: error: ‘IPAddress’ in namespace ‘sf’ does not name a type
    virtual void ShowServerIP(const sf::IPAddress& addr) = 0;
                                    ^
/home/josh/VBAM/src/gba/GBALink.h:64:52: error: ISO C++ forbids declaration of ‘addr’ with no type [-fpermissive]
    virtual void ShowServerIP(const sf::IPAddress& addr) = 0;
                                                   ^
/home/josh/VBAM/src/gba/GBALink.h:87:2: error: ‘Selector’ in namespace ‘sf’ does not name a type
 sf::Selector fdset;
 ^
/home/josh/VBAM/src/gba/GBALink.h:98:2: error: ‘SocketTCP’ in namespace ‘sf’ does not name a type
 sf::SocketTCP tcpsocket[4];
 ^
/home/josh/VBAM/src/gba/GBALink.h:99:2: error: ‘IPAddress’ in namespace ‘sf’ does not name a type
 sf::IPAddress udpaddr[4];
 ^
/home/josh/VBAM/src/gba/GBALink.h:108:37: error: ‘IPAddress’ in namespace ‘sf’ does not name a type
    virtual void ConnectStart(const sf::IPAddress& addr) = 0;
                                    ^
/home/josh/VBAM/src/gba/GBALink.h:108:52: error: ISO C++ forbids declaration of ‘addr’ with no type [-fpermissive]
    virtual void ConnectStart(const sf::IPAddress& addr) = 0;
                                                   ^
/home/josh/VBAM/src/gba/GBALink.h:115:2: error: ‘Selector’ in namespace ‘sf’ does not name a type
 sf::Selector fdset;
 ^
/home/josh/VBAM/src/gba/GBALink.h:123:2: error: ‘IPAddress’ in namespace ‘sf’ does not name a type
 sf::IPAddress serveraddr;
 ^
/home/josh/VBAM/src/gba/GBALink.h:125:2: error: ‘SocketTCP’ in namespace ‘sf’ does not name a type
 sf::SocketTCP noblock;
 ^
/home/josh/VBAM/src/gba/GBALink.h:128:16: error: ‘sf::IPAddress’ has not been declared
 bool Init(sf::IPAddress, ClientInfoDisplay *);
               ^
/home/josh/VBAM/src/gba/GBALink.h:135:2: error: ‘SocketTCP’ in namespace ‘sf’ does not name a type
 sf::SocketTCP tcpsocket;
 ^
/home/josh/VBAM/src/gba/GBALink.h:150:8: error: ‘IPAddress’ in namespace ‘sf’ does not name a type
extern sf::IPAddress joybusHostAddr;
       ^
make[2]: *** [CMakeFiles/vbamcore.dir/src/gba/bios.cpp.o] Error 1
make[1]: *** [CMakeFiles/vbamcore.dir/all] Error 2
make: *** [all] Error 2

I am running Arch linux, 64 bit. I have all dependencies installed that are listed in the guide on how to build from SVN, and on a previous computer I was able to build successfully with the SVN. I guess the source has been updated since then, so I'm wondering if there are anything I can do to fix this problem.

Share this post


Link to post
Share on other sites

nothing has been changed in gba-link to cause these issues

 

and gba-link is building on other linux distro's so it must be something specific to your build config.

 

edit:

You are using an incompatible version of SFML, we have nobody with the desire to update vba-m to 2.0 so must install sfml 1.6.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×