Errors building from SVN in
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.