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.


Topics - kattle87

Pages: [1]
1
Network / Question about packet size limits
« on: November 24, 2011, 02:24:12 am »
Is there any limit on the packet size? I am asking since I might need to move around "huge" amounts of data over a LAN (up to a max of 100 MBs on rare events), and SFML network (expecially "Packets") features are really nice compared to raw TCP, expecially while I'm developing my application (no optimizations needed yet!)
Should I expect any issue? Should I break down my "huge packet" in smaller fragments (something like 1MB max size)?

2
Feature requests / OpenGL get GlContext
« on: March 13, 2011, 11:34:59 am »
Hello everyone! I am trying to blend SFML with Ogre3d... I know it has been discussed a few times already, but as far as I could find none has pointed out a possible solution: there's a way for Ogre to draw into existing openGL context, I couldn't try it on linux where it is more straightforward, while for windows one needs the window handle and the OpenGL context as provided by sdl (should be like SDL_getWMinfo.hglrc/. do you think this might be doable? I know there's OIS, but the less dependencies, the better ;)and I will use sfml for networking and audio anyway

EDIT: I found an post in this forum about getting the GL context with a windows function. If I succeed in making ogre work in SFML I will report and try to provide a sample.

3
General / windows linking errors against static SFML 2.0 Libraries
« on: March 10, 2011, 09:30:24 pm »
Hi everyone.
I am trying using SFML libraries on windows, making some experiments with them.
I downloaded the SFML 2.0 snapshot and compiled it using cmake + mingw 4.5. The tick on BUILD_SHARED_LIBS on cmake was disabled, so in theory I built the static libraries correctly (after that I would just give the mingw32-make command).
I use Codelite for my project... it is really similar to Code::Blocks and it uses the same MinGW I used to compile the libraries.
Later on I copied the libs and added them to a path the linker checks for libraries, (let's say SFML2/lib), and when I try to compile my really simple test program (will upload code if required) I get the following errors:

Code: [Select]
C:/develop/minepp/minepp/sfmlServer/main.cpp:8: undefined reference to `_imp___ZN2sf9UdpSocketC1Ev'
C:/develop/minepp/minepp/sfmlServer/main.cpp:9: undefined reference to `_imp___ZN2sf9UdpSocket4BindEt'
C:/develop/minepp/minepp/sfmlServer/main.cpp:21: undefined reference to `_imp___ZN2sf9IpAddressC1EPKc'
C:/develop/minepp/minepp/sfmlServer/main.cpp:21: undefined reference to `_imp___ZN2sf9UdpSocket4SendEPKcjRKNS_9IpAddressEt'


A bunch of similar errors might follow as well.

The linker options are -lsfml-system-s -lsfml-network-s.
If I link against dynamic libs everything is fine (I compiled them with Cmake by enabling the checkbox for shared libs the day before), but I need 2 extra libs for the program to start: libstdc++-6.dll and libgcc_blablabla.dll.
I really have no idea about what's going on... Clearly the linker can't find something but I got no clue on what's missing.

Pages: [1]