I found a better point (not natively supported by MSVC and easier then different window widgets): Let the user choose which hardware renderers are compiled into the Irrlicht.dll
Made an autoconf/automake package
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
No, select different opimization features (simple example would be O2 for normal and O3 for Itanium or likewise). Simply make some #ifdef's or compiler flags choosable by the user. I can also reuse the Makefile and code when switching from Linux to FreeBSD, so there are always simple cases which solved easily, but I meant a rather general case here (just illustrated with some scenarios Windows users might understand
)
I found a better point (not natively supported by MSVC and easier then different window widgets): Let the user choose which hardware renderers are compiled into the Irrlicht.dll
I found a better point (not natively supported by MSVC and easier then different window widgets): Let the user choose which hardware renderers are compiled into the Irrlicht.dll
Sure. But with autoconf/automake you can also type "make install/distclean/uninstall".afecelis wrote:the linux makefile works pretty well. I think users should know the dependencies required by Irrlicht beforehand; but mostly a proper Opengl (X11, Xorg) installation and proper videocard drivers should do the job as the required libs and headers are included and used locally.
For me it works out of the box; as simple as typing "make" in a shell window.
And yet I did it again. Is someone done autoconf/automake files for Irrlich? And if not, is there still need for those (well, I'll answer myself: "Yes, there is.")?final note: And guys, please don't bump into old threads. This was a 2004 post!
It would be so cool to install libIrrlich(-dev) from normal Ubuntu repository and (I think) one step to that direction is the usage of those tools. Btw, has anyone contributed into such project and give us some insights about packaging piece of software?
libirrlicht1.2
libirrlicht1.2-dev
libirrlicht1.2-docs
libirrlicht-klang1.2
libirrlicht-klang1.2-dev
libirrlicht-xml1.2
libirrlicht-xml1.2-dev
.
.
Can we have those tomorrow, pretty please?
When someone distributes his game/app, it would be much easier to tell user to type
than explain how to download, compile and install irrlicht before compiling and running my super cool game.
EDIT:
And of course for developer it's quite easy to install development versions of the required libraries which might even encourage to use Irrlich.
libirrlicht1.2-dev
libirrlicht1.2-docs
libirrlicht-klang1.2
libirrlicht-klang1.2-dev
libirrlicht-xml1.2
libirrlicht-xml1.2-dev
.
.
Can we have those tomorrow, pretty please?
When someone distributes his game/app, it would be much easier to tell user to type
Code: Select all
sudo apt-get install mysupercoolgameEDIT:
And of course for developer it's quite easy to install development versions of the required libraries which might even encourage to use Irrlich.
-
pinballwizard
- Posts: 67
- Joined: Wed Aug 02, 2006 1:47 am
Does the autoconf/automake solution allow cross-compilation?
One of the advantages of Irrlicht for me has always been its simple build system. I was able to easily modify the Irrlicht makefiles to allow cross-compilation, which I need for developing Windows executables on Linux.
I'm afraid that with an autoconf/automake system this capability/simplicity may be lost.
One of the advantages of Irrlicht for me has always been its simple build system. I was able to easily modify the Irrlicht makefiles to allow cross-compilation, which I need for developing Windows executables on Linux.
I'm afraid that with an autoconf/automake system this capability/simplicity may be lost.
-
pinballwizard
- Posts: 67
- Joined: Wed Aug 02, 2006 1:47 am
If I recall correctly, I had problems cross-compiling a statically-linked app, which required additional Makefile tweaks (I posted about this earlier).
I think the Irrlicht makefile currently allows cross-compilation from Linux to a Windows DLL for dynamic linking, but does it currently allow cross-compilation from Linux to a Windows static library? And most importantly, does that static library actually link without errors when compiling a standalone single-EXE Irrlicht application? I think I had problems with unresolved symbols when linking statically which required some chicanery to solve.
And finally, can the autoconf/automake support both dynamic and static lib cross-compilation targets?
I think the Irrlicht makefile currently allows cross-compilation from Linux to a Windows DLL for dynamic linking, but does it currently allow cross-compilation from Linux to a Windows static library? And most importantly, does that static library actually link without errors when compiling a standalone single-EXE Irrlicht application? I think I had problems with unresolved symbols when linking statically which required some chicanery to solve.
And finally, can the autoconf/automake support both dynamic and static lib cross-compilation targets?