Comments (10)
configure isn't supported. can't help you here!
Original comment by [email protected]
on 11 Sep 2011 at 11:20
- Changed state: Invalid
from sdl-wii.
I knew I shouldn't have mentioned configure because someone would get hung up
on that. Please note that it's not a configure issue, but rather a devkitPPC
compatibility issue. I commented out SDL-Wii's duplicate definition and got
past it.
Original comment by [email protected]
on 12 Sep 2011 at 12:51
from sdl-wii.
Actually I'm already porting Abuse SDL to the Wii, 95% complete, just need to
setup the constrols. Hint: get rid of this crazy configure script and of 0.8,
because it WON'T COMPILE, I've already tried to compile using the configure or
using a custom Wii makefile... but 0.8 won't compile on the Wii. 0.7.1 does,
but there's some things to change... LOTS of things... It took almost three
months to fix somethings.
Original comment by gcnmaster1910
on 19 Sep 2011 at 3:10
from sdl-wii.
It did compile, with a very small amount of massaging, and my port of Sam
Hocevar's version of the 0.8 source is complete and released after a week's
worth of effort!
See: http://wiibrew.org/wiki/Abuse_Wii
Original comment by [email protected]
on 19 Sep 2011 at 5:01
from sdl-wii.
Hey, how did you compiled 0.8?? Was it using the configure script? 0.8 just
won't compile here. And what operating system?
Original comment by gcnmaster1910
on 19 Sep 2011 at 4:10
from sdl-wii.
I used Ubuntu Linux.
Sam Hocevar's source at http://abuse.zoy.org/ does not come with Makefiles.
Instead, it has autotools files for generating a configure script, which in
turn generates makefiles.
So I first ran autoconf/autoreconf to generate configure. It said the autotools
files were out of date and told me how to update them, so I followed the
suggestions and re-ran.
I then ran configure with various parameters (and a custom Wii-specific
sdl-config that I whipped up) to generate the Makefiles, but it choked per my
bug report above. I commented out SDL Wii's redundant definition of uintptr_t
to get past that issue.
I had to massage the Makefiles slightly after that, mainly because configure
puts extra -lm and -lSDL_mixer arguments in the Makefiles.
I also had some trouble with the fact that the game defines a regular int
main(int argc, char* argv[]) in game.cpp but SDL expects SDL_main() instead.
There are multiple workarounds (-Dmain=SDL_main or #include <SDL/SDL_main.h>),
but I had lots of problems trying to get them so work, so I ended up just doing
an #ifdef'd replacement of main with SDL_main in game.cpp.
I believe I additionally had to add an #include <stdint.h> to one of the imlib
files.
This got the source to compile for me, but of course it didn't run correctly
until I made lots of other Wii-specific changes.
I've uploaded my modified source (with Makefiles) to
http://code.google.com/p/abuse-wii/downloads/list in case you want to take a
look. The SVN metafiles are in there too so that you can use TortoiseSVN or
whatever to diff my changes against the SVN baseline.
We should probably move this discussion to either
http://wiibrew.org/wiki/Talk:Abuse_Wii or
http://devkitpro.org/viewtopic.php?f=7&t=2920
Original comment by [email protected]
on 19 Sep 2011 at 4:32
from sdl-wii.
Also, libogc 1.8.8 or later is required because previous versions defined a
color_table variable that clashed with one in the Abuse source. Since
WinterMute of libogc was answering compiling questions for me on devkitpro.org,
he decided to fix the conflict by changing libogc.
Original comment by [email protected]
on 19 Sep 2011 at 4:56
from sdl-wii.
But I've already done all of that on 0.8 and still it didn't compiled! In rare
cases when compiling was successful, the file wasn't an .elf file...
Well, wasted my time. Now I don't know what to port/create next lol but thanks
for the game, it marked my childhood back then in 2000
Original comment by gcnmaster1910
on 19 Sep 2011 at 5:47
from sdl-wii.
It will compile to a binary named "abuse" that is actually a Wii .elf file.
The source that I uploaded should compile for you out of the box by just
running make in the abuse-trunk directory, provided you're running under Linux
and have devkitpro installed to /opt (otherwise you may need to edit the -I and
-L paths in the Makefiles).
You can then run elf2dol to convert src/abuse to boot.dol and drop it in place
of the boot.dol in my pre-built version.
Original comment by [email protected]
on 19 Sep 2011 at 6:58
from sdl-wii.
ah, didn't knew that... well, but still, compiling under Windows using MSYS
gave me undefined references to blahblahblah... thanks
Original comment by gcnmaster1910
on 19 Sep 2011 at 8:23
from sdl-wii.
Related Issues (20)
- Undefined references to KEYBOARD functions HOT 1
- Keyboard has to be reconnected again to work :-( HOT 3
- Put SDL in portlibs directory? HOT 1
- Crash when unloading OGG music file HOT 2
- Wont compile HOT 2
- SMPEG Linking Errors When Using SDL_Mixer HOT 2
- Library does not work properly with libogc 1.8.7 HOT 1
- LIBPNG VERSION HOT 4
- SDL_Delay HOT 1
- SDL_image does not compile HOT 2
- Mouse emulation not working. HOT 3
- Stereo for sound effects is reversed. HOT 1
- Mouse sensitivity HOT 2
- 640 X 512 screen resolution
- Font redering HOT 3
- Wireless USB Keyboard not working
- Gamecube controller support HOT 2
- SDL_CondWaitTimeout makes an incorrect timespec HOT 5
- SDL_KillThread is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl-wii.