Emulator Issues #1304
closedcompiling fails with debian
0%
Description
What steps will reproduce the problem?
- Installing Debian (stable or testing)
- Installing all dependencies
- svn checkout http://dolphin-emu.googlecode.com/svn/trunk/
dolphin-emu-read-only && cd dolphin-emu-read-only && scons
What is the expected output? What do you see instead?
Successful compiling is expected. I see:
...
Plugin_PadSimpleEvnt Doesn't work without testgl
...
Compiling Build/Linux-i686-release/Source/Core/DolphinWX/Src/LogWindow.o
Compiling Build/Linux-i686-release/Source/Core/DolphinWX/Src/Main.o
Compiling Build/Linux-i686-release/Source/Core/DolphinWX/Src/MemcardManager.o
Compiling
Build/Linux-i686-release/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.o
Compiling Build/Linux-i686-release/Source/Core/DolphinWX/Src/NetEvent.o
Compiling Build/Linux-i686-release/Source/Core/DolphinWX/Src/NetFunctions.o
Source/Core/DolphinWX/Src/NetFunctions.cpp: In member function 'void
NetPlay::ChangeSelectedGame(std::string)':
Source/Core/DolphinWX/Src/NetFunctions.cpp:417: warning: cannot pass
objects of non-POD type 'class wxString' through '...'; call will abort at
runtime
Compiling Build/Linux-i686-release/Source/Core/DolphinWX/Src/NetSockets.o
Source/Core/DolphinWX/Src/NetSockets.cpp: In member function 'bool
ServerSide::RecvT(sf::SocketUDP, char*, size_t, size_t&, float)':
Source/Core/DolphinWX/Src/NetSockets.cpp:85: error: no matching function
for call to 'sf::SocketUDP::Receive(char*&, size_t&, unsigned int&,
sf::IPAddress&, short unsigned int&)'
/usr/include/SFML/Network/SocketUDP.hpp:107: note: candidates are:
sf::Socket::Status sf::SocketUDP::Receive(char*, size_t, size_t&,
sf::IPAddress&)
/usr/include/SFML/Network/SocketUDP.hpp:131: note:
sf::Socket::Status sf::SocketUDP::Receive(sf::Packet&, sf::IPAddress&)
Source/Core/DolphinWX/Src/NetSockets.cpp: In member function 'bool
ServerSide::SyncValues(unsigned char, sf::IPAddress)':
Source/Core/DolphinWX/Src/NetSockets.cpp:300: warning: left-hand operand of
comma has no effect
Source/Core/DolphinWX/Src/NetSockets.cpp: In member function 'bool
ClientSide::RecvT(sf::SocketUDP, char*, size_t, size_t&, float)':
Source/Core/DolphinWX/Src/NetSockets.cpp:388: error: no matching function
for call to 'sf::SocketUDP::Receive(char*&, size_t&, unsigned int&,
sf::IPAddress&, short unsigned int&)'
/usr/include/SFML/Network/SocketUDP.hpp:107: note: candidates are:
sf::Socket::Status sf::SocketUDP::Receive(char*, size_t, size_t&,
sf::IPAddress&)
/usr/include/SFML/Network/SocketUDP.hpp:131: note:
sf::Socket::Status sf::SocketUDP::Receive(sf::Packet&, sf::IPAddress&)
Source/Core/DolphinWX/Src/NetSockets.cpp: In member function 'virtual void*
ClientSide::Entry()':
Source/Core/DolphinWX/Src/NetSockets.cpp:415: warning: cannot pass objects
of non-POD type 'class wxString' through '...'; call will abort at runtime
Source/Core/DolphinWX/Src/NetSockets.cpp:415: warning: cannot pass objects
of non-POD type 'class wxString' through '...'; call will abort at runtime
Source/Core/DolphinWX/Src/NetSockets.cpp:415: warning: cannot pass objects
of non-POD type 'class wxString' through '...'; call will abort at runtime
Source/Core/DolphinWX/Src/NetSockets.cpp: In member function 'void
ClientSide::CheckGameFound()':
Source/Core/DolphinWX/Src/NetSockets.cpp:565: warning: cannot pass objects
of non-POD type 'struct std::string' through '...'; call will abort at runtime
scons: ***
[Build/Linux-i686-release/Source/Core/DolphinWX/Src/NetSockets.o] Error 1
scons: building terminated because of errors.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Updated by Florian.Uekermann over 15 years ago
$g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-8'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--enable-targets=all --with-tune=generic --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Debian 4.3.3-8)
Updated by nakeee about 15 years ago
I can't recreate this error, so unless anyone says otherwise it will be closed.
if you do have it please state the SFML version you got.
Updated by Florian.Uekermann about 15 years ago
Sorry for late response
SFML is installed. But the problem is clearly related to SFML. I could reproduce the
error with R3972 and libsfml...-stuff (v1.4). Downgrading libsfml... to v1.3 solved
the problem.
Thanks for help
Updated by jasonporter over 14 years ago
This should not be marked invalid... this is an ongoing issue for newer distributions
which ship with sfml 1.4 by default.