Allegro 4.9.5
Peter Wang

... is released. Download.

Quote:

Changes from 4.9.4 to 4.9.5 (October 2008)
==========================================

The core developers this time were: Trent Gamblin, Evert Glebbeek, Peter Hull,
Milan Mimica, Elias Pschernig, Jon Rafkind, Peter Wang.

Graphics:

- Added fullscreen support on Mac OS X.

- Added support for resizable windows on Mac OS X.

- Made frameless windows respond to events on Mac OS X.

- Fixed a problem with D3D blending.

- Made D3D driver work on systems without hardware vertex processing.

- Made WGL driver fail more gracefully.

- Implemented sprite flipping for OpenGL drivers (Steven Wallace).

- Added al_is_sub_bitmap() function.

Input:

- Fixed input with multiple windows on Windows.

- Fixed keyboard autorepeat events in X11.

- Added al_is_keyboard_installed().

- Fixed key shifts on Windows (ported from 4.2).

- Fixed mouse button reporting on Mac OS X.

- Implemented system mouse cursors on MacOS X.

- Fixed mouse cursors with alpha channels on X11.

- Some work on Mac OS X joystick support (incomplete).

Events:

- Simplified internals of events system further. At the same time,
this change happens to also allow event queues to grow unboundedly.
(You should still avoid letting them get too big, of course.)

Audio addons:

- Made ALLEGRO_STREAM objects emit events for empty fragments that need
to be refilled.

- Added a possiblity to drain a stream created by al_stream_from_file().

- Added a function to rewind a stream.

- Added gain support to ALLEGRO_STREAM and ALLEGRO_SAMPLE objects.

- Made it possible to attach a sample to a mixer that isn't already attached
to something.

- Fixed Ogg Vorbis loader on big-endian systems.

- Made the OpenAL driver the least preferred driver, as it doesn't play
stereo samples properly.

Image addons:

- Added JPEG support to iio addon, using libjpeg.

- Fixed TGA loader on big-endian systems.

- Fixed image loading in icodec addon.

Font addon:

- Fixed count-restricted text output functions calculations on non-ASCII
strings.

- Made al_textout* functions always a 'count' parameter.

- Renamed al_font_text_length* to al_font_text_width*.

- Harmonised the order of al_font_textout* and al_font_textprintf* arguments.

Examples:

- Added ex_bitmap_flip example (Steven Wallace).

- Added ex_mixer_chain example.

- Split ex_events into smaller examples.

- Made the demo use ALLEGRO_STREAM to play music.

- Build an app bundle from the demo, on Mac OS X.

Build system:

- Improved detection of external dependencies in CMake build.

- Guess compiler locations for MinGW and MSVC (CMake).

- Many improvements to scons build, including install support.

General:

- Many other bug fixes.

nonnus29

Holy crap, wasn't there a release a few weeks ago? Who's doing all this work? ???

SiegeLord
Quote:

- Simplified internals of events system further. At the same time,
this change happens to also allow event queues to grow unboundedly.
(You should still avoid letting them get too big, of course.)

Does this now mean if you put your Logic and Drawing functions inside the Allegro timer event, and those force it to run slower than the speed of the timer (thus preventing all of the timer events from being eaten up) the event queue will fill up indefinitely causing massive memory 'leaks'?

torhu

Anyone know if it builds with msvc 9?

Peter Wang

Yes, including the quotes on the 'leaks'. I guess if you're worried about that you should try to detect if you're falling behind massively (e.g. compare the timestamp on the event you're processing with al_current_time()) and abort.

SiegeLord
Quote:

Yes, including the quotes on the 'leaks'. I guess if you're worried about that you should try to detect if you're falling behind massively (e.g. compare the timestamp on the event you're processing with al_current_time()) and abort.

Or just not use that abortive timing method in the first place ;)

Anyway, great job A5 devs.

Milan Mimica
Quote:

Anyone know if it builds with msvc 9?

It does.

GullRaDriel

NICE !
That time I will crash my head on it to make it work !

torhu

Doesn't build with msvc 9 for me.

I haven't looked into it, but here's the start of the error messages I get:

Quote:

Compiling...
wgl_disp.c
C:\prog\allegro-4.9.5\include\allegro5/events.h(165) : error C2059: syntax error : ';'
C:\prog\allegro-4.9.5\include\allegro5/events.h(166) : error C2059: syntax error : '}'
C:\prog\allegro-4.9.5\include\allegro5/events.h(172) : error C2059: syntax error : ';'
C:\prog\allegro-4.9.5\include\allegro5/events.h(175) : error C2059: syntax error : '}'

Milan Mimica

Sorry for that, it slipped. To make it compile you can remove the semicolon from each call to _AL_EVENT_HEADER macro in include/allegro5/events.h.

ImLeftFooted

I counldn't get it installed. I've got Dev-Cpp 4.9.9.2 installed on a fully updated Windows XP.

Here is cmake's error

Detecting CXX compiler ABI info - done
Guessed MinGW directory: C:/Dev-Cpp
Performing Test HAVE_DM_POSITION
Performing Test HAVE_DM_POSITION - Failed
CMake Error at CMakeLists.txt:195 (message):
  Missing DM_POSITION.  Please update your MinGWw32api package, delete
  CMakeCache.txt and try again.

I downloaded the latest binary release from mingw and told cmake to use that compiler. Cmake said the compiler wouldn't pass a simple test.

I'm a bit worn out from downloading and installing so many packages, I need a break and then I'll try again.

Thomas Fjellstrom

Did you follow the instructions provided in that error message? It said to update just the w32api package. Get the absolute latest w32api package and extract it over your current compiler directory.

Thomas Harte

What's the deal with providing an Xcode project, then claiming that it doesn't exist in the readme?

GullRaDriel

I got some strange errors too using mingw32 and cmake on WinXP Pro SP3.
I downloaded the dx9 package from Trent's site.
It's crashing due to a syntax error after asm, ; = + ...
I'am still searching why.

Edit:

log output said:

D:\DOCUME~1\GULL_C~1\Bureau\allegro-4.9.5\allegro\include/allegro5/internal/alconfig.h:35:42: erreur: allegro5
/platform/alplatf.h : No such file or directory

Edit2:
-There is a alplatf.h.cmake instead.
Edit3:
-I edited it, commented all the unnecessary stuff, reconfiguring, regenerating makefiles, and mind what, it's currently compiling ! (20% done)
Edit4:
Still Failing !

1Linking CXX executable demo.exe
2Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
3Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
4Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
5Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
6[ 80%] Built target demo
7Scanning dependencies of target ex_acodec
8[ 80%] Building C object examples/CMakeFiles/ex_acodec.dir/ex_acodec.c.obj
9Linking C executable ex_acodec.exe
10Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
11Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
12Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
13Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized
14..\lib\libkcm_audio_s.a(dsound.cpp.obj):dsound.cpp:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
15..\lib\liballeg_s-4.9.5.a(d3d_disp.cpp.obj):d3d_disp.cpp:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
16..\lib\liballeg_s-4.9.5.a(d3d_bmp.cpp.obj):d3d_bmp.cpp:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
17collect2: ld a retournÚ 1 code d'Útat d'exÚcution
18mingw32-make[2]: *** [examples/ex_acodec.exe] Error 1
19mingw32-make[1]: *** [examples/CMakeFiles/ex_acodec.dir/all] Error 2
20mingw32-make: *** [all] Error 2

Milan Mimica

cmake should have generated alplatf.h, if ti didn't likely there was an error.

Looks like c++ is missing.

GullRaDriel

Well, I can ensure you that g++ is present. I got the full mingw32 package.

Peter Wang
Quote:

What's the deal with providing an Xcode project, then claiming that it doesn't exist in the readme?

It's only a go-between while we didn't have a proper build solution for Macs. It will probably be deleted soon. Instead, you can use cmake to generate an Xcode project. The difference is cmake will detect external dependencies on your system.

GullRaDriel
Peter said:

The difference is cmake will fail to detect external dependencies on your system.

Fixed

Peter Wang

Works For Me. And that's all that matters.

torhu

Still doesn't build with msvc 9, linking errors now. I'll try again when the next release is ready.

Evert
Quote:

Fixed

Try to be constructive.

If cmake is for some reason not working properly on your system, it likely has something to do with your system (because it does work for others). Doesn't mean we shouldn't get it fixed. Did you check if you have the latest version of CMake?

Quote:

What's the deal with providing an Xcode project, then claiming that it doesn't exist in the readme?

Does it even work properly? I couldn't build Allegro [4.9] at all on my Mac until CMake worked there (ok, so I probably have some dependencies installed in odd places).

Quote:

Still doesn't build with msvc 9, linking errors now. I'll try again when the next release is ready.

We have a better chance of fixing said linking errors if you tell us what they are. ;)

