![]() |
|
Allegro 4.2.1 compiler test |
Evert
Member #794
November 2000
![]() |
I already posted this on the mailinglist, but it can't hurt to post it again here. You can grab a pre-release copy of the archives from http://www.eglebbk.dds.nl/allegro/. Just in case there is any doubt, if your compiler is setup properly and more is required than Thanks. |
HoHo
Member #4,534
April 2004
![]() |
gcc version 4.1.1 (Gentoo 4.1.1) Some drivers will be built as dynamic modules.
Enabled modules: dga2 jackdigi fbcon vga ossmidi artsdigi esddigi alsamidi alsadigi ossdigi
Disabled modules: svgalib vbeaf sgialdigi
Generated code: multithreaded, little endian, i386 asm, MMX, SSE
Generated libraries: shared release
Compiled programs: dynamically linked release
Ignoring compiler warnings.
X11 support: enabled with: Xext Xpm Xcursor XShm XF86VidMode XDGA XIM
Linux console support: enabled
Compilation went fine without errors or warnings. At least I didn't see any warnings. Quote: Tests with binary compatibility would also be useful. What do you mean by that? Should I try to run allegro 4.2.0 programs using 4.2.1 .so's? __________ |
Evert
Member #794
November 2000
![]() |
Quote: What do you mean by that? Should I try to run allegro 4.2.0 programs using 4.2.1 .so's?
Yes. It should work, but best to check. |
Richard Phipps
Member #1,632
November 2001
![]() |
Is 4.2.1 mainly bug-fixes? |
HoHo
Member #4,534
April 2004
![]() |
Quote:
Yes. It should work, but best to check. OK I'll test it when I get home. I should not actually play around with allegro at work __________ |
ReyBrujo
Moderator
January 2001
![]() |
I did a ./configure --enable-dbglib=yes --enable-proflib=yes --enable-static=yes --enable-staticprog=yes, make and compiled for a while. However, it stopped with a Quote:
echo ought to run makeinfo --no-split -o docs/info/allegro.info docs/texi/allegro.texi Need to install it, but it seems it compiled everything without problem with Ubuntu (gcc 4.0.3) -- |
GullRaDriel
Member #3,861
September 2003
![]() |
In case you wanna know the error on a Window$ Xp Pro system, when launching any of the examples with the previous alleg42.dll, it crash saying that: {"name":"590080","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/0\/a0166b862a39f18459e460e4bc1d49e5.jpg","w":710,"h":119,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/0\/a0166b862a39f18459e460e4bc1d49e5"} Other than that, everything is working fine when using the new dll (just copied it from lib/mingw32 to examples/)
EDIT: compiles fine under windows when using dx8_mingw32 "Code is like shit - it only smells if it is not yours" |
MiquelFire
Member #3,110
January 2003
![]() |
Quote: src/win/wddraw.h:33:22: ddraw.h: No such file or directory Install the DirectX headers. --- |
GullRaDriel
Member #3,861
September 2003
![]() |
I was thinking so, and was doing the tips while you post ;-) I am not that dumb but thanks ;-D "Code is like shit - it only smells if it is not yours" |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Windows binaries are available for testing: http://www.allegro.cc/files/4.2.1-RC1/ The MSVC 8 binary has a new static runtime version (alleg_s_crt.lib) that will make distributing your Allegro applications a lot easier. Note that if you use it with add-on libraries, you'll have to compile them with the static runtime (/MT) switch. |
Evert
Member #794
November 2000
![]() |
Technically, it's RC2. RC1 was a while back but didn't go much beyond uploading and noticing that ithad some problems. |
kazzmir
Member #1,786
December 2001
![]() |
On revision 7511 on osx I got the following doing a sudo make uninstall. ... rm -f /Library/Documentation/Help/Allegro.bundle/* rmdir /Library/Documentation/Help/Allegro.bundle rmdir: /Library/Documentation/Help/Allegro.bundle: No such file or directory make: [uninstall] Error 1 (ignored) All gone!
|
juvinious
Member #5,145
October 2004
![]() |
Revsion 7511 osx(intel) I get the following on install: $ sudo make install Password: misc/mdhelper.sh /usr/local/lib /usr/local/include /usr/local/include/allegro /usr/local/include/allegro/platform /usr/local/include/allegro/internal /usr/local/include/allegro/inline /usr/local/bin install lib/macosx/liballeg-4.2.1.dylib /usr/local/lib (cd /usr/local/lib; ln -s -f liballeg-4.2.1.dylib liballeg-4.2.dylib) (cd /usr/local/lib; ln -s -f liballeg-4.2.1.dylib liballeg-4.dylib) (cd /usr/local/lib; ln -s -f liballeg-4.2.1.dylib liballeg.dylib) install -d /usr/local/lib install lib/macosx/liballeg-main.a /usr/local/lib ranlib /usr/local/lib/liballeg-main.a install -d /usr/local/bin allegro-config script created in /usr/local/bin make: *** No rule to make target `/usr/local/bin/fixbundle', needed by `generic-install'. Stop.
__________________________________________ |
Lokoci
Member #7,727
September 2006
|
Hi people!
|
Evert
Member #794
November 2000
![]() |
Quote: for this new release can be done [...]
No. Quote: a makefile for Windows/Watcom (not DOS/Watcom)? If someone makes one, sure, for 4.2.2 (say). But if no one volunteers to do it, it won't get done. EDIT |
juvinious
Member #5,145
October 2004
![]() |
Quote: I'm not sure about those MacOS X errors... I'll see if I can reproduduce and fix them on my laptop (didn't notice them before, but I may just have missed them). kazzmir mentioned that he just deleted the fixbundle target to get it to install, but that doesn't sound right. What does fixbundle do? __________________________________________ |
Evert
Member #794
November 2000
![]() |
Quote: kazzmir mentioned that he just deleted the fixbundle target to get it to install, but that doesn't sound right. No, it definately isn't. Quote: What does fixbundle do? I'm not exactly sure, as I've never used it myself. It's a tool that makes, or helps to make, an Application Bundle of your game+data. Beyond that, I don't know. EDIT: allegro/docs/build/macosx.txt said:
Allegro ships with a little tool, named fixbundle, which allows to build fixbundle executable_name This will create an application bundle named "executable_name.app" that fixbundle executable_name -m -o bundle_name -v "1.2" icon.bmp This creates a bundle named "bundle_name.app". The executable will be
|
Peter Hull
Member #1,136
March 2001
|
Kazzmir's error just meant that he didn't install the Apple help bundle, so there's nothing to delete. The makefile uses -rm to keep the makefile running, so it's only a cosmetic error. This is used elsewhere in the uninstall targets, too. To avoid the message, you can use code like this: Index: makefile.osx =================================================================== --- makefile.osx (revision 7519) +++ makefile.osx (working copy) @@ -272,8 +272,7 @@ | xargs -n 1 rm -f -sed -n -e "s,^@@\(struct\|typedef\).*@\([a-zA-Z0-9_]*\),$(MAN_DIR)/man3/\2.3,p" docs/src/allegro._tx \ | xargs -n 1 rm -f - -rm -f $(HELPBUNDLE)/* - -rmdir $(HELPBUNDLE) + @test -d $(HELPBUNDLE) && rm -fR $(HELPBUNDLE) || true @echo All gone! Is this worth modifying throughout? Pete
|
kazzmir
Member #1,786
December 2001
![]() |
I dont really care about it, honestly I only got into that situation becuase I was trying to reproduce the fixbundle problem. Do you know what the fix for that is? |
Peter Hull
Member #1,136
March 2001
|
I can't reproduce Juvinious's error, either from my SVN, a clean SVN checkout, or the latest version (the .tar.gz) from Evert's website. Can you confirm it, Evert? However I did see a deprecated warning for file_size, which I replaced with file_size_ex and committed. Pete
|
Evert
Member #794
November 2000
![]() |
Quote: Can you confirm it, Evert? Yes (iBook G4 running Tiger). The curious thing is that I can do sudo make install-fixbundle, which does install it correctly, after which make install works as it should. So whatever option depends on /usr/local/bin/fixbundle should probably depend on install-fixbundle instead... ? |
Peter Hull
Member #1,136
March 2001
|
Right, gotcha. The secondary problem was that uninstall doesn't remove fixbundle, and I forgot to check. So, make install never had to do any actual work to install it. Please test this patch to fix both issues. Pete
|
Evert
Member #794
November 2000
![]() |
I was just about to post a similar patch here (but just for the installation issue):
It's a bit different from yours in that it keeps fixbundle in the list of PROGRAMS, but removes the explicit dependency on install-fixbundle from the install target. Of course, it adds a /usr/local/bin/fixbundle: install-fixbundle rule, which is similar to the allegro-config rule. These follows the semantics of the other platform-specific makefiles, so I think it's the way to go. |
Peter Hull
Member #1,136
March 2001
|
Fine by me - can you breed some kind of mutant offspring of our two patches to fix both problems...? Pete [edit] Quote: r7458 | peterhull90 | 2006-08-11 15:31:19 -0400 (Fri, 11 Aug 2006) | 4 lines 1. Flags for Universal Binary support In the old days, fixbundle wasn't installed by default, you had to do it explicitly with sudo make install-fixbundle. That's why things are the way they are.
|
Evert
Member #794
November 2000
![]() |
Sure! Actually, this is probably closer to my previous patch than it is to yours:
I removed the explicit install-fixbundle target, which was only referenced by $(INSTALLDIR)/bin/fixbundle: anyway. This makes it consistent with the $(INSTALLDIR)/bin/allegro-config: rule, though I wonder if that maybe shouldn't reference a phony install-allegro-config target instead. |
|
|