Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
40 user(s) are online (22 user(s) are browsing Forums)

Members: 0
Guests: 40

more...

Support us!

Headlines

 
  Register To Post  

OpenRedAlert
Quite a regular
Quite a regular


See User information
Based on SDL. Perhaps the author would permit an OS4 version. Maybe a very talented developer could port this for us, wink wink, nod, nod Spot.

http://www.happypenguin.org/show?OpenRedAlert

ace

Go to top
Re: OpenRedAlert
Quite a regular
Quite a regular


See User information
@acefnq

Forgot to add, EA are giving the original away, so all the game files would be available.

ace

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@acefnq

Tried, getting

gcc -mcrt=newlib -g -I. -Wall -O2 -c OpenRedAlert.cpp -o OpenRedAlert.o
SDK:local/common/include/SDL/SDL_types.h:38: error: conflicting declaration 'SDL_FALSE'
SDK:local/newlib/include/SDL/SDL_stdinc.h:81: error: 'SDL_FALSE' has a previous declaration as 'SDL_bool SDL_FALSE'
SDK:local/common/include/SDL/SDL_types.h:39: error: conflicting declaration 'SDL_TRUE'
SDK:local/newlib/include/SDL/SDL_stdinc.h:82: error: 'SDL_TRUE' has a previous declaration as 'SDL_bool SDL_TRUE'
SDK:local/common/include/SDL/SDL_types.h:40: error: conflicting declaration 'typedef enum SDL_bool SDL_bool'
SDK:local/newlib/include/SDL/SDL_stdinc.h:83: error: 'SDL_bool' has a previous declaration as 'typedef enum SDL_bool SDL_bool'
SDK:local/common/include/SDL/SDL_types.h:110: error: conflicting declaration 'DUMMY_ENUM_VALUE'
SDK:local/newlib/include/SDL/SDL_stdinc.h:127: error: 'DUMMY_ENUM_VALUE' has a previous declaration as 'SDL_DUMMY_ENUM DUMMY_ENUM_VALUE'
SDK:local/common/include/SDL/SDL_types.h:111: error: conflicting declaration 'typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
SDK:local/newlib/include/SDL/SDL_stdinc.h:128: error: 'SDL_DUMMY_ENUM' has a previous declaration as 'typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
SDK:local/common/include/SDL/SDL_types.h:118: error: expected identifier before numeric constant
SDK:local/common/include/SDL/SDL_types.h:118: error: expected `}' before numeric constant
SDK:local/common/include/SDL/SDL_types.h:118: error: expected unqualified-id before numeric constant
SDK:local/common/include/SDL/SDL_types.h:118: error: expected declaration before '}' token
gmake: *** [OpenRedAlert.o] Error 1

on the very first file. Though i'd be able to fix those if
it gave me a line in the code this one looks more complicated
as it seems the code calls SDL dependencies from two different
sources /common and /clib2.
I can't find the responsive pieces of code, so this one goes
over my head.

-mcrt=newlib doesn't fix it either, but that would've been to easy
anyway

If someone else will try and please tell me how to fix those
i'd be very grateful as it would mean me learning something new

Go to top
Re: OpenRedAlert
Amigans Defender
Amigans Defender


See User information
@Raziel

Wipe out all your SDL includes from SDK:local and reinstall it, ensuring you only have one copy of the includes (preferably in SDK:local/common)

You probably have includes from different versions in clib2 and common (and probably newlib as well)

Chris

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@Chris

There are none

I have SDL_xxx includes only in SDK:local/common/include/SDL/
and newlib, clib2. That doesn't seem to be the problem

Go to top
Re: OpenRedAlert
Amigans Defender
Amigans Defender


See User information
@Raziel

Double-check them against the latest package.

SDL_types.h and SDL_stdinc.h are defining the same things.

ISTR I had the same problem once and it was old includes lying around (or maybe I hacked out offending code, I really can't remember)

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@Raziel

cd src
make all -f ../makefile

And you need this line in some files:

typedef unsigned int type_t;

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@LiveForIt

Build and upload it then, maaan

with your command i get

make all -f ../makefile
openredalert
T:gmake.sh.897.FJAKSQ[1]: openredalert: not found
sh failed returncode 127
gmake: *** [all] Error 127

@Chris

Double checked, yes, there are no more, btw, i really wouldn't
want to touch the SDK, it builds the projects i need to and
it was a helluva job to make it work back then.

I really hope that the new SDK will work right out of the box

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@Raziel

your not in the src dir when typed it!

"cd src" first

Quote:
Build and upload it then, maaan


stops at:

vfs/filesystem/externalvfs.cpp:448: error: 'fchdir' was not declared in this scope

I don't know what to do about that...

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@LiveForIt

Wrong, i am in the src dir

/Development/Coding/Sources/OpenRedAlert/src> make all -f ../makefile
openredalert
T:gmake.sh.1517.SOPLTQ[1]: openredalert: not found
sh failed returncode 127
gmake: *** [all] Error 127

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@Raziel

try whit out "sh"

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@LiveForIt

7.Development:Coding/Sources/OpenRedAlert/src> make all -f ../makefile
openredalert
openredalert: Unknown command
openredalert failed returncode 10
make: *** [all] Error 10

I was told to NEVER, EVAR try to build ANYTHING without
being in sh...

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@Raziel

line: 148 in the makefile needs to look like this!

all: openredalert

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@LiveForIt

erm, i haven't changed the original makefile

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@Raziel

I have changed it

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenRedAlert
Quite a regular
Quite a regular


See User information
@LiveForIt and Raziel

Does this mean it's on the way? -:)

Raziel
Don't give in, you can beat this!

Cheers
ace

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@acefnq

No, I just looked at it, nothing more

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenRedAlert
Supreme Council
Supreme Council


See User information
@LiveForIt

Well, It compiled here, but I'm getting linker errors. Looks like I need to update the SDL and SDL_Mixer libs, any idea where they are?

Simon

Go to top
Re: OpenRedAlert
Home away from home
Home away from home


See User information
@Rigo

no idea maybe new SDK?

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenRedAlert
Supreme Council
Supreme Council


See User information
@LiveForIt

OK, found the libs, but there are too many linking errors for me to be bothered to try and fix it. Spotup says he has an exe now, so I'll let him take the credit :)

Simon

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project