Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
147 user(s) are online (139 user(s) are browsing Forums)

Members: 0
Guests: 147

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3) 4 5 »
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
Well physfs is checked as availible but give an error as you say so i remove also this function and now i have next issue with OpenGL ...

Quote:
checking SDL_opengl.h usability... no
checking SDL_opengl.h presence... no
checking for SDL_opengl.h... no
configure: error: SDL OpenGL header not found. Please install SDL with OpenGL support.
/Work/SDK/Progetti/warzone2100-2.3.4>


I'm begin to hate this configure file ...

Go to top
Re: Making WarZone 2100 ..
Just can't stay away
Just can't stay away


See User information
@samo79

popt.7z

It just so happens a lib I was compiling recently needed popt. I ran into some other problems though, so the popt libs are not tested.

Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@salass00

This lib seems ok

Quote:
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes


Now obiusly i have the issue with physfs.h and surely the next would be OpenGL (for this test i turned back to the old configure disabling X11 only)

Now i'm going to disable pysfs to see if somethings different happen (apart OpenGL break) ...



BTW: great team efforts, this is the Amiga spirit


Edited by samo79 on 2010/8/29 8:52:13
Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@samo79

checking for GL/glc.h... no
configure: error: OpenGLC header not found. Please install QuesoGLC: http://quesoglc.sourceforge.net/

Also need this one. Not sure about this aswell.


Just for fun i removed the things that gave errors and ended up with this notice:
configure: WARNING: Perl >= 5.10 isn't installed, autogeneration of some sources will not work.

X5000
Go to top
Re: Making WarZone 2100 ..
Just can't stay away
Just can't stay away


See User information
so what are you waiting for?
install spots porting for dummies.. and type:
clibrary
to configure that library... =)

Go to top
Re: Making WarZone 2100 ..
Just popping in
Just popping in


See User information
@samo79

If someone serious about porting this, or a team is formed to port these ill donate some cash in the form of a bounty...

Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
PhysicsFS was ported by Rogue

http://os4depot.net/index.php?functio ... ibrary/misc/libphysfs.lha

But it doens't work here ...

BTW not too bad for my first experience, an hell

@SimplePPC

Thanks, but please send your money and your support to the real devs not to me, i'm just learning ATM

Go to top
Re: Making WarZone 2100 ..
Just can't stay away
Just can't stay away


See User information

Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@salass00

Yes sorry, infact i edited again my post

We have but i can't get it to work, i put all files in Local (newlib and common folders)

Go to top
Re: Making WarZone 2100 ..
Just can't stay away
Just can't stay away


See User information
@samo79

How exactly doesn't it work?

Is it just failing a test in configure script? If so, it could be that just some dependency libs are missing. Please post the relevant part from config.log. It should say what went wrong with the test.

BTW have you set LDFLAGS=-use-dynld? If you don't then gcc will use static linking (.a) and not dynamic (.so).

Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@salass00

Quote:
Is it just failing a test in configure script? If so, it could be that just some dependency libs are missing. Please post the relevant part from config.log. It should say what went wrong with the test.


Yes it fails in configure

Here is what he say:

checking physfs.h usability... yes
checking physfs.h presence... yes
checking for physfs.h... yes
checking for PHYSFS_init in -lphysfs... no
configure: error: PhysicsFS not found.

This is the general command that I used for all my steps:

./configure --disable-dependency-tracking --bindir=/SDK/Local/C --prefix=/SDK/Local --libdir=/SDK/Local/newlib/lib LIBS="-lauto -lunix"

Quote:
BTW have you set LDFLAGS=-use-dynld? If you don't then gcc will use static linking (.a) and not dynamic (.so).


Ok, where i need to add this specific command ?
Into the main command and if so, when exactly ?

Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@samo79
I use libpsys for some ports and it works (so imho there some problems with patchs and so on, hope Salas00 can say how to fix it).

Quote:

Ok, where i need to add this specific command ?
Into the main command and if so, when exactly ?

For now (imho) that is not problem about which you need to think. Its only about "how resulting binary will works", with sobjs (dinamic), or without (static). In general you not need to think about it at all for now (before we not have working makefile).

For now, you can also try to remove from configure script all about physfs at all (later you can add linking of library himself, that not so big problem). Those configure scripts are mess, and you can easiliy not remove something, or remove too much (be carefull here:) )

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@kas1e

Hi kas

Quote:
For now, you can also try to remove from configure script all about physfs at all (later you can add linking of library himself, that not so big problem). Those configure scripts are mess, and you can easiliy not remove something, or remove too much (be carefull here:)