FalseMasterJ

I using mac osx 10.4, With it's default Xcode gcc compiler, and I'm trying to compile Allegro 4.9.5 with the newest version of scons (because I get more errors with Cmake)

It only detects the library png and library jpeg add-on things at the top (makes scene, since I only have those two)

It compiles alright but has a linker end when it's trying to link together liballeg-4.9.5.dylib

1ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4
2ld: Undefined symbols:
3__mangled_main_address
4__al_ogl_add_drawing_functions
5__al_ogl_create_backbuffer
6__al_ogl_create_bitmap
7__al_ogl_create_sub_bitmap
8__al_ogl_get_backbuffer
9__al_ogl_manage_extensions
10__al_ogl_resize_backbuffer
11__al_ogl_set_extensions
12__al_ogl_set_target_bitmap
13__al_ogl_unmanage_extensions
14/usr/bin/libtool: internal link edit command failed
15scons: *** [scons_build/release/liballeg-4.9.5.dylib] Error 1
16scons: building terminated because of errors.

Am I missing OpenGL or something?

p.s. If this is the wrong place to post this, sorry.

Evert
Quote:

I using mac osx 10.4, With it's default Xcode gcc compiler, and I'm trying to compile Allegro 4.9.5 with the newest version of scons (because I get more errors with Cmake)

I've never tried Scons, but I can tell you that it works for me with CMake on essentially the same system.
So please post the error that you get from CMake. I don't think anyone has tried Scons on OS X.

(Aside: it might be useful if the developers can post what systems we have all used to test and compile Allegro, so that people know what has been tested/should work? It will likely help in finding and fixing bugs).

Quote:

Am I missing OpenGL or something?

No, I don't think so. It looks like it's not passing proper compiler switches to libtool, but I have no idea.

Quote:

p.s. If this is the wrong place to post this, sorry.

This is exactly the right place to post this.

kazzmir
Quote:

I using mac osx 10.4, With it's default Xcode gcc compiler, and I'm trying to compile Allegro 4.9.5 with the newest version of scons (because I get more errors with Cmake)

I've only gotten preliminary support for OSX with scons right now (and Windows too). I'll get around to fixing the linker errors some day, but if you'd like to help out you could hack the scons files to add in the proper linking lines. It probably involves seeing how xcode does things.

Thomas Harte
Quote:

Quote:

What's the deal with providing an Xcode project, then claiming that it doesn't exist in the readme?

Does it even work properly?

After I manually removed all the OGG links and commented out the definition of ALLEGRO_CFG_ACODEC_VORBIS in aintern_acodec_cfg.h it built libAllegro-4.9.a and ex_bitmap. I had to manually shuffle files around to test that ex_bitmap worked since the project build a UNIX-style executable (YUCK!) and puts it where it cann't find Mysha.

My natural assumption with anything like this is that I'm probably doing it incorrectly. It's obviously really hard to tell when there is no documentation (well, other than "We provide two build systems, CMake and scons.").

Oh yeah, 36 unused variables warnings, by the way.

