poking around the gosu source files, I found Swig. which looks like how you get the ruby side of gosu working. digging around swig I notice that they have among other things a C# wrapper.
So I know this must be possible.
So I've started by simply trying to compile gosu in visual c++, this is already not going well. the compiler is complaining it cant find files.
1>..\GosuImpl\Graphics\TextWin.cpp(4) : fatal error C1083: Cannot open include file: 'Gosu/Bitmap.hpp': No such file or directory
and this goes on and on.
the files are there, but not in the directory thats its looking in. 'Gosu/..'. Although I vaguely remember that directory structure doesn't really matter to the compiler anyway. (or am I confused).
I must stress that I have only rudimentary c++ and I compile in mac using g++
This is MADNESS.
If you could manage to get Gosu and C# working as one, the Xbox Community will flood this server.
> Xbox Community
Just because it works with C# on Windows doesn't mean it has to work on an Xbox :( Which would be cool of course. I like PowerPC more than x86 anyway :P
You have to have the Gosu main folder in the header search path, as described in the Wiki page on getting Gosu to work with C++ in general. You will need the DX9 SDK to compile Gosu, and I guess you will have to extend/change the RubyGosu.swg a lot too. Some stuff in there is specific to Ruby. But yes, in theory, it is relatively easy to port Gosu to either of SWIG's supported languages, which also include Java, Python, …
> Just because it works with C# on Windows doesn't mean it has to work on an Xbox :( Which would be cool of course. I like PowerPC more than x86 anyway :P
Go ahead and crush my hopes and dreams. I'll return the favor. *cracks knuckles and puts on shades*
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill