Closed 0wen101 closed 7 months ago
Hi,
I'm not a maintainer of that project, and not really used to autotools, so I can't really help you with setting that up this way. :(
I guess my idea would be to replace the automake with cmake file, which should be quite easy to write. Also migrate to using ACE as submodule since it's more robust way to do it.
Ok so I meant to give you instructions here, but that codebase have rotten away due to using old ACE version, so I've done the required changes myself and created the PR on starfield's repo: https://github.com/Ozzyboshi/AmigaStarfield/pull/1
Assuming you want to build it before it gets merged:
latest-ace-cmake
branchgit submodule update --init --recursive
Lemme know if that helps and if you run into other problems!
thanks again KN all the support, that is awesome you created a PR there. Will give that a go.
CMake does seem maybe more approachable that GNU autotools.
great, that all worked perfectly. thanks again
Hi, I'm trying to build the AmigaStarfield demo on Ubuntu. It's build system implements Autoconf Automake from GNU Autotools suite. To generate a makefile and following instructions I'm doing this :
./configure CPPFLAGS=-I/opt/amiga/gcc6/usr/include LDFLAGS=-L/opt/amiga/gcc6/usr/lib --host m68k
output :
So while most of the items are found, it's not finding any object files ('checking for library containing viewCreate... no') even though I have built and installed ACE in that /opt/amiga/gcc6/usr/lib directory. I can see managers and utils sub folders there and all the built object files. I also build the ACE static library 'libace.a' and installed in the same folder.
Any clues ?
Not sure but I notice the built object files all have a .obj extension e.g. :
but the configure output says .o is the suffix ('checking for suffix of object files... o') .
Is it possible to use the static library in the configure script instead of individual object files maybe ?
I could try to build the other games or demo but I expect if cant find my ACE object files I wont get very far.
A makefile is actually generated above but generates lots of errors when try and build it.
thank you