Dennis
Here's my (failed) build report: System is: Windows XP Pro (64bit edition), using VS2005 Pro. Output of cmake: F:\devel_sdks\all495\allegro>cmake -G "Visual Studio 8 2005" -DGRADE_DEBUG=on -DGRADE_STANDARD=off -- Check for working C compiler: cl -- Check for working C compiler: cl -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: cl -- Check for working CXX compiler: cl -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Guessed MSVC directory: cl -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - not found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for include files ALLEGRO_HAVE_DIRENT_H -- Looking for include files ALLEGRO_HAVE_DIRENT_H - not found. -- Looking for include files ALLEGRO_HAVE_INTTYPES_H -- Looking for include files ALLEGRO_HAVE_INTTYPES_H - not found. -- Looking for include files ALLEGRO_HAVE_LINUX_JOYSTICK_H -- Looking for include files ALLEGRO_HAVE_LINUX_JOYSTICK_H - not found. -- Looking for include files ALLEGRO_HAVE_STDBOOL_H -- Looking for include files ALLEGRO_HAVE_STDBOOL_H - not found. -- Looking for include files ALLEGRO_HAVE_STDINT_H -- Looking for include files ALLEGRO_HAVE_STDINT_H - not found. -- Looking for include files ALLEGRO_HAVE_SYS_IO_H -- Looking for include files ALLEGRO_HAVE_SYS_IO_H - not found. -- Looking for include files ALLEGRO_HAVE_SYS_STAT_H -- Looking for include files ALLEGRO_HAVE_SYS_STAT_H - found -- Looking for include files ALLEGRO_HAVE_SYS_TIME_H -- Looking for include files ALLEGRO_HAVE_SYS_TIME_H - not found. -- Looking for include files ALLEGRO_HAVE_SYS_UTSNAME_H -- Looking for include files ALLEGRO_HAVE_SYS_UTSNAME_H - not found. -- Looking for include files ALLEGRO_HAVE_SOUNDCARD_H -- Looking for include files ALLEGRO_HAVE_SOUNDCARD_H - not found. -- Looking for include files ALLEGRO_HAVE_SYS_SOUNDCARD_H -- Looking for include files ALLEGRO_HAVE_SYS_SOUNDCARD_H - not found. -- Looking for include files ALLEGRO_HAVE_MACHINE_SOUNDCARD_H -- Looking for include files ALLEGRO_HAVE_MACHINE_SOUNDCARD_H - not found. -- Looking for include files ALLEGRO_HAVE_LINUX_SOUNDCARD_H -- Looking for include files ALLEGRO_HAVE_LINUX_SOUNDCARD_H - not found. -- Looking for getexecname -- Looking for getexecname - not found -- Looking for mkstemp -- Looking for mkstemp - not found -- Looking for mmap -- Looking for mmap - not found -- Looking for mprotect -- Looking for mprotect - not found -- Looking for sched_yield -- Looking for sched_yield - not found -- Looking for stricmp -- Looking for stricmp - found -- Looking for strlwr -- Looking for strlwr - found -- Looking for strupr -- Looking for strupr - found -- Looking for sysconf, -- Looking for sysconf, - not found -- Check size of _Bool -- Check size of _Bool - failed -- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV -- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed -- Performing Test ALLEGRO_HAVE_SV_PROCFS_H -- Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed -- Check if constructors are supported - no -- Could NOT find D3D9 (missing: D3D9_INCLUDE_DIR D3D9_LIBRARY) -- Could NOT find DSOUND (missing: DSOUND_INCLUDE_DIR DSOUND_LIBRARY) -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) -- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) -- kcm_audio wanted but no supported backend found -- Could NOT find FLAC (missing: FLAC_INCLUDE_DIR FLAC_LIBRARY) -- Could NOT find VORBIS (missing: VORBIS_INCLUDE_DIR OGG_LIBRARY VORBIS_LIBRARY VORBIS_LIBRARY) -- Could NOT find SNDFILE (missing: SNDFILE_INCLUDE_DIR SNDFILE_LIBRARY) -- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) -- Configuring done -- Generating done -- Build files have been written to: F:/devel_sdks/all495/allegro After settings those missing variables for D3D9 and DSOUND (I assumed they were supposed to be environment variables), I still got the same "Could NOT find..." messages on D3D9 and DSOUND: F:\devel_sdks\all495\allegro>set D3D9_INCLUDE_DIR=f:\devel_sdks\dxAug2008\Include F:\devel_sdks\all495\allegro>set DSOUND_INCLUDE_DIR=f:\devel_sdks\dxAug2008\Include F:\devel_sdks\all495\allegro>set D3D9_LIBRARY=f:\devel_sdks\dxAug2008\Lib\d3d9.lib F:\devel_sdks\all495\allegro>set DSOUND_LIBRARY=f:\devel_sdks\dxAug2008\Lib\dsound.lib F:\devel_sdks\all495\allegro>cmake -G "Visual Studio 8 2005" -DGRADE_DEBUG=on -DGRADE_STANDARD=off -- Guessed MSVC directory: cl -- Could NOT find D3D9 (missing: D3D9_INCLUDE_DIR D3D9_LIBRARY) -- Could NOT find DSOUND (missing: DSOUND_INCLUDE_DIR DSOUND_LIBRARY) -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) -- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) -- kcm_audio wanted but no supported backend found -- Could NOT find FLAC (missing: FLAC_INCLUDE_DIR FLAC_LIBRARY) -- Could NOT find VORBIS (missing: VORBIS_INCLUDE_DIR OGG_LIBRARY VORBIS_LIBRA RY VORBIS_LIBRARY) -- Could NOT find SNDFILE (missing: SNDFILE_INCLUDE_DIR SNDFILE_LIBRARY) -- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) -- Configuring done -- Generating done -- Build files have been written to: F:/devel_sdks/all495/allegro F:\devel_sdks\all495\allegro> I opened the solution file anyway and hit "build solution", which after correcting the ; in events.h as mentioned by Milan Mimica earlier in this thread, still gave me a few errors and warnings: [img http://www.allegro.cc/files/attachment/596603] Full build log: 1>------ Erstellen gestartet: Projekt: ZERO_CHECK, Konfiguration: Debug Win32 ------ 1>Checking Build System 1>CMake does not need to re-run because CMakeFiles/generate.stamp is up-to-date. 1>CMake does not need to re-run because addons/CMakeFiles/generate.stamp is up-to-date. 1>CMake does not need to re-run because addons/iio/CMakeFiles/generate.stamp is up-to-date. 1>CMake does not need to re-run because addons/font/CMakeFiles/generate.stamp is up-to-date. 1>CMake does not need to re-run because addons/kcm_audio/CMakeFiles/generate.stamp is up-to-date. 1>CMake does not need to re-run because addons/acodec/CMakeFiles/generate.stamp is up-to-date. 1>CMake does not need to re-run because examples/CMakeFiles/generate.stamp is up-to-date. 1>CMake does not need to re-run because docs/CMakeFiles/generate.stamp is up-to-date. 1>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\ZERO_CHECK.dir\Debug\BuildLog.htm" gespeichert. 1>ZERO_CHECK - 0 Fehler, 0 Warnung(en) 2>------ Erstellen gestartet: Projekt: allegd_shared, Konfiguration: Debug Win32 ------ 3>------ Erstellen gestartet: Projekt: allegd_static, Konfiguration: Debug Win32 ------ 4>------ Erstellen gestartet: Projekt: a5_fontd_static, Konfiguration: Debug Win32 ------ 5>------ Erstellen gestartet: Projekt: a5_iiod_static, Konfiguration: Debug Win32 ------ 4>Kompilieren... 5>Kompilieren... 3>Kompilieren... 2>Kompilieren... 4>font.c 5>bmp.c 3>allegro.c 2>wgl_disp.c 3>wgl_disp.c 5>tga.c 4>text.c 2>ogl_display.c 5>pcx.c 4>readfont.c 3>ogl_display.c 2>ogl_draw.c 5>iio.c 4>fontbmp.c 3>ogl_draw.c 2>ogl_bitmap.c 5>Generating Code... 5>Bibliothek wird erstellt... 4>Generating Code... 4>Bibliothek wird erstellt... 5>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\addons\iio\a5_iiod_static.dir\Debug\BuildLog.htm" gespeichert. 5>a5_iiod_static - 0 Fehler, 0 Warnung(en) 3>ogl_bitmap.c 2>extensions.c 4>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\addons\font\a5_fontd_static.dir\Debug\BuildLog.htm" gespeichert. 4>a5_fontd_static - 0 Fehler, 0 Warnung(en) 3>extensions.c 2>wxthread.c 3>wxthread.c 2>wtime.c 3>wtime.c 2>wthread.c 3>wthread.c 2>wnewwin.c 3>wnewwin.c 2>wnewsys.c 3>wnewsys.c 2>wmouse.c 3>wmouse.c 2>wmcursor.c 3>wmcursor.c 2>wkeybdnu.c 3>wkeybdnu.c 2>wjoydxnu.c 3>wjoydxnu.c 2>wjoydrv.c 3>wjoydrv.c 2>winput.c 3>winput.c 2>wfile.c 3>wfile.c 2>wddraw.c 3>wddraw.c 2>vector.c 3>vector.c 2>unicode.c 3>Generating Code... 2>Generating Code... 3>Compiling... 3>unicode.c 2>Compiling... 2>tls.c 3>tls.c 2>timernu.c 3>timernu.c 2>threads.c 3>threads.c 2>system_new.c 3>system_new.c 2>rotate.c 3>rotate.c 2>pixels.c 3>pixels.c 2>mousenu.c 3>mousenu.c 2>memory.c 3>memory.c 2>memdraw.c 3>memdraw.c 2>memblit3.c 3>memblit3.c 2>memblit2.c 3>memblit2.c 2>memblit1.c 3>memblit1.c 2>memblit.c 3>memblit.c 2>math.c 3>math.c 2>lzss.c 3>lzss.c 2>libc.c 3>libc.c 2>keybdnu.c 3>keybdnu.c 2>joynu.c 3>joynu.c 2>inline.c 3>inline.c 2>graphics.c 3>Generating Code... 2>Generating Code... 3>Compiling... 3>graphics.c 2>Compiling... 2>file.c 3>file.c 2>evtsrc.c 3>evtsrc.c 2>events.c 3>events.c 2>.\src\events.c(63) : warning C4101: 'i' : unreferenced local variable 2>.\src\events.c(94) : warning C4101: 'event' : unreferenced local variable 2>dtor.c 3>.\src\events.c(63) : warning C4101: 'i' : unreferenced local variable 3>.\src\events.c(94) : warning C4101: 'event' : unreferenced local variable 3>dtor.c 2>display_new.c 3>display_new.c 2>convert.c 3>convert.c 2>config.c 3>config.c 2>blenders.c 3>blenders.c 2>bitmap_new.c 3>bitmap_new.c 2>allegro.c 3>Generating Code... 2>Generating Code... 3>Bibliothek wird erstellt... 2>Manifest in Ressourcen wird kompiliert... 2>Verknüpfen... 2>allegro.def : error LNK2001: unresolved external symbol _al_release_event 2>allegro.def : error LNK2001: unresolved external symbol al_d3d_get_device 2>allegro.def : error LNK2001: unresolved external symbol al_d3d_get_hwnd 2>allegro.def : error LNK2001: unresolved external symbol al_d3d_get_system_texture 2>allegro.def : error LNK2001: unresolved external symbol al_d3d_get_video_texture 2>allegro.def : error LNK2001: unresolved external symbol al_d3d_supports_non_pow2_textures 2>allegro.def : error LNK2001: unresolved external symbol al_d3d_supports_non_square_textures 2>F:\devel_sdks\all495\allegro\lib\Debug\allegd-4.9.5.lib : fatal error LNK1120: 7 unresolved externals 3>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\allegd_static.dir\Debug\BuildLog.htm" gespeichert. 3>allegd_static - 0 Fehler, 2 Warnung(en) 2>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\allegd_shared.dir\Debug\BuildLog.htm" gespeichert. 2>allegd_shared - 8 Fehler, 2 Warnung(en) 6>------ Erstellen gestartet: Projekt: ex_resize, Konfiguration: Debug Win32 ------ 7>------ Erstellen gestartet: Projekt: ex_monitorinfo, Konfiguration: Debug Win32 ------ 8>------ Erstellen gestartet: Projekt: ex_lockscreen, Konfiguration: Debug Win32 ------ 8>Kompilieren... 7>Kompilieren... 6>Kompilieren... 8>ex_lockscreen.c 7>ex_monitorinfo.c 6>ex_resize.c 8>Manifest in Ressourcen wird kompiliert... 6>Manifest in Ressourcen wird kompiliert... 7>Manifest in Ressourcen wird kompiliert... 8>Verknüpfen... 7>Verknüpfen... 6>Verknüpfen... 8>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_lockscreen.exe not found or not built by the last incremental link; performing full link 7>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_monitorinfo.exe not found or not built by the last incremental link; performing full link 6>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_resize.exe not found or not built by the last incremental link; performing full link 8>Das Manifest wird eingebettet... 6>Das Manifest wird eingebettet... 7>Das Manifest wird eingebettet... 9>------ Erstellen gestartet: Projekt: a5_iiod_shared, Konfiguration: Debug Win32 ------ 9>Kompilieren... 8>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_lockscreen.dir\Debug\BuildLog.htm" gespeichert. 8>ex_lockscreen - 0 Fehler, 0 Warnung(en) 9>tga.c 7>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_monitorinfo.dir\Debug\BuildLog.htm" gespeichert. 7>ex_monitorinfo - 0 Fehler, 0 Warnung(en) 6>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_resize.dir\Debug\BuildLog.htm" gespeichert. 6>ex_resize - 0 Fehler, 0 Warnung(en) 10>------ Erstellen gestartet: Projekt: ex_lines, Konfiguration: Debug Win32 ------ 11>------ Erstellen gestartet: Projekt: ex_drawpixels, Konfiguration: Debug Win32 ------ 10>Kompilieren... 11>Kompilieren... 10>ex_lines.c 11>ex_drawpixels.c 9>pcx.c 12>------ Erstellen gestartet: Projekt: ex_winfull, Konfiguration: Debug Win32 ------ 12>Kompilieren... 10>Manifest in Ressourcen wird kompiliert... 11>Manifest in Ressourcen wird kompiliert... 10>Verknüpfen... 11>Verknüpfen... 10>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_lines.exe not found or not built by the last incremental link; performing full link 11>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_drawpixels.exe not found or not built by the last incremental link; performing full link 12>ex_winfull.c 9>iio.c 10>Das Manifest wird eingebettet... 11>Das Manifest wird eingebettet... 12>Manifest in Ressourcen wird kompiliert... 12>Verknüpfen... 10>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_lines.dir\Debug\BuildLog.htm" gespeichert. 10>ex_lines - 0 Fehler, 0 Warnung(en) 11>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_drawpixels.dir\Debug\BuildLog.htm" gespeichert. 11>ex_drawpixels - 0 Fehler, 0 Warnung(en) 13>------ Erstellen gestartet: Projekt: ex_scale, Konfiguration: Debug Win32 ------ 12>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_winfull.exe not found or not built by the last incremental link; performing full link 13>Kompilieren... 13>ex_scale.c 9>bmp.c 12>Das Manifest wird eingebettet... 12>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_winfull.dir\Debug\BuildLog.htm" gespeichert. 12>ex_winfull - 0 Fehler, 0 Warnung(en) 14>------ Erstellen gestartet: Projekt: ex_resize2, Konfiguration: Debug Win32 ------ 9>Generating Code... 14>Kompilieren... 13>Manifest in Ressourcen wird kompiliert... 13>Verknüpfen... 14>ex_resize2.c 9>Manifest in Ressourcen wird kompiliert... 13>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_scale.exe not found or not built by the last incremental link; performing full link 9>Verknüpfen... 9>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\allegd-4.9.5.lib' 9>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\addons\iio\a5_iiod_shared.dir\Debug\BuildLog.htm" gespeichert. 9>a5_iiod_shared - 1 Fehler, 0 Warnung(en) 15>------ Erstellen gestartet: Projekt: ex_multiwin, Konfiguration: Debug Win32 ------ 15>Kompilieren... 15>ex_multiwin.c 13>Das Manifest wird eingebettet... 16>------ Erstellen gestartet: Projekt: ex_mouse_events, Konfiguration: Debug Win32 ------ 16>Kompilieren... 16>ex_mouse_events.c 14>Manifest in Ressourcen wird kompiliert... 14>Verknüpfen... 14>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_resize2.exe not found or not built by the last incremental link; performing full link 13>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_scale.dir\Debug\BuildLog.htm" gespeichert. 13>ex_scale - 0 Fehler, 0 Warnung(en) 15>Manifest in Ressourcen wird kompiliert... 15>Verknüpfen... 15>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_multiwin.exe not found or not built by the last incremental link; performing full link 14>Das Manifest wird eingebettet... 16>Manifest in Ressourcen wird kompiliert... 16>Verknüpfen... 16>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_mouse_events.exe not found or not built by the last incremental link; performing full link 17>------ Erstellen gestartet: Projekt: ex_mouse, Konfiguration: Debug Win32 ------ 17>Kompilieren... 15>Das Manifest wird eingebettet... 14>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_resize2.dir\Debug\BuildLog.htm" gespeichert. 14>ex_resize2 - 0 Fehler, 0 Warnung(en) 17>ex_mouse.c 16>Das Manifest wird eingebettet... 15>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_multiwin.dir\Debug\BuildLog.htm" gespeichert. 15>ex_multiwin - 0 Fehler, 0 Warnung(en) 18>------ Erstellen gestartet: Projekt: ex_lockbitmap, Konfiguration: Debug Win32 ------ 18>Kompilieren... 18>ex_lockbitmap.c 19>------ Erstellen gestartet: Projekt: ex_noframe, Konfiguration: Debug Win32 ------ 19>Kompilieren... 16>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_mouse_events.dir\Debug\BuildLog.htm" gespeichert. 16>ex_mouse_events - 0 Fehler, 0 Warnung(en) 20>------ Erstellen gestartet: Projekt: ex_icon, Konfiguration: Debug Win32 ------ 19>ex_noframe.c 17>Manifest in Ressourcen wird kompiliert... 20>Kompilieren... 17>Verknüpfen... 17>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_mouse.exe not found or not built by the last incremental link; performing full link 20>ex_icon.c 18>Manifest in Ressourcen wird kompiliert... 18>Verknüpfen... 18>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_lockbitmap.exe not found or not built by the last incremental link; performing full link 17>Das Manifest wird eingebettet... 19>Manifest in Ressourcen wird kompiliert... 19>Verknüpfen... 19>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_noframe.exe not found or not built by the last incremental link; performing full link 20>Manifest in Ressourcen wird kompiliert... 20>Verknüpfen... 17>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_mouse.dir\Debug\BuildLog.htm" gespeichert. 17>ex_mouse - 0 Fehler, 0 Warnung(en) 20>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_icon.exe not found or not built by the last incremental link; performing full link 18>Das Manifest wird eingebettet... 19>Das Manifest wird eingebettet... 20>Das Manifest wird eingebettet... 18>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_lockbitmap.dir\Debug\BuildLog.htm" gespeichert. 18>ex_lockbitmap - 0 Fehler, 0 Warnung(en) 21>------ Erstellen gestartet: Projekt: ex_fs_resize, Konfiguration: Debug Win32 ------ 21>Kompilieren... 22>------ Erstellen gestartet: Projekt: ex_threads, Konfiguration: Debug Win32 ------ 21>ex_fs_resize.c 22>Kompilieren... 19>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_noframe.dir\Debug\BuildLog.htm" gespeichert. 19>ex_noframe - 0 Fehler, 0 Warnung(en) 22>ex_threads.c 20>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_icon.dir\Debug\BuildLog.htm" gespeichert. 20>ex_icon - 0 Fehler, 0 Warnung(en) 23>------ Erstellen gestartet: Projekt: ex_dualies, Konfiguration: Debug Win32 ------ 23>Kompilieren... 23>ex_dualies.c 21>Manifest in Ressourcen wird kompiliert... 21>Verknüpfen... 21>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_fs_resize.exe not found or not built by the last incremental link; performing full link 22>Manifest in Ressourcen wird kompiliert... 22>Verknüpfen... 22>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_threads.exe not found or not built by the last incremental link; performing full link 23>Manifest in Ressourcen wird kompiliert... 23>Verknüpfen... 23>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_dualies.exe not found or not built by the last incremental link; performing full link 21>Das Manifest wird eingebettet... 22>Das Manifest wird eingebettet... 21>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_fs_resize.dir\Debug\BuildLog.htm" gespeichert. 21>ex_fs_resize - 0 Fehler, 0 Warnung(en) 24>------ Erstellen gestartet: Projekt: ex_convert, Konfiguration: Debug Win32 ------ 25>------ Erstellen gestartet: Projekt: ex_bitmap_flip, Konfiguration: Debug Win32 ------ 23>Das Manifest wird eingebettet... 24>Kompilieren... 25>Kompilieren... 22>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_threads.dir\Debug\BuildLog.htm" gespeichert. 22>ex_threads - 0 Fehler, 0 Warnung(en) 24>ex_convert.c 25>ex_bitmap_flip.c 23>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_dualies.dir\Debug\BuildLog.htm" gespeichert. 23>ex_dualies - 0 Fehler, 0 Warnung(en) 26>------ Erstellen gestartet: Projekt: ex_bitmap, Konfiguration: Debug Win32 ------ 26>Kompilieren... 26>ex_bitmap.c 24>Manifest in Ressourcen wird kompiliert... 25>Manifest in Ressourcen wird kompiliert... 24>Verknüpfen... 25>Verknüpfen... 24>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_convert.exe not found or not built by the last incremental link; performing full link 25>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_bitmap_flip.exe not found or not built by the last incremental link; performing full link 27>------ Erstellen gestartet: Projekt: ex_windows, Konfiguration: Debug Win32 ------ 27>Kompilieren... 26>Manifest in Ressourcen wird kompiliert... 26>Verknüpfen... 27>ex_windows.c 26>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_bitmap.exe not found or not built by the last incremental link; performing full link 25>Das Manifest wird eingebettet... 24>Das Manifest wird eingebettet... 26>Das Manifest wird eingebettet... 27>Manifest in Ressourcen wird kompiliert... 27>Verknüpfen... 27>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_windows.exe not found or not built by the last incremental link; performing full link 24>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_convert.dir\Debug\BuildLog.htm" gespeichert. 24>ex_convert - 0 Fehler, 0 Warnung(en) 25>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_bitmap_flip.dir\Debug\BuildLog.htm" gespeichert. 25>ex_bitmap_flip - 0 Fehler, 0 Warnung(en) 28>------ Erstellen gestartet: Projekt: ex_timer, Konfiguration: Debug Win32 ------ 28>Kompilieren... 28>ex_timer.c 26>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_bitmap.dir\Debug\BuildLog.htm" gespeichert. 26>ex_bitmap - 0 Fehler, 0 Warnung(en) 29>------ Erstellen gestartet: Projekt: ex_pixelformat, Konfiguration: Debug Win32 ------ 29>Kompilieren... 27>Das Manifest wird eingebettet... 29>ex_pixelformat.c 27>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_windows.dir\Debug\BuildLog.htm" gespeichert. 27>ex_windows - 0 Fehler, 0 Warnung(en) 30>------ Erstellen gestartet: Projekt: ex_mouse_cursor, Konfiguration: Debug Win32 ------ 30>Kompilieren... 28>Manifest in Ressourcen wird kompiliert... 28>Verknüpfen... 30>ex_mouse_cursor.c 28>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_timer.exe not found or not built by the last incremental link; performing full link 29>Manifest in Ressourcen wird kompiliert... 29>Verknüpfen... 31>------ Erstellen gestartet: Projekt: ex_membmp, Konfiguration: Debug Win32 ------ 29>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_pixelformat.exe not found or not built by the last incremental link; performing full link 31>Kompilieren... 31>ex_membmp.c 28>Das Manifest wird eingebettet... 30>Manifest in Ressourcen wird kompiliert... 30>Verknüpfen... 30>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_mouse_cursor.exe not found or not built by the last incremental link; performing full link 29>Das Manifest wird eingebettet... 28>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_timer.dir\Debug\BuildLog.htm" gespeichert. 28>ex_timer - 0 Fehler, 0 Warnung(en) 31>Manifest in Ressourcen wird kompiliert... 29>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_pixelformat.dir\Debug\BuildLog.htm" gespeichert. 29>ex_pixelformat - 0 Fehler, 0 Warnung(en) 32>------ Erstellen gestartet: Projekt: ex_keyboard_events, Konfiguration: Debug Win32 ------ 31>Verknüpfen... 31>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_membmp.exe not found or not built by the last incremental link; performing full link 32>Kompilieren... 32>ex_keyboard_events.c 30>Das Manifest wird eingebettet... 31>Das Manifest wird eingebettet... 30>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_mouse_cursor.dir\Debug\BuildLog.htm" gespeichert. 30>ex_mouse_cursor - 0 Fehler, 0 Warnung(en) 33>------ Erstellen gestartet: Projekt: ex_joystick_events, Konfiguration: Debug Win32 ------ 34>------ Erstellen gestartet: Projekt: ex_bitmap_target, Konfiguration: Debug Win32 ------ 33>Kompilieren... 34>Kompilieren... 33>ex_joystick_events.c 34>ex_bitmap_target.c 31>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_membmp.dir\Debug\BuildLog.htm" gespeichert. 31>ex_membmp - 0 Fehler, 0 Warnung(en) 32>Manifest in Ressourcen wird kompiliert... 32>Verknüpfen... 32>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_keyboard_events.exe not found or not built by the last incremental link; performing full link 32>Das Manifest wird eingebettet... 33>Manifest in Ressourcen wird kompiliert... 33>Verknüpfen... 33>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_joystick_events.exe not found or not built by the last incremental link; performing full link 34>Manifest in Ressourcen wird kompiliert... 34>Verknüpfen... 34>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_bitmap_target.exe not found or not built by the last incremental link; performing full link 35>------ Erstellen gestartet: Projekt: ex_font, Konfiguration: Debug Win32 ------ 33>Das Manifest wird eingebettet... 35>Kompilieren... 35>ex_font.c 32>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_keyboard_events.dir\Debug\BuildLog.htm" gespeichert. 32>ex_keyboard_events - 0 Fehler, 0 Warnung(en) 34>Das Manifest wird eingebettet... 33>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_joystick_events.dir\Debug\BuildLog.htm" gespeichert. 33>ex_joystick_events - 0 Fehler, 0 Warnung(en) 36>------ Erstellen gestartet: Projekt: ex_blend, Konfiguration: Debug Win32 ------ 37>------ Erstellen gestartet: Projekt: ex_threads2, Konfiguration: Debug Win32 ------ 36>Kompilieren... 37>Kompilieren... 36>ex_blend.c 37>ex_threads2.c 35>Manifest in Ressourcen wird kompiliert... 35>Verknüpfen... 35>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_font.exe not found or not built by the last incremental link; performing full link 34>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_bitmap_target.dir\Debug\BuildLog.htm" gespeichert. 34>ex_bitmap_target - 0 Fehler, 0 Warnung(en) 35>Das Manifest wird eingebettet... 36>Manifest in Ressourcen wird kompiliert... 37>Manifest in Ressourcen wird kompiliert... 37>Verknüpfen... 36>Verknüpfen... 36>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_blend.exe not found or not built by the last incremental link; performing full link 37>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_threads2.exe not found or not built by the last incremental link; performing full link 35>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_font.dir\Debug\BuildLog.htm" gespeichert. 35>ex_font - 0 Fehler, 0 Warnung(en) 38>------ Erstellen gestartet: Projekt: ex_timedwait, Konfiguration: Debug Win32 ------ 38>Kompilieren... 38>ex_timedwait.c 39>------ Erstellen gestartet: Projekt: a5_fontd_shared, Konfiguration: Debug Win32 ------ 39>Kompilieren... 37>Das Manifest wird eingebettet... 36>Das Manifest wird eingebettet... 39>text.c 37>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_threads2.dir\Debug\BuildLog.htm" gespeichert. 37>ex_threads2 - 0 Fehler, 0 Warnung(en) 36>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_blend.dir\Debug\BuildLog.htm" gespeichert. 36>ex_blend - 0 Fehler, 0 Warnung(en) 40>------ Erstellen gestartet: Projekt: ex_opengl, Konfiguration: Debug Win32 ------ 40>Kompilieren... 38>Manifest in Ressourcen wird kompiliert... 40>ex_opengl.c 38>Verknüpfen... 38>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_timedwait.exe not found or not built by the last incremental link; performing full link 39>readfont.c 38>Das Manifest wird eingebettet... 41>------ Erstellen gestartet: Projekt: ex_glext, Konfiguration: Debug Win32 ------ 41>Kompilieren... 40>Manifest in Ressourcen wird kompiliert... 40>Verknüpfen... 40>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_opengl.exe not found or not built by the last incremental link; performing full link 39>fontbmp.c 41>ex_glext.c 38>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_timedwait.dir\Debug\BuildLog.htm" gespeichert. 38>ex_timedwait - 0 Fehler, 0 Warnung(en) 42>------ Erstellen gestartet: Projekt: ex_expose, Konfiguration: Debug Win32 ------ 42>Kompilieren... 42>ex_expose.c 40>Das Manifest wird eingebettet... 39>font.c 41>Manifest in Ressourcen wird kompiliert... 40>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_opengl.dir\Debug\BuildLog.htm" gespeichert. 40>ex_opengl - 0 Fehler, 0 Warnung(en) 41>Verknüpfen... 41>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_glext.exe not found or not built by the last incremental link; performing full link 42>Manifest in Ressourcen wird kompiliert... 42>Verknüpfen... 42>LINK : F:\devel_sdks\all495\allegro\examples\Debug\ex_expose.exe not found or not built by the last incremental link; performing full link 41>Das Manifest wird eingebettet... 39>Generating Code... 39>Manifest in Ressourcen wird kompiliert... 39>Verknüpfen... 39>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\a5_iiod.lib' 41>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_glext.dir\Debug\BuildLog.htm" gespeichert. 41>ex_glext - 0 Fehler, 0 Warnung(en) 42>Das Manifest wird eingebettet... 39>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\addons\font\a5_fontd_shared.dir\Debug\BuildLog.htm" gespeichert. 39>a5_fontd_shared - 1 Fehler, 0 Warnung(en) 42>Das Buildprotokoll wurde unter "file://f:\devel_sdks\all495\allegro\examples\ex_expose.dir\Debug\BuildLog.htm" gespeichert. 42>ex_expose - 0 Fehler, 0 Warnung(en) 43>------ Erstellen übersprungen: Projekt: INSTALL, Konfiguration: Debug Win32 ------ 43>Für diese Projektmappenkonfiguration wurde kein zu erstellendes Projekt ausgewählt. ========== Erstellen: 39 erfolgreich, Fehler bei 3, 2 aktuell, 1 übersprungen ==========
Evert
Quote:

