1
C / CSFML failing to build network component for x86_64 arch on Mac OS X
« on: December 24, 2012, 03:56:22 am »
Hi there,
I'm new to SFML/CSFML, but I'm trying to get them both built so that I might build the gosfml2 bindings.
I'm using Mac OS X (10.8.2) , Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn) to build.
Here is the output upon calling make:
PS. this is a mirror of the github issue I rose: https://github.com/SFML/CSFML/issues/23
I'm new to SFML/CSFML, but I'm trying to get them both built so that I might build the gosfml2 bindings.
I'm using Mac OS X (10.8.2) , Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn) to build.
Here is the output upon calling make:
[ 11%] Built target csfml-system
[ 25%] Built target csfml-window
Linking CXX shared library ../../../lib/libcsfml-network.dylib
Undefined symbols for architecture x86_64:
"sf::Ftp::ListingResponse::getListing() const", referenced from:
_sfFtpListingResponse_getCount in Ftp.cpp.o
_sfFtpListingResponse_getName in Ftp.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libcsfml-network.2.0.dylib] Error 1
make[1]: *** [src/SFML/Network/CMakeFiles/csfml-network.dir/all] Error 2
make: *** [all] Error 2
[ 25%] Built target csfml-window
Linking CXX shared library ../../../lib/libcsfml-network.dylib
Undefined symbols for architecture x86_64:
"sf::Ftp::ListingResponse::getListing() const", referenced from:
_sfFtpListingResponse_getCount in Ftp.cpp.o
_sfFtpListingResponse_getName in Ftp.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libcsfml-network.2.0.dylib] Error 1
make[1]: *** [src/SFML/Network/CMakeFiles/csfml-network.dir/all] Error 2
make: *** [all] Error 2
PS. this is a mirror of the github issue I rose: https://github.com/SFML/CSFML/issues/23