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

Pages: [1]
1
Python / Help with PySFML
« on: November 29, 2011, 07:30:31 pm »
Hello, this is not official but this is how i do

1] Installing MinGW(http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20111118/)
2] Adding MinGW\bin to WINDOWS path(can be added temporary)
4] getting sfml2 by git.
3] Installing cmake
5] launch cmake-gui, select sfml2-source-dir and sfml2-build-dir. Select the mingw generator and Configure->Generate.
7] now alt+r -> cmd -> cd sfml-build-dir -> mingw32-make -> mingw32-make install(as admin)
8] go to sfml_install_dir and copy directories "include" and "lib" to mingw_install_dir.
copy the dll inside bin to windows/system.

Now SFML should works..

PySFML
9] installing python 3.2 32bits
10] installing cython (http://www.lfd.uci.edu/~gohlke/pythonlibs/#cython) Cython-0.15.1.win32-py3.2.‌exe

11] Create distutils.cfg in C:\Python32\Lib\distutils\ if not exists and add
[build]
compiler=mingw32

12] In C:\Python32\Lib\distutils\cygwinccompiler.py from the class MinGW32CCompiler remove all -mno-cygwin

13] Now try to install : alt+r -> cmd -> cd pysfml  and
python setup3k.py build_ext
and finally
python setup.py build_ext install

good luck

2
General / rbSFML
« on: September 20, 2011, 08:57:31 pm »
Ok, i have reinstalled sfml2, ruby/rbsfml and mingw like 3 times, but always the same error. It's happen only to me or i'm the only one windows user ? :lol:

3
General / rbSFML
« on: September 19, 2011, 08:47:34 am »
Hello, I'm trying to use SFML2 with this binding but i get a error during compiling..
Code: [Select]


C:\Users\creep\Downloads\Groogy-rbSFML-fd916bf\Groogy-rbSFML-fd916bf>rake
(in C:/Users/creep/Downloads/Groogy-rbSFML-fd916bf/Groogy-rbSFML-fd916bf)
mkdir -p obj
mkdir -p obj/shared
Compiling shared/global.cpp
Compiling shared/NonCopyable.cpp
Compiling shared/Vector2.cpp
Compiling shared/Vector3.cpp
mkdir -p obj/audio
Compiling audio/Listener.cpp
Compiling audio/main.cpp
Compiling audio/Music.cpp
Compiling audio/Sound.cpp
Compiling audio/SoundBuffer.cpp
Compiling audio/SoundBufferRecorder.cpp
Compiling audio/SoundRecorder.cpp
Compiling audio/SoundSource.cpp
Compiling audio/SoundStream.cpp
mkdir -p obj/graphics
Compiling graphics/Color.cpp
Compiling graphics/Drawable.cpp
Compiling graphics/Font.cpp
Compiling graphics/Glyph.cpp
Compiling graphics/Image.cpp
Compiling graphics/main.cpp
Compiling graphics/Rect.cpp
Compiling graphics/Renderer.cpp
Compiling graphics/RenderTarget.cpp
Compiling graphics/RenderTexture.cpp
Compiling graphics/RenderWindow.cpp
Compiling graphics/Shader.cpp
Compiling graphics/Shape.cpp
Compiling graphics/Sprite.cpp
Compiling graphics/Text.cpp
Compiling graphics/Texture.cpp
Compiling graphics/View.cpp
mkdir -p obj/window
Compiling window/Context.cpp
Compiling window/ContextSettings.cpp
Compiling window/Event.cpp
Compiling window/Joystick.cpp
Compiling window/Keyboard.cpp
Compiling window/main.cpp
Compiling window/Mouse.cpp
Compiling window/VideoMode.cpp
Compiling window/Window.cpp
mkdir -p obj/system
Compiling system/Clock.cpp
Compiling system/InputStream.cpp
Compiling system/main.cpp
Creating system.so
obj/system/InputStream.o: In function `~InputStream':
c:/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Inp
utStream.hpp:48: undefined reference to `_imp___ZTVN2sf11InputStreamE'
c:/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Inp
utStream.hpp:48: undefined reference to `_imp___ZTVN2sf11InputStreamE'
c:/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Inp
utStream.hpp:48: undefined reference to `_imp___ZTVN2sf11InputStreamE'
c:/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Inp
utStream.hpp:48: undefined reference to `_imp___ZTVN2sf11InputStreamE'
c:/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../include/SFML/System/Inp
utStream.hpp:48: undefined reference to `_imp___ZTVN2sf11InputStreamE'
collect2: ld returned 1 exit status
mkdir -p obj/all
Compiling all/main.cpp

C:\Users\creep\Downloads\Groogy-rbSFML-fd916bf\Groogy-rbSFML-fd916bf>

OS: Windows 7
Ruby(rubyinstaller): ruby 1.9.2p290(2011-07-09) [1386-mingw32]

Can you help me ? thanks.

Pages: [1]
anything