It probably involves seeing how xcode does things.

Best look how it's done through CMake instead. ;)

Quote:

After I manually removed all the OGG links and commented out the definition of ALLEGRO_CFG_ACODEC_VORBIS in aintern_acodec_cfg.h

Hmm...
That's not nice. You know more about using XCode than I do (and quite possibly more than the other developers do either). Using CMake to generate the XCode project file will generate an XCode project file with dependency information and library locations set properly. Is there any way to do that from within an existing XCode project file without using CMake? If so, can you provide an XCode project file that does that to replace the one we have now?
Otherwise, as Peter said, the best we can do is tell people to generate one with CMake.

Quote:

I had to manually shuffle files around to test that ex_bitmap worked since the project build a UNIX-style executable (YUCK!)

It's exactly the same executable as when you put it in a bundle, except for directory structure. Packing all of the examples as bundles is obviously possible and probably something we should do, but probably not the highest priority at the moment.
Besides, application bundles are annoying - you can't easily start them from the command line. :P

Quote:

and puts it where it cann't find Mysha.

Out-of-source build with CMake does that too.

Quote:

My natural assumption with anything like this is that I'm probably doing it incorrectly. It's obviously really hard to tell when there is no documentation (well, other than "We provide two build systems, CMake and scons.").

Those are the ones we have that are tested. As it says, the XCode project file is there but I don't know if anyone has made an attempt at keeping it up-to-date and functional. If you're willing to help out in that capacity (I have no idea how much work this would be), please do!

