Hello all, first I'd like to thank all you for your effort within this project.
I'm completely newbie with SFML but I'm going to try to develop some king of engine for adventure games, 2D and as simple as possible. If the project makes sense i'll post any progress.
Well, I was just introducing my self.
Installing rbSFML was rough, now at now I've finally made it thanks to Groogy's Installation guide (Linux).
Not sure, but i think I still have some errors, dont know if are normal errors or maybe are related with the instalation I made:
Loaded 'sfml/system'
Loaded 'sfml/window'
Loaded 'sfml/graphics'
Loaded 'sfml/audio'
Loaded suite /usr/local/bin/rake
Started
EEF.FEE..............EEE....EEE........FEF
Finished in 0.848552 seconds.
1) Error:
test_compare(TestClock):
NoMethodError: undefined method `>' for SFML::Clock(0.100312s):SFML::Clock
test/System/Clock.rb:49:in `test_compare'
2) Error:
test_elapsed_time(TestClock):
TypeError: can't convert Fixnum into SFML::Time
test/System/Clock.rb:30:in `test_elapsed_time'
3) Failure:
test_equal(TestClock) [test/System/Clock.rb:15]:
<SFML::Clock(0.200389s)> expected but was
<SFML::Clock(0.200430s)>.
4) Failure:
test_inspect(TestClock) [test/System/Clock.rb:23]:
Expected /SFML::Clock\(\d+ms\)/ to match "SFML::Clock(0.000000s)".
5) Error:
test_reset(TestClock):
TypeError: can't convert Fixnum into SFML::Time
test/System/Clock.rb:35:in `test_reset'
6) Error:
test_subclass(TestClock):
TypeError: can't convert Fixnum into SFML::Time
test/System/Clock.rb:66:in `test_subclass'
7) Error:
test_initialization3(TestVector2):
TypeError: Did not receive expected types ( 'Fixnum', 'Float' )
test/System/Vector2.rb:24:in `initialize'
test/System/Vector2.rb:24:in `new'
test/System/Vector2.rb:24:in `test_initialization3'
8) Error:
test_inspect(TestVector2):
TypeError: Did not receive expected types ( 'Fixnum', 'Float' )
test/System/Vector2.rb:56:in `initialize'
test/System/Vector2.rb:56:in `new'
test/System/Vector2.rb:56:in `test_inspect'
9) Error:
test_operators(TestVector2):
TypeError: Did not receive expected types ( 'Fixnum', 'Float' )
test/System/Vector2.rb:35:in `initialize'
test/System/Vector2.rb:35:in `new'
test/System/Vector2.rb:35:in `test_operators'
10) Error:
test_initialization3(TestVector3):
TypeError: Did not receive expected types ( 'Fixnum', 'Float' )
test/System/Vector3.rb:28:in `initialize'
test/System/Vector3.rb:28:in `new'
test/System/Vector3.rb:28:in `test_initialization3'
11) Error:
test_inspect(TestVector3):
TypeError: Did not receive expected types ( 'Fixnum', 'Float' )
test/System/Vector3.rb:62:in `initialize'
test/System/Vector3.rb:62:in `new'
test/System/Vector3.rb:62:in `test_inspect'
12) Error:
test_operators(TestVector3):
TypeError: Did not receive expected types ( 'Fixnum', 'Float' )
test/System/Vector3.rb:41:in `initialize'
test/System/Vector3.rb:41:in `new'
test/System/Vector3.rb:41:in `test_operators'
13) Failure:
test_subclass(TestVideoMode) [test/Window/VideoMode.rb:100]:
Expected SFML::VideoMode(1366x768, 24-bits) to be an instance of TestVideoMode::MyVideoMode, not SFML::VideoMode.
14) Error:
test1(TestWindow):
NoMethodError: undefined method `opened?' for SFML::Window(0x92367d0):SFML::Window
test/Window/Window.rb:10:in `test1'
15) Failure:
test_exceptions(TestWindow) [test/Window/Window.rb:38]:
[TypeError] exception expected, not
Class: <RuntimeError>
Message: <"SFML::Window can not be copied!">
---Backtrace---
test/Window/Window.rb:38:in `initialize_copy'
test/Window/Window.rb:38:in `initialize_dup'
test/Window/Window.rb:38:in `dup'
test/Window/Window.rb:38:in `block in test_exceptions'
---------------
42 tests, 374 assertions, 4 failures, 11 errors, 0 skips
Test run options: --seed 49933
/usr/local/bin/rake: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:002474 d:002474 TOP
---------------------------
-- C level backtrace information -------------------------------------------
/usr/local/lib/libruby.so.1.9(rb_vm_bugreport+0xa5) [0xe1cfb5]
/usr/local/lib/libruby.so.1.9(+0xa85e9) [0xd005e9]
/usr/local/lib/libruby.so.1.9(rb_bug+0x28) [0xd00698]
/usr/local/lib/libruby.so.1.9(+0x156088) [0xdae088]
[0xa4a40c]
/usr/lib/libX11.so.6(_XSend+0x14c) [0x626dec]
/usr/lib/libX11.so.6(_XReply+0x60) [0x626f90]
/usr/lib/libX11.so.6(XSync+0x67) [0x61a867]
/usr/lib/fglrx/libGL.so.1(+0x4b205) [0x43b205]
[0x5600001]
/usr/lib/fglrx/dri/fglrx_dri.so(+0x15e6f3a) [0x3a53f3a]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html