Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Peb

Pages: [1]
1
Java / Re: Sorry, I'm out
« on: June 07, 2017, 10:48:18 am »
I sent you a PM :)

2
Java / Re: Sorry, I'm out
« on: June 06, 2017, 10:13:31 am »
Hello everyone ! :)

I think I have the motivation to continue the development of JSFML !
I'm currently doing a JAVA-based professional training and have been using SFML for years (I have even presented several projects on the forum, with another pseudonym though). I'm currently studying the pdinklag code and trying to understand some subtilities. I hope that somebody is still interested by using the latest version of SFML in java.

I'll keep you informed ! ;)

3
SFML projects / Re: SFNUL
« on: August 31, 2015, 05:27:51 pm »
It's working now, thanks man !  :D

4
SFML projects / ReĀ : SFNUL
« on: August 31, 2015, 12:42:32 pm »
Hello, and congratz for this amazing library !  :)

Unfortunately I get a post-compilation problem (linking), when I compile my project using your library.

My version of gcc is : gcc version 4.9.2 (x86_64-posix-seh-rev3, Built by MinGW-W64 project)

Here is the report :

Quote
[100%] Building CXX object CMakeFiles/server.dir/code/Server.cpp.obj
Linking CXX executable ..\bin\server.exe
D:\C++\SFNUL\lib\libsfnul-s.a(TcpListener.cpp.obj):TcpListener.cpp:(.text$_ZN3sfn11TcpListener15TcpListenerImpl13AcceptHandlerERKSt10error_codeSt10shared_ptrIN4asio19basic_stream_socketINS6_2ip3tcpENS6_21stream_socket_serviceIS9_EEEEE[_ZN3sfn11TcpListener15TcpListenerImpl13AcceptHandlerERKSt10error_codeSt10shared_ptrIN4asio19basic_stream_socketINS6_2ip3tcpENS6_21stream_socket_serviceIS9_EEEEE]+0x8cb): undefined reference to `AcceptEx'
D:\C++\SFNUL\lib\libsfnul-s.a(TcpListener.cpp.obj):TcpListener.cpp:(.text$_ZN4asio6detail25win_iocp_socket_accept_opINS_12basic_socketINS_2ip3tcpENS_21stream_socket_serviceIS4_EEEES4_NS0_15wrapped_handlerINS_10io_service6strandESt5_BindIFZN3sfn11TcpListener15TcpListenerImpl13AcceptHandlerERKSt10error_codeSt10shared_ptrINS_19basic_stream_socketIS4_S6_EEEEUlSt8weak_ptrISD_ESH_SL_E_SN_St12_PlaceholderILi1EESL_EEEEE11do_completeEPNS0_19win_iocp_io_serviceEPNS0_18win_iocp_operationESH_y[_ZN4asio6detail25win_iocp_socket_accept_opINS_12basic_socketINS_2ip3tcpENS_21stream_socket_serviceIS4_EEEES4_NS0_15wrapped_handlerINS_10io_service6strandESt5_BindIFZN3sfn11TcpListener15TcpListenerImpl13AcceptHandlerERKSt10error_codeSt10shared_ptrINS_19basic_stream_socketIS4_S6_EEEEUlSt8weak_ptrISD_ESH_SL_E_SN_St12_PlaceholderILi1EESL_EEEEE11do_completeEPNS0_19win_iocp_io_serviceEPNS0_18win_iocp_operationESH_y]+0xfd): undefined reference to `GetAcceptExSockaddrs'
D:\C++\SFNUL\lib\libsfnul-s.a(TcpListener.cpp.obj):TcpListener.cpp:(.text$_ZN4asio6detail25win_iocp_socket_accept_opINS_12basic_socketINS_2ip3tcpENS_21stream_socket_serviceIS4_EEEES4_NS0_15wrapped_handlerINS_10io_service6strandESt5_BindIFZN3sfn11TcpListener15TcpListenerImpl13AcceptHandlerERKSt10error_codeSt10shared_ptrINS_19basic_stream_socketIS4_S6_EEEEUlSt8weak_ptrISD_ESH_SL_E_SN_St12_PlaceholderILi1EESL_EEEEE11do_completeEPNS0_19win_iocp_io_serviceEPNS0_18win_iocp_operationESH_y[_ZN4asio6detail25win_iocp_socket_accept_opINS_12basic_socketINS_2ip3tcpENS_21stream_socket_serviceIS4_EEEES4_NS0_15wrapped_handlerINS_10io_service6strandESt5_BindIFZN3sfn11TcpListener15TcpListenerImpl13AcceptHandlerERKSt10error_codeSt10shared_ptrINS_19basic_stream_socketIS4_S6_EEEEUlSt8weak_ptrISD_ESH_SL_E_SN_St12_PlaceholderILi1EESL_EEEEE11do_completeEPNS0_19win_iocp_io_serviceEPNS0_18win_iocp_operationESH_y]+0x369): undefined reference to `AcceptEx'
collect2.exe: error: ld returned 1 exit status
CMakeFiles\server.dir\build.make:191: recipe for target '../bin/server.exe' failed
mingw32-make[2]: *** [../bin/server.exe] Error 1
CMakeFiles\Makefile2:59: recipe for target 'CMakeFiles/server.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/server.dir/all] Error 2
makefile:75: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

I'm using the static version of SFNUL compiled with the script found on a previous post (the one with Git).

Here is my CMakeLists.txt :

Quote
cmake_minimum_required( VERSION 2.8 )
set( ROOTDIR ${CMAKE_SOURCE_DIR} )
set( CMAKE_MODULE_PATH ${ROOTDIR}/cmake/modules )
set( EXECUTABLE_OUTPUT_PATH ${ROOTDIR}/bin )
add_definitions( -static-libgcc -static-libstdc++ -Wfatal-errors -std=c++11 -fpermissive -municode )
file( GLOB_RECURSE source_files code/* )
set( SFNUL_STATIC_LIBRARIES TRUE )
find_package( SFNUL REQUIRED )
include_directories( ${ROOTDIR}/code ${SFNUL_INCLUDE_DIR} )
add_executable( server ${source_files} code/Server.cpp )
target_link_libraries( server ${SFNUL_LIBRARY} ${SFNUL_DEPENDENCIES} )

What am I doing wrong ?

Pages: [1]
anything