Quote:

Oh yeah, 36 unused variables warnings, by the way.

Yup. We'll get round to fixing that eventually. I checked a few of them and I think they were due to stub functions that had to be filled in. Not sure though.

Thomas Harte
Quote:

Hmm...
That's not nice. You know more about using XCode than I do (and quite possibly more than the other developers do either). Using CMake to generate the XCode project file will generate an XCode project file with dependency information and library locations set properly. Is there any way to do that from within an existing XCode project file without using CMake? If so, can you provide an XCode project file that does that to replace the one we have now?
Otherwise, as Peter said, the best we can do is tell people to generate one with CMake.

I'm a real building things dunce, and a UNIX dunce, and generally really bad at all of this stuff. This probably means I can't come up with a complete solution on my own.

However, if you go to the Targets tab and expand the 'AllegroNew' target, you'll see all the steps that Xcode will go through in order to build Allegro. The first step is 'Run Script', which is currently empty. If you can write a suitable shell script to configure Allegro then you could just put it in there. I guess even just a script that calls cmake is helpful, one that doesn't require cmake to be installed would be even better.

EDIT: here, assuming you use the Project Builder-style "lots of windows" presentation rather than the more Windowsy "all-in-one" look:
http://www.allegro.cc/files/attachment/596604

Quote:

It's exactly the same executable as when you put it in a bundle, except for directory structure. Packing all of the examples as bundles is obviously possible and probably something we should do, but probably not the highest priority at the moment.
Besides, application bundles are annoying - you can't easily start them from the command line.

That's not really true.

To launch an application bundle from the Finder: double click.
To launch an application bundle from the shell: "open <whatever.app>"

'Open' works on any kind of file or bundle that Finder understands, and correctly respects resource fork preferences. So if your default application for handing .doc files is NeoOffice, but you've tagged that particular one to open with MS Word (by doing command+i and selecting Word from the 'Open with' drop-down) then it'll open with Word.

The Allegro-built UNIX-style binaries cannot be launched from the Finder or even from most places in the command shell because they make incorrect assumptions about the current working directory.

As per usual, please don't think that my brief writing style implies a harsh tone, what you've done and what you're doing is fantastic. I'm one of the many people that stopped using olde Allegro years ago due to its uncountable flaws, and I didn't realistically expect anyone to relaunch the brand as you are doing.

Dennis

update to my build report:

After setting INCLUDE, LIB and LIB_PATH to the appropriate directories of the DX9SDK(Aug2008 edition), the cmake "Could NOT find..." errors for D3D9 and DSOUND were gone.

The build of the solution still fails though with unresolved externals:
http://www.allegro.cc/files/attachment/596605