Fine, so I will continue to test it removing that functions step by step

The rest isn't a big problem as in general I always mantain a proper backup of the entire source

Only things that isn't clear to me is how can this game will be compilable later if we remove its functions ...

You say, adding as link, but when, into the final makefile ?

Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@samo79

Quote:

Only things that isn't clear to me is how can this game will be compilable later if we remove its functions ...

There we remove not functions, but just that part of configure script, which can try to found where is liblibfs.a is placed (and by some reassons cant). But still, sources of game will have all that corrent includes, and everything will compiles fine to object files (which in end, on linking stage, will want that libpsys.a , which we will manually add to makefile if we will going to that final step).

Quote:

You say, adding as link, but when, into the final makefile ?

Yep

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@kas1e

This configure script is infact one of the better i've seen. They have made comments when it starts on a new search. So removing checks is quite easy. So should be quite easy to get the makefiles made. And they are a few.

X5000
Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@Antique
You also trying to port WarZone ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@kas1e

No,just trying to help out.
I'm not good enough to port this game.

X5000
Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@Antique

The only real and big problem about which i can think for now: its heavy dependences on X11 fucntions (maybe mos version was old one, while they not use X11, or maybe Fab (or who port it) just rewrite it a bit). Anyway, will see after saimo will have working makefile what errors he will have.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Making WarZone 2100 ..
Just can't stay away
Just can't stay away


See User information
@samo79

Quote:

Ok, where i need to add this specific command ?
Into the main command and if so, when exactly ?


Just add it to the end of the ./configure command line.

If this is not supported for some reason you can use setenv:
setenv LDFLAGS -use-dynld

Or if you want to be certain that it's used:
./configure (...insert other options here...) "CC=gcc -mcrt=newlib -use-dynld" "CXX=g++ -mcrt=newlib -use-dynld"

Go to top
Re: Making WarZone 2100 ..
Home away from home
Home away from home


See User information
@salass00

Ok, so i remove all the problematic things in configure file, then i give this command:

Quote:
./configure --disable-dependency-tracking --bindir=/SDK/Local/C --prefix=/SDK/Local --libdir=/SDK/Local/newlib/lib LIBS="-lauto -lunix" "CC=gcc -mcrt=newlib -use-dynld" "CXX=g++ -mcrt=newlib -use-dynld"


Now it create somethings but (as Antique say) at the end it ask for Perl 5.10

Quote:
checking for SDL... yes
checking for PNG... yes
checking for THEORA... yes
checking for OPENAL... yes
checking for OGGVORBIS... yes
checking for GLee... gnome-config: Comando sconosciuto
gnome-config fallito con codice 10
no
checking for GLee.h...
checking for GLee.h with -I/usr/local/include/GL... no
checking for GLee.h with -I/usr/include/GL... no
checking GLee.h usability... no
checking GLee.h presence... no
checking for GLee.h... no
configure: Using integrated GLee
checking for nearbyint in -lm... yes
checking Xm/Xm.h usability... no
checking Xm/Xm.h presence... no
checking for Xm/Xm.h... no
checking for XmCreateErrorDialog in -lXm... no
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
configure: not updating unwritable cache /dev/null
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating build_tools/Makefile
config.status: creating build_tools/autorevision/Makefile
config.status: creating icons/Makefile
config.status: creating data/Makefile
config.status: creating data/mods/Makefile
config.status: creating data/mods/multiplay/Makefile
config.status: creating data/music/Makefile
config.status: creating pkg/Makefile
config.status: creating pkg/nsis/Makefile
config.status: creating win32/Makefile
config.status: creating lib/Makefile
config.status: creating lib/framework/Makefile
config.status: creating lib/exceptionhandler/Makefile
config.status: creating lib/gamelib/Makefile
config.status: creating lib/iniparser/Makefile
config.status: creating lib/ivis_opengl/Makefile
config.status: creating lib/ivis_common/Makefile
config.status: creating lib/netplay/Makefile
config.status: creating lib/netplay/miniupnpc/Makefile
config.status: creating lib/script/Makefile
config.status: creating lib/sequence/Makefile
config.status: creating lib/sound/Makefile
config.status: creating lib/widget/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure:
configure: WARNING: Distributor unknown!
configure: Use --with-distributor when compiling package for distribution
configure:
configure: WARNING: Perl >= 5.10 isn't installed, autogeneration of some sources will not work.
/Work/SDK/Progetti/warzone2100-2.3.4>

Go to top

  Register To Post
« 1 2 (3) 4 5 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project