![]() |
|
This thread is locked; no one can reply to it.
![]() ![]() |
1
2
|
Allegro 5.0.7 released! |
Peter Wang
Member #23
April 2000
|
http://sourceforge.net/projects/alleg/files/allegro/5.0.7/ Changes from 5.0.6 to 5.0.7 (June 2012) *************************************** The main developers this time were: Trent Gamblin, Elias Pschernig, Peter Wang. Core: * Fix ALLEGRO_STATIC_ASSERT collisions from different files included in the same translation unit. Reported by tobing. * Make al_ref_cstr, al_ref_ustr and al_ref_buffer return const ALLEGRO_USTR* instead of just an ALLEGRO_USTR* (Paul Suntsov). * Make al_ustr_empty_string const correct. * Fix many memory leak/warnings on MacOS X (Pär Arvidsson). * Fix typo preventing get_executable_name from using System V procfs correctly. Reported by Max Savenkov. Displays: * Add ALLEGRO_FRAMELESS as a preferred synonym for the confusing ALLEGRO_NOFRAME flag. * Rename al_toggle_display_flag to al_set_display_flag, retaining the older name for compatibility. * Set WM_NAME for some window managers (X11). Graphics: * Force al_create_bitmap to not create oversized bitmaps, to mitigate integer overflow problems. * Removed initial black frame on all Allegro programs. OpenGL: * Texture should be 'complete' (min/mag and wrap set) before glTexImage2D. * Fixed a bug in al_unlock_bitmap where the pixel alignment mistakenly was used as row length. * Fixed typo in names of some OpenGL extension functions. * Display list of OpenGL extensions in allegro.log also for OpenGL 3.0. Direct3D: * Fixed a bug in the D3D driver where separate alpha blending was being tested for when it shouldn't have been (Max Savenkov). Input: * Monitor /dev/input instead of /dev on Linux for hotplugging joysticks (Jon Rafkind). * Do not permanently change the locale for the X11 keyboard driver. Set LC_CTYPE only, not LC_ALL. Audio addon: * Fix desychronization due to inaccurate sample positions when resampling. Thanks to _Bnu for discovering the issue and Paul Suntsov for devising the correct solution. * Fix linear interpolation across audio stream buffer fragments. * Fix two minor memory leaks in the PulseAudio driver. Image I/O addon: * Improve compatibility of BMP loader. In particular, support bitmaps with V2-V5 headers and certain alpha bit masks. * Fix TGA loader using more memory than necessary. Reported by Max Savenkov. Font addon: * Use user set pixel format for fonts. Native dialogs addon: * Clear mouse state after dialogs or else it gets messed up (OSX). * Fix some warnings in gtk_dialog.c. * Wrap use of NSAlert so it can be run on the main thread with return value. Examples: * Add ex_resample_test. * ex_audio_props: Add bidir button. * ex_joystick_events: Support hotplugging and fix display of 3-axis sticks. * Add test_driver -no-display flag. (Tobias Hansen) Other: * Various documentation updates. * Other minor bug fixes. * Fix whatis entries of man pages. (Tobias Hansen)
MD5SUMS: 03a6762fc6760577339be7c07b3d17f9 allegro-5.0.7.7z e4ed66093edf45497f45411488dd82e6 allegro-5.0.7.tar.gz b60e9dd396010e9551949770d9191892 allegro-5.0.7.zip
|
Todd Cope
Member #998
November 2000
![]() |
Thanks, devs! I'm having one issue on OS X. Here is the error: Undefined symbols for architecture i386: "__al_mangled_main", referenced from: __al_mangled_main$non_lazy_ptr in liballegro_main-static.a(osx_main.m.o) (maybe you meant: __al_mangled_main$non_lazy_ptr) ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Undefined symbols for architecture ppc: "__al_mangled_main", referenced from: __al_mangled_main$non_lazy_ptr in liballegro_main-static.a(osx_main.m.o) (maybe you meant: __al_mangled_main$non_lazy_ptr) ld: symbol(s) not found for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//cclCujt1.out (No such file or directory) make[2]: *** [examples/ex_audio_chain] Error 1 make[1]: *** [examples/CMakeFiles/ex_audio_chain.dir/all] Error 2 make: *** [all] Error 2 Not sure what is causing the problem but it only happens on the C++ example. |
Michał Cichoń
Member #11,736
March 2010
|
Windows build is available: allegro-5.0.7-mingw-4.5.0.7z "God starts from scratch too" |
Peter Wang
Member #23
April 2000
|
Todd, can you confirm that ex_audio_chain is fixed if you change the main signature to: int main(int argc, char **argv) I wish I had thought of this yesterday. EDIT: actually, I'm certain that's what it is.
|
RPG Hacker
Member #12,492
January 2011
![]() |
I replaced the libraries in my Allegro 5.0.6 project and updated the paths in the Build Options. Now I'm getting a lot of undefined references in the Audio library: 1resources\libraries\allegro5\lib\liballegro_audio-5.0.7-static-mt-debug.a(openal.o)||In function `openal_open':|
2D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|82|undefined reference to `alGetError'|
3D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|85|undefined reference to `alcOpenDevice'|
4D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|88|undefined reference to `alcGetError'|
5D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|94|undefined reference to `alcCreateContext'|
6D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|96|undefined reference to `alcGetError'|
7D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|102|undefined reference to `alcMakeContextCurrent'|
8D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|104|undefined reference to `alcGetError'|
9D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|110|undefined reference to `alDistanceModel'|
10D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|111|undefined reference to `alGetError'|
11D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|118|undefined reference to `alGetString'|
12D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|119|undefined reference to `alGetString'|
13D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|120|undefined reference to `alGetString'|
14D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|121|undefined reference to `alGetString'|
15resources\libraries\allegro5\lib\liballegro_audio-5.0.7-static-mt-debug.a(openal.o)||In function `openal_close':|
16D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|131|undefined reference to `alGetError'|
17D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|132|undefined reference to `alcGetError'|
18D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|135|undefined reference to `alcMakeContextCurrent'|
19D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|136|undefined reference to `alcDestroyContext'|
20D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|137|undefined reference to `alcCloseDevice'|
21resources\libraries\allegro5\lib\liballegro_audio-5.0.7-static-mt-debug.a(openal.o)||In function `openal_update':|
22D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|171|undefined reference to `alSourcei'|
23D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|180|undefined reference to `alBufferData'|
24D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|184|undefined reference to `alSourceQueueBuffers'|
25D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|187|undefined reference to `alSourcePlay'|
26D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|209|undefined reference to `alGetSourcei'|
27D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|223|undefined reference to `alSourceUnqueueBuffers'|
28D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|224|undefined reference to `alBufferData'|
29D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|226|undefined reference to `alSourceQueueBuffers'|
30D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|228|undefined reference to `alGetSourcei'|
31D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|230|undefined reference to `alSourcePlay'|
32D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|234|undefined reference to `alSourceStop'|
33resources\libraries\allegro5\lib\liballegro_audio-5.0.7-static-mt-debug.a(openal.o)||In function `openal_load_voice':|
34D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|263|undefined reference to `alGenSources'|
35D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|264|undefined reference to `alGetError'|
36D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|272|undefined reference to `alDeleteSources'|
37D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|277|undefined reference to `alGenBuffers'|
38D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|278|undefined reference to `alGetError'|
39D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|279|undefined reference to `alDeleteSources'|
40D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|288|undefined reference to `alBufferData'|
41D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|292|undefined reference to `alSourcei'|
42D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|295|undefined reference to `alSourcei'|
43D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|299|undefined reference to `alSourcef'|
44D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|301|undefined reference to `alGetError'|
45D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|302|undefined reference to `alDeleteSources'|
46D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|303|undefined reference to `alDeleteBuffers'|
47resources\libraries\allegro5\lib\liballegro_audio-5.0.7-static-mt-debug.a(openal.o)||In function `openal_unload_voice':|
48D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|320|undefined reference to `alDeleteSources'|
49D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|321|undefined reference to `alDeleteBuffers'|
50D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|324|undefined reference to `alGetError'|
51resources\libraries\allegro5\lib\liballegro_audio-5.0.7-static-mt-debug.a(openal.o)||In function `openal_start_voice':|
52D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|339|undefined reference to `alSourcePlay'|
53D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|340|undefined reference to `alGetError'|
54D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|371|undefined reference to `alGenSources'|
55D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|372|undefined reference to `alGetError'|
56D:\Libraries\build\allegro\src\allegro-5.0.x\allegro-5.0.x\addons\audio\openal.c|377|undefined reference to `alDeleteSources'|
57||More errors follow but not being shown.|
58||Edit the max errors limit in compiler options...|
59||=== Build finished: 50 errors, 0 warnings ===|
Does anyone know what I'm doing wrong? Am I missing a file or something? I'm using MinGW 4.6.2, btw.
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
Is there an OpenAL library in the lib folder? |
RPG Hacker
Member #12,492
January 2011
![]() |
Matthew Leverton said: Is there an OpenAL library in the lib folder? Nope. But there wasn't one in the .7z-archive (I used the binaries here from Allegro.cc) either.
|
Michał Cichoń
Member #11,736
March 2010
|
There should be libopenal-1.14-static-mt.a. Can you check that? "God starts from scratch too" |
RPG Hacker
Member #12,492
January 2011
![]() |
Redownloaded 5.0.7 for MinGW 4.6.2 about an hour ago. No OpenAL library in there. :/
|
Todd Cope
Member #998
November 2000
![]() |
Peter Wang said: Todd, can you confirm that ex_audio_chain is fixed if you change the main signature to: int main(int argc, char **argv) That fixes it. |
RPG Hacker
Member #12,492
January 2011
![]() |
I just downloaded the ZIP version of the MinGW 4.6.2 archive and this one has the Open AL libraries in it, so it seems that only the 7z archives are missing it. However, I don't know where to put the Open AL library in the linker settings. This is my current setup: EDIT: EDIT:
|
Neil Walker
Member #210
April 2000
![]() |
^ this is why when people email me at work with problems I wait 3 hours and usually the problem is fixed without stopping me from doing useful stuff like drinking coffee, talking to people or browsing Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
RPG Hacker
Member #12,492
January 2011
![]() |
Neil Walker said: ^ this is why when people email me at work with problems I wait 3 hours and usually the problem is fixed without stopping me from doing useful stuff like drinking coffee, talking to people or browsing Normally I wait a little longer before asking questsions myself, but I swear I looked through the folder two or three times and didn't see the Open AL library in it until I downloaded the ZIP version.
|
Arthur Kalliokoski
Second in Command
February 2005
![]() |
RPG Hacker said: Normally I wait a little longer before asking questsions myself, but I swear I looked through the folder two or three times and didn't see the Open AL library in it until I downloaded the ZIP version. If I'm looking at a large folder, I just open a command prompt and do a "ls | grep -i fragment_of_a_name_im_looking_for" instead of trying to find it by skimming. Yes I know you can use wildcards directly with some flags. They all watch too much MSNBC... they get ideas. |
Matthew Leverton
Supreme Loser
January 1999
![]() |
In the context of tech support, when people give me direct answers to direct questions, I don't believe them. |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Matthew Leverton said: In the context of tech support, when people give me direct answers to direct questions, I don't believe them. Hmm, maybe I should take that to heart, and question the answer I got from you earlier -- |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
Since I'm fiddling with python for the moment, I checked the WANT_PYTHON thing in the cmake gui and built it. This is my result for python pepsi@fractal:/home/prog/allegro-5.0.7/build/python 03:13 PM $ python allegro.py os name posix Cannot find function al_draw_tinted_scaled_rotated_bitmap_region Cannot find function al_get_parent_bitmap Cannot find function al_set_display_flag Python version is pepsi@fractal:~ 01:25 AM $ python Python 2.6.6 (r266:84292, Nov 27 2010, 17:27:14) [GCC 4.5.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. > I added the 'print "os name " + os.name" myself just to make sure it was something sensible. I'm not worried about it, I wouldn't make a game in python anyway, just curious. They all watch too much MSNBC... they get ideas. |
J-Gamer
Member #12,491
January 2011
![]() |
Have you copied the libraries to the right location? AFAIK, make install doesn't do that. " There are plenty of wonderful ideas in The Bible, but God isn't one of them." - Derezo |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
I've got a huge mess in /usr/local/lib that looks like this (small sample) -rwxr-xr-x 1 root root 4710193 Aug 25 2011 liballegro-debug.so.5.1.0 so I'd guess they are. I did issue an ldconfig btw. [EDIT] Well I copied a python OOP example off the web, and when I added one more instance it crashes. Ghod, even Borland could do better than that! (except for not finding out how bad it was before writing 70K sourcecode programs). I want my 24 hours back. [EDIT2] I added this tiny little OOP program into the paperclip if anybody wants to play with it. They all watch too much MSNBC... they get ideas. |
J-Gamer
Member #12,491
January 2011
![]() |
I mean the libs/includes you get in build/python. Did you copy them to your python system folder?(ps: I don't inow the exact location they should be, you might want to read the python readme file) " There are plenty of wonderful ideas in The Bible, but God isn't one of them." - Derezo |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
Python was included in the distro, and I've been using blender all this time with no problems. I'm glad the blender addon devs know all the painful workarounds to make their little toy language work. They all watch too much MSNBC... they get ideas. |
J-Gamer
Member #12,491
January 2011
![]() |
I wasn't talking about the readme on how to use python, I was talking about the readme on the python part of allegro. There are instructions on which files you need to copy where to make it work. " There are plenty of wonderful ideas in The Bible, but God isn't one of them." - Derezo |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
I've once again decided not to use Python (happens every couple years when I try it anyway), in spite of all those programming jobs on Craigslist that I see while looking for a job. It would also be somewhat handy to have an export option to output what I need directly instead of making a C version to read the OBJ files that Blender can export with .py files (not that they work half the time anyway). So I'm all better now and don't care about allegro and python. They all watch too much MSNBC... they get ideas. |
Gnamra
Member #12,503
January 2011
![]() |
Will the allegro-5.0.7-msvc-10.0.7z work on msvc-12? I'm guessing no, if that's the case then I'll have to use the msvc12 compiler to compile allegro 5?
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
Try it out. I'm sure you have the 5 minutes to check. The shared libs are more likely to work than the static ones, I would think. |
|
1
2
|