Errors building from SVN in

Post Reply
jit
Junior Member
Posts: 1
Joined: Sun Apr 14, 2013 5:38 pm

Errors building from SVN in

Post by jit »

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

Code: Select all

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

Squall Leonhart
Posting Freak
Posts: 1223
Joined: Tue Mar 18, 2008 9:21 am

Errors building from SVN in

Post by Squall Leonhart »

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.

Last edited by Squall Leonhart on Sun Apr 14, 2013 7:29 pm, edited 1 time in total.
Post Reply