Evert
Quote:

I'm a real building things dunce, and a UNIX dunce, and generally really bad at all of this stuff. This probably means I can't come up with a complete solution on my own.

Pity :(

Quote:

However, if you go to the Targets tab and expand the 'AllegroNew' target, you'll see all the steps that Xcode will go through in order to build Allegro. The first step is 'Run Script', which is currently empty. If you can write a suitable shell script to configure Allegro then you could just put it in there. I guess even just a script that calls cmake is helpful, one that doesn't require cmake to be installed would be even better.

Hmm... that would presumably be a script that has to do the same things that cmake does, right? And presumably it'll have to be written in BASH or something similar?
I've seen the "Run script" thingy in XCode, but I have no clue how to actually make it do anything (well, I haven't really tried that hard).

Quote:

To launch an application bundle from the shell: "open <whatever.app>"

I know, as I said, you can't "easily" start them. You have to type "open" first followed by the full path of the application bundle. And if you want to pass a filename as a commandline argument as well it's worse, because then it's open -a full-path-to-application full-path-to-filename. Anyway, that's what shell scripts are useful for. ;)

Quote:

The Allegro-built UNIX-style binaries cannot be launched from the Finder

Personally, I always think of it as a flaw of the Finder that it can't run "naked" executables.

Quote:

or even from most places in the command shell because they make incorrect assumptions about the current working directory.

Rather, they assume certain files are placed in the current directory. There is no ambiguity in what the current directory is if a program is started from the shell.

Quote:

As per usual, please don't think that my brief writing style implies a harsh tone, what you've done and what you're doing is fantastic. I'm one of the many people that stopped using olde Allegro years ago due to its uncountable flaws, and I didn't realistically expect anyone to relaunch the brand as you are doing.

I know - that's why I at least think your input is very useful, and I appreciate your input.

Thomas Harte
Quote:

Hmm... that would presumably be a script that has to do the same things that cmake does, right? And presumably it'll have to be written in BASH or something similar?

Re: doing the same stuff cmake does, I guess so. I'm not 100% on what cmake does other than vague notions about looking in common places for common things, so...

Re: BASH. Yep. If you double click just the Run Script tag then you'll see the automatically generated script that Xcode uses. Here:

http://www.allegro.cc/files/attachment/596606

So I guess you could use any scripting language for which an interpreter is present on the system — bash, perl, whatever. Thinking about it though, you'd probably have to do some fancy footwork to change the link stage. I'll look into it and report back if I figure anything out.

Quote:

I know, as I said, you can't "easily" start them. You have to type "open" first followed by the full path of the application bundle. And if you want to pass a filename as a commandline argument as well it's worse, because then it's open -a full-path-to-application full-path-to-filename. Anyway, that's what shell scripts are useful for.

Well off the point, but you don't have to type the full paths, relative paths will do. Or no path at all.

Evert

Indeed off-topic, so we shouldn't follow up on this too far:

Quote:

Well off the point, but you don't have to type the full paths, relative paths will do. Or no path at all.

Relative paths will do (except for filenames you want to pass as arguments - they'll be interpreted as relative to the bundle, or the bundle's data directory), no path at all does not work except in the special case that the application is in the current directory:

Quote:

