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 - zombox

Pages: [1]
1
General discussions / Re: SFML Blueprints - Another SFML book
« on: September 13, 2015, 01:55:13 am »
@Krozark
4.8.1 and the code is from repo. Since you compiled, could you just share binaries?

2
General discussions / Re: SFML Blueprints - Another SFML book
« on: September 13, 2015, 12:13:18 am »
I've point this in the first chapter of the book. Visual studio doesn't sported full C++11 (VS 2013), and some feature not supported where required (don't remember which one).
You can use mingw our clang (as suggested in the same chapter), and all will  be fine (tested on linux/windows).
I tried mingw, but I'm getting:
Code: [Select]
[ 15%] Built target Box2D
Linking CXX shared library ..\..\..\lib\sfgui.dll
CMakeFiles\sfgui.dir/objects.a(Button.cpp.obj):Button.cpp:(.text+0x1d8): undefin
ed reference to `_imp___ZN2sf6StringaSERKS0_'
CMakeFiles\sfgui.dir/objects.a(Button.cpp.obj):Button.cpp:(.text+0x8a2): undefin
ed reference to `_imp___ZNK2sf6String7getSizeEv'
C:\MinGW\bin/ld.exe: CMakeFiles\sfgui.dir/objects.a(Button.cpp.obj): bad reloc a
ddress 0x12 in section `.text$_ZNSt12__shared_ptrIN3sfg6ButtonELN9__gnu_cxx12_Lo
ck_policyE2EED2Ev[__ZNSt12__shared_ptrIN3sfg6ButtonELN9__gnu_cxx12_Lock_policyE2
EED2Ev]'
collect2.exe: error: ld returned 1 exit status
extlibs\SFGUI\CMakeFiles\sfgui.dir\build.make:1996: recipe for target '../lib/sf
gui.dll' failed
mingw32-make[2]: *** [../lib/sfgui.dll] Error 1
CMakeFiles\Makefile2:124: recipe for target 'extlibs/SFGUI/CMakeFiles/sfgui.dir/
all' failed
mingw32-make[1]: *** [extlibs/SFGUI/CMakeFiles/sfgui.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

3
General discussions / Re: SFML Blueprints - Another SFML book
« on: September 12, 2015, 03:48:36 am »
I'm using VS13 and encountered few problems. Actually I managed to compile few first projects, but it took some time.
- VS doesn't support constexpr, so i have to remove it
- i had to replace logical operators written like this: 'not', 'and'.. to '!', '&&'
- for example in 03_Android there're missing constructors
- i had some problems with GLEW references

It's a lot of fuss just tu run these project.

Would be great if somebody knew how to handle problem with logical operators.

4
General discussions / Re: SFML Blueprints - Another SFML book
« on: September 11, 2015, 10:21:59 pm »
I have problem with compiling source. Anybody could share compiled .exes?

5
DotNet / Re: sfmlnet-graphics-2.dll - System.AccessViolationException
« on: November 25, 2014, 07:07:59 pm »
Try newer csfml-*.dll files. You can get them here: http://www.nightlybuilds.ch/project/show/4/CSFML/

6
General discussions / Re: SFML Game Development -- A book on SFML
« on: November 09, 2014, 01:42:54 pm »
I'm trying to implement text box to do a chat in multiplayer mode. How would you do it? I know about TextEntered event, but what is the best way to differentiate between normal key presses and text input?
This is how I would do it. Is it correct way to do that?
Code: [Select]
GameState::handleEvent(const sf::Event& event)
{
   if (!gui.isTextCapturing()) {
    FOREACH(auto& pair, mPlayers)
pair.second->handleEvent(event, commands);
   }
   gui.handleEvent(event);

}
and isTextCapturing is set by pressing some button.

7
General discussions / Re: Multitarget VS solution for SFML.Net
« on: October 16, 2014, 05:19:20 pm »
File is corrupted.

8
DotNet / Re: csfml-system-2 missing from .NET sources
« on: October 02, 2014, 04:17:25 pm »
It still hasn't been fixed.

Pages: [1]
anything