eglebbk@sparrowhawk:~/>open Vim.app
2008-10-02 15:36:37.784 open[7801] No such file: /Users/eglebbk/Vim.app
eglebbk@sparrowhawk:~/>open /Applications/Vim.app
eglebbk@sparrowhawk:~/>

Dennis

and another update on my build report:
As instructed by Milan on IRC (thanks again), I deleted the CMakeCache.txt and removed "_al_release_event" from the allegro.def file and finally the build was successful and all the unresolved external symbol errors were gone.

Peter Hull
Quote:

What's the deal with providing an Xcode project, then claiming that it doesn't exist in the readme?

How do you mean? Any OSX documentation is likely to be out of date since I haven't written it yet. That has to improve before the next version.

In terms of xcode projects, the AllegroNew one is my own 'development' version from before we got cmake working. So some of it is hardcoded to what I have on my system. It's actually not so easy to do the configuration side of things with xcode, for example searching for a library in more than one place seems to be impossible. It probably should be deleted.

Your best bet is to generate it via cmake
ccmake -G Xcode .
and set the options you want, then you can open ALLEGRO.xcodeproj in xcode or just build it with xcodebuild -project ALLEGRO.xcodeproj. The main problem with this is that none of the exe paths are right, you need to Get Info on the executable and change the working directory.

I want to get the code working, then look into nice packaging (frameworks, project templates) for OS X later.

Pete

FalseMasterJ

I ran the cmake build, and I didn't notice that it had actually built (both .dylib libs and static .a libs) liballeg-4.9.5, liba5_iio, liba5_font.

It was just getting error when it was compiling the kcm_audio addon

/Users/Johnathan/src/allegro-4.9.5/addons/kcm_audio/openal.c: In function '_openal_get_voice_position':
/Users/Johnathan/src/allegro-4.9.5/addons/kcm_audio/openal.c:643: error: 'AL_SAMPLE_OFFSET' undeclared (first use in this function)
/Users/Johnathan/src/allegro-4.9.5/addons/kcm_audio/openal.c:643: error: (Each undeclared identifier is reported only once
/Users/Johnathan/src/allegro-4.9.5/addons/kcm_audio/openal.c:643: error: for each function it appears in.)
/Users/Johnathan/src/allegro-4.9.5/addons/kcm_audio/openal.c: In function '_openal_set_voice_position':
/Users/Johnathan/src/allegro-4.9.5/addons/kcm_audio/openal.c:656: error: 'AL_SAMPLE_OFFSET' undeclared (first use in this function)
make[2]: *** [addons/kcm_audio/CMakeFiles/kcm_audio_shared.dir/openal.c.o] Error 1
make[1]: *** [addons/kcm_audio/CMakeFiles/kcm_audio_shared.dir/all] Error 2
make: *** [all] Error 2

Also I tried to install a packaged OpenAL from it's Official Website, but I'm not sure it helped.

Is liballeg-4.9.5.dylib all I need to start out anyway?

Peter Wang

Do you know which version of OpenAL you have? Maybe AL_SAMPLE_OFFSET doesn't exist in older versions.

You can just switch WANT_KCM_AUDIO off.

Thomas Fjellstrom

OR just switch off OpenAL.

Peter Wang

OpenAL is the only option on Mac OS X right now.

Thomas Harte
Quote:

Quote:

What's the deal with providing an Xcode project, then claiming that it doesn't exist in the readme?

How do you mean?

Per readme_a5.txt:

Compilation
===========

We provide two build systems, CMake and scons.

Obviously I was taking this too literally; it should be "We support two build systems", since you provide at least three.

Quote:

In terms of xcode projects, the AllegroNew one is my own 'development' version from before we got cmake working. So some of it is hardcoded to what I have on my system. It's actually not so easy to do the configuration side of things with xcode, for example searching for a library in more than one place seems to be impossible. It probably should be deleted.

Could you not get Xcode to link via a symbolic link in the project tree, and have a script set up the link correctly in the 'Run Script' phase?

Quote:

I want to get the code working, then look into nice packaging (frameworks, project templates) for OS X later.

Absolutely the correct approach.

Don Freeman
Post too big
Milan Mimica

The static lib built fine apparently. ;D

KnightWhoSaysNi

I used cmake to generate the makefiles. I didn't mess with any of the ON OFF options when I first compiled and I got the following error.

[ 57%] Built target a5_font_static
Scanning dependencies of target kcm_audio_shared
[ 57%] Building C object addons/kcm_audio/CMakeFiles/kcm_audio_shared.dir/audio.
c.obj
C:\Documents and Settings\Christopher\Desktop\allegro\addons\kcm_audio\audio.c:1
5:47: allegro5/internal/aintern_kcm_cfg.h: No such file or directory
mingw32-make[2]: *** [addons/kcm_audio/CMakeFiles/kcm_audio_shared.dir/audio.c.o
bj] Error 1
mingw32-make[1]: *** [addons/kcm_audio/CMakeFiles/kcm_audio_shared.dir/all] Erro
r 2
mingw32-make: *** [all] Error 2

C:\Documents and Settings\Christopher\Desktop\allegro>

WANT_KCM_AUDIO ON worked for me in 4.94, I don't know what happened in 4.95.

I Then turned WANT_KCM_AUDIO OFF and got this error:

1 
2[ 76%] Building C object addons/ttf/CMakeFiles/a5_ttf_shared.dir/ttf.c.obj
3C:\Documents and Settings\Christopher\Desktop\allegro\addons\ttf\ttf.c:5:47: all
4egro5/internal/aintern_ttf_cfg.h: No such file or directory
5mingw32-make[2]: *** [addons/ttf/CMakeFiles/a5_ttf_shared.dir/ttf.c.obj] Error 1
6 
7mingw32-make[1]: *** [addons/ttf/CMakeFiles/a5_ttf_shared.dir/all] Error 2
8mingw32-make: *** [all] Error 2

I then turned WANT_TFF OFF

It then compiled.

When I did mingw32-make install, it gave me this error

1-- Installing: C:/MinGW/include/allegro5/opengl/GLext/glx_ext_list.h
2-- Installing: C:/MinGW/include/allegro5/opengl/GLext/wgl_ext_api.h
3-- Installing: C:/MinGW/include/allegro5/opengl/GLext/wgl_ext_list.h
4CMake Error at cmake_install.cmake:166 (FILE):
5 file INSTALL cannot find file "C:/Documents and
6 Settings/Christopher/Desktop/allegro/include/allegro5/platform/alplatf.h"
7 to install.
8 
9 
10mingw32-make: *** [install] Error 1

Milan Mimica

There is a series of errors caused my cmake not generating a *.h file from *_cfg.h. How did you invoke cmake exactly?

Don Freeman

I would say that you need to delete the cmakecache.txt file from where you are running cmake, then try again. If you created the build directory and ran cmake from there as per the instructions, you could simply wipe that directory and start again. I've noticed too, that sometimes I had to completely delete the allegro directory and start with a fresh backup...happened last night trying different options.:)

KnightWhoSaysNi
Quote:

There is a series of errors caused my cmake not generating a *.h file from *_cfg.h. How did you invoke cmake exactly?

I ran the cmake gui.

Edit:

It worked with no error using the command console in windows. Thanks for the help.

Thread #597848. Printed from Allegro.cc