SiegeLord / DAllegro5

D binding to the Allegro5 game development library
Other
42 stars 15 forks source link

OSX #17

Open joelcnz opened 9 years ago

joelcnz commented 9 years ago

I now mainly use Mac now.

I don't know how to install allegro to work with DAllegro any more.

I get this: Joels-MacBook-Pro:DAllegro5 joelcnz$ ./build_example_dmd.sh ld: library not found for -lallegro clang: error: linker command failed with exit code 1 (use -v to see invocation) --- errorlevel 1

with installing Allegro: CMake Error at cmake_install.cmake:54 (FILE): file INSTALL cannot copy file "/Users/joelcnz/jpro/dpro2/OtherPeoples/allegro/include/allegro5/allegro5.h" to "/usr/local/include/allegro5/allegro5.h".

example with the -v flag thing: Joels-MacBook-Pro:DAllegro5 joelcnz$ vim build_example_dmd.sh Joels-MacBook-Pro:DAllegro5 joelcnz$ ./build_exampledmd.sh binary dmd version v2.065 config /usr/bin/dmd.conf parse example importall a5test import object (/usr/share/dmd/src/druntime/import/object.di) import std.stdio (/usr/share/dmd/src/phobos/std/stdio.d) import core.stdc.stdio (/usr/share/dmd/src/druntime/import/core/stdc/stdio.d) import core.stdc.config (/usr/share/dmd/src/druntime/import/core/stdc/config.d) import core.stdc.stddef (/usr/share/dmd/src/druntime/import/core/stdc/stddef.d) import core.stdc.stdarg (/usr/share/dmd/src/druntime/import/core/stdc/stdarg.d) import core.stdc.stdint (/usr/share/dmd/src/druntime/import/core/stdc/stdint.d) import core.stdc.signal (/usr/share/dmd/src/druntime/import/core/stdc/signal.d) import core.stdc.wchar (/usr/share/dmd/src/druntime/import/core/stdc/wchar_.d) import core.stdc.time (/usr/share/dmd/src/druntime/import/core/stdc/time.d) import std.string (/usr/share/dmd/src/phobos/std/string.d) import core.exception (/usr/share/dmd/src/druntime/import/core/exception.d) import core.vararg (/usr/share/dmd/src/druntime/import/core/vararg.d) import core.stdc.stdlib (/usr/share/dmd/src/druntime/import/core/stdc/stdlib.d) import core.stdc.string (/usr/share/dmd/src/druntime/import/core/stdc/string.d) import std.algorithm (/usr/share/dmd/src/phobos/std/algorithm.d) import std.functional (/usr/share/dmd/src/phobos/std/functional.d) import std.traits (/usr/share/dmd/src/phobos/std/traits.d) import std.typetuple (/usr/share/dmd/src/phobos/std/typetuple.d) import std.conv (/usr/share/dmd/src/phobos/std/conv.d) import std.array (/usr/share/dmd/src/phobos/std/array.d) import core.memory (/usr/share/dmd/src/druntime/import/core/memory.d) import core.bitop (/usr/share/dmd/src/druntime/import/core/bitop.d) import std.ascii (/usr/share/dmd/src/phobos/std/ascii.d) import std.exception (/usr/share/dmd/src/phobos/std/exception.d) import std.c.string (/usr/share/dmd/src/phobos/std/c/string.d) import std.range (/usr/share/dmd/src/phobos/std/range.d) import std.typecons (/usr/share/dmd/src/phobos/std/typecons.d) import core.stdc.errno (/usr/share/dmd/src/druntime/import/core/stdc/errno.d) import std.uni (/usr/share/dmd/src/phobos/std/uni.d) import std.internal.unicode_tables (/usr/share/dmd/src/phobos/std/internal/unicode_tables.d) import std.math (/usr/share/dmd/src/phobos/std/math.d) import core.stdc.math (/usr/share/dmd/src/druntime/import/core/stdc/math.d) import std.utf (/usr/share/dmd/src/phobos/std/utf.d) import std.format (/usr/share/dmd/src/phobos/std/format.d) import std.bitmanip (/usr/share/dmd/src/phobos/std/bitmanip.d) import std.system (/usr/share/dmd/src/phobos/std/system.d) import std.c.stdio (/usr/share/dmd/src/phobos/std/c/stdio.d) import std.stdiobase (/usr/share/dmd/src/phobos/std/stdiobase.d) import core.sys.posix.fcntl (/usr/share/dmd/src/druntime/import/core/sys/posix/fcntl.d) import core.sys.posix.config (/usr/share/dmd/src/druntime/import/core/sys/posix/config.d) import core.sys.posix.sys.types (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/types.d) import core.sys.posix.sys.stat (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/stat.d) import core.sys.posix.time (/usr/share/dmd/src/druntime/import/core/sys/posix/time.d) import core.sys.posix.signal (/usr/share/dmd/src/druntime/import/core/sys/posix/signal.d) import core.sys.posix.stdio (/usr/share/dmd/src/druntime/import/core/sys/posix/stdio.d) import allegro5.allegro (allegro5/allegro.d) import allegro5.base (allegro5/base.d) import allegro5.altime (allegro5/altime.d) import allegro5.bitmap (allegro5/bitmap.d) import allegro5.color (allegro5/color.d) import allegro5.internal.da5 (allegro5/internal/da5.d) import allegro5.color_ret (allegro5/color_ret.d) import allegro5.bitmap_draw (allegro5/bitmap_draw.d) import allegro5.bitmap_io (allegro5/bitmap_io.d) import allegro5.bitmap_lock (allegro5/bitmap_lock.d) import allegro5.blender (allegro5/blender.d) import allegro5.config (allegro5/config.d) import allegro5.file (allegro5/file.d) import allegro5.path (allegro5/path.d) import allegro5.utf8 (allegro5/utf8.d) import allegro5.al_debug (allegro5/al_debug.d) import allegro5.display (allegro5/display.d) import allegro5.events (allegro5/events.d) import allegro5.joystick (allegro5/joystick.d) import allegro5.keyboard (allegro5/keyboard.d) import allegro5.keycodes (allegro5/keycodes.d) import allegro5.mouse (allegro5/mouse.d) import allegro5.timer (allegro5/timer.d) import std.stdint (/usr/share/dmd/src/phobos/std/stdint.d) import allegro5.drawing (allegro5/drawing.d) import allegro5.error (allegro5/error.d) import allegro5.fixed (allegro5/fixed.d) import allegro5.fshook (allegro5/fshook.d) import allegro5.fullscreen_mode (allegro5/fullscreen_mode.d) import allegro5.memory (allegro5/memory.d) import allegro5.monitor (allegro5/monitor.d) import allegro5.mouse_cursor (allegro5/mouse_cursor.d) import allegro5.system (allegro5/system.d) import core.thread (/usr/share/dmd/src/druntime/import/core/thread.di) import core.time (/usr/share/dmd/src/druntime/import/core/time.d) import core.sys.posix.sys.time (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/time.d) import core.sys.posix.sys.select (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/select.d) import core.sys.osx.mach.kern_return (/usr/share/dmd/src/druntime/import/core/sys/osx/mach/kern_return.d) import core.sys.posix.unistd (/usr/share/dmd/src/druntime/import/core/sys/posix/unistd.d) import core.sys.posix.inttypes (/usr/share/dmd/src/druntime/import/core/sys/posix/inttypes.d) import core.stdc.inttypes (/usr/share/dmd/src/druntime/import/core/stdc/inttypes.d) import allegro5.threads (allegro5/threads.d) import allegro5.tls (allegro5/tls.d) import allegro5.transformations (allegro5/transformations.d) import allegro5.allegro_primitives (allegro5/allegro_primitives.d) import allegro5.allegro_image (allegro5/allegro_image.d) import allegro5.allegro_font (allegro5/allegro_font.d) import allegro5.allegro_ttf (allegro5/allegro_ttf.d) import allegro5.allegro_color (allegro5/allegro_color.d) import allegro5.allegro_color_ret (allegro5/allegro_color_ret.d) semantic a5test library dallegro5 library allegro library allegro_primitives library allegro_image library allegro_font library allegro_ttf library allegro_color library allegro import core.sys.posix.pthread (/usr/share/dmd/src/druntime/import/core/sys/posix/pthread.d) import core.sys.posix.sched (/usr/share/dmd/src/druntime/import/core/sys/posix/sched.d) library allegro_primitives library allegro_image library allegro_font library allegro_ttf library allegro_color entry main example.d semantic2 a5test semantic3 a5test code a5test function D main function a5test.main.lambda2 function std.stdio.writefln!(string, float, float, float, float).writefln function std.stdio.File.writefln!(char, float, float, float, float).writefln function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda8 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda9 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda10 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda11 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda12 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda13 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda14 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda15 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.dgliteral16 function std.format.formatGeneric!(LockingTextWriter, float, char).formatGeneric function std.format.formatValue!(LockingTextWriter, float, char).formatValue function std.format.formatValue!(LockingTextWriter, float, char).formatValue.lambda4 function std.format.formatValue!(LockingTextWriter, float, char).formatValue.dgliteral5 function std.format.formatValue!(LockingTextWriter, float, char).formatValue.dgliteral6 function std.range.put!(LockingTextWriter, const(char)).put function std.range.doPut!(LockingTextWriter, const(char)).doPut function std.stdio.File.LockingTextWriter.put!(const(char)).put function std.array.popFront!(immutable(char)).popFront function std.utf.decode!string.decode function std.utf.decodeImpl!(true, string).decodeImpl function std.utf.decodeImpl!(true, string).decodeImpl.invalidUTF function std.utf.decodeImpl!(true, string).decodeImpl.outOfBounds function std.utf.decodeImpl!(true, string).decodeImpl.exception!string.exception function std.array.save!(immutable(char)).save function std.array.popBack!(immutable(char)).popBack function std.utf.strideBack!string.strideBack function std.array.back!(immutable(char)).back function std.algorithm.find!("a == b", string, char).find function std.algorithm.find!("a == b", string, char).find.trustedMemchr function std.algorithm.find!("a == b", string, char).find.trustedFindRR function std.utf.canSearchInCodeUnits!char.canSearchInCodeUnits function std.array.popFront!char.popFront function std.utf.decode!(char[]).decode function std.utf.decodeImpl!(true, char[]).decodeImpl function std.utf.decodeImpl!(true, char[]).decodeImpl.invalidUTF function std.utf.decodeImpl!(true, char[]).decodeImpl.outOfBounds function std.utf.decodeImpl!(true, char[]).decodeImpl.exception!(char[]).exception function std.array.save!char.save function std.functional.binaryFun!("a == b").binaryFun!(dchar, dchar).binaryFun function std.algorithm.find!("a == b", string, char[]).find function std.array.empty!ubyte.empty function std.array.popFront!ubyte.popFront function std.array.front!ubyte.front function std.array.save!ubyte.save function std.functional.binaryFun!("a == b").binaryFun!(ubyte, ubyte).binaryFun function std.array.popBack!ubyte.popBack function std.array.back!ubyte.back function std.algorithm.find!("a == b", ubyte[], ubyte[]).find function std.range.walkLength!(ubyte[]).walkLength function std.algorithm.startsWith!("a == b", ubyte[], ubyte[]).startsWith function std.range.put!(LockingTextWriter, char[]).put function std.range.doPut!(LockingTextWriter, char[]).doPut function std.stdio.File.LockingTextWriter.put!(char[]).put function std.stdio.File.LockingTextWriter.put!(char[]).put.dgliteral2 function std.stdio.File.LockingTextWriter.put!(char[]).put.foreachbody3 function std.exception.errnoEnforce!(int, "/usr/share/dmd/src/phobos/std/stdio.d", 1940LU).errnoEnforce function std.stdio.File.LockingTextWriter.put!dchar.put function std.format.FormatSpec!char.FormatSpec.writeUpToNextSpec!(LockingTextWriter).writeUpToNextSpec function std.format.FormatSpec!char.FormatSpec.writeUpToNextSpec!(LockingTextWriter).writeUpToNextSpec.dgliteral2 function std.range.put!(LockingTextWriter, const(char)[]).put function std.range.doPut!(LockingTextWriter, const(char)[]).doPut function std.utf.decode!(const(char)[]).decode function std.utf.decodeImpl!(true, const(char)[]).decodeImpl function std.utf.decodeImpl!(true, const(char)[]).decodeImpl.invalidUTF function std.utf.decodeImpl!(true, const(char)[]).decodeImpl.outOfBounds function std.utf.decodeImpl!(true, const(char)[]).decodeImpl.exception!(const(char)[]).exception function std.stdio.File.LockingTextWriter.put!(const(char)[]).put function std.stdio.File.LockingTextWriter.put!(const(char)[]).put.dgliteral2 function std.stdio.File.LockingTextWriter.put!(const(char)[]).put.foreachbody3 function std.format.getNthInt!(float, float, float, float).getNthInt function std.format.getNthInt!(float, float, float).getNthInt function std.format.getNthInt!(float, float).getNthInt function std.format.getNthInt!(float).getNthInt function std.format.getNthInt!().getNthInt function std.conv.to!int.to!(int).to function std.conv.toImpl!(int, int).toImpl function std.format.formatNth!(LockingTextWriter, char, float, float, float, float).formatNth function std.format.formatNth!(LockingTextWriter, char, float, float, float, float).formatNth.gencode!4LU.gencode function std.conv.to!string.to!(ulong).to function std.conv.toImpl!(string, ulong).toImpl function std.conv.toImpl!(string, ulong).toImpl function std.conv.toImpl!(string, ulong).toImpl.__dgliteral4 function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(25LU, 10, true).toStringRadixConvert function std.conv.unsigned!ulong.unsigned function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(24LU, 10).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(16LU, 16).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(64LU, 2).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(24LU, 8).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!48LU.toStringRadixConvert function std.stdio.File.LockingTextWriter.put!char.put gcc example.o -o example -m64 -L. -L/usr/share/dmd/lib -ldallegro5 -lallegro -lallegro_primitives -lallegro_image -lallegro_font -lallegro_ttf -lallegro_color -lphobos2 -lpthread -lm ld: library not found for -lallegro clang: error: linker command failed with exit code 1 (use -v to see invocation) --- errorlevel 1 Joels-MacBook-Pro:DAllegro5 joelcnz$

SiegeLord commented 9 years ago

with installing Allegro: CMake Error at cmake_install.cmake:54 (FILE): file INSTALL cannot copy file "/Users/joelcnz/jpro/dpro2/OtherPeoples/allegro/include/allegro5/allegro5.h" to "/usr/local/include/allegro5/allegro5.h".

This seems like the real issue... you didn't install Allegro properly. What command are you calling to install it?

joelcnz commented 9 years ago

I didn't run 'make' or 'make install' with any options.

Here's more: [100%] Built target test_driver [100%] Built target docs Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /usr/local/lib/liballegro.5.0.10.dylib -- Up-to-date: /usr/local/lib/liballegro.5.0.dylib -- Up-to-date: /usr/local/lib/liballegro.dylib 2014-08-08 14:43:10.656 xcodebuild[1128:d07] [MT] PluginLoading: Skipping plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/D for Xcode.xcplugin' because it is not compatible with this version of Xcode. -- Installing: /usr/local/include/allegro5/allegro5.h CMake Error at cmake_install.cmake:54 (FILE): file INSTALL cannot copy file "/Users/joelcnz/jpro/dpro2/OtherPeoples/allegro/include/allegro5/allegro5.h" to "/usr/local/include/allegro5/allegro5.h".

make: *\ [install] Error 1

SiegeLord commented 9 years ago

Hmm. Could you execute:

ld --verbose | grep SEARCH_DIR

for me? That'll list the directories the linker searches under. Perhaps your OSX version isn't searching in /usr/local/lib anymore?

Additionally, maybe doing ./build_example_dmd.sh -L-L/usr/local/lib may work.

joelcnz commented 9 years ago

Joels-MacBook-Pro:Build joelcnz$ ld --verbose | grep SEARCH_DIR 2014-08-10 12:31:40.657 xcodebuild[683:d07] [MT] PluginLoading: Skipping plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/D for Xcode.xcplugin' because it is not compatible with this version of Xcode.

joelcnz commented 9 years ago

With example (and verbose):

Joels-MacBook-Pro:DAllegro5 joelcnz$ ./build_exampledmd.sh -L-L/usr/local/lib binary dmd version v2.065 config /usr/bin/dmd.conf parse example importall a5test import object (/usr/share/dmd/src/druntime/import/object.di) import std.stdio (/usr/share/dmd/src/phobos/std/stdio.d) import core.stdc.stdio (/usr/share/dmd/src/druntime/import/core/stdc/stdio.d) import core.stdc.config (/usr/share/dmd/src/druntime/import/core/stdc/config.d) import core.stdc.stddef (/usr/share/dmd/src/druntime/import/core/stdc/stddef.d) import core.stdc.stdarg (/usr/share/dmd/src/druntime/import/core/stdc/stdarg.d) import core.stdc.stdint (/usr/share/dmd/src/druntime/import/core/stdc/stdint.d) import core.stdc.signal (/usr/share/dmd/src/druntime/import/core/stdc/signal.d) import core.stdc.wchar (/usr/share/dmd/src/druntime/import/core/stdc/wchar_.d) import core.stdc.time (/usr/share/dmd/src/druntime/import/core/stdc/time.d) import std.string (/usr/share/dmd/src/phobos/std/string.d) import core.exception (/usr/share/dmd/src/druntime/import/core/exception.d) import core.vararg (/usr/share/dmd/src/druntime/import/core/vararg.d) import core.stdc.stdlib (/usr/share/dmd/src/druntime/import/core/stdc/stdlib.d) import core.stdc.string (/usr/share/dmd/src/druntime/import/core/stdc/string.d) import std.algorithm (/usr/share/dmd/src/phobos/std/algorithm.d) import std.functional (/usr/share/dmd/src/phobos/std/functional.d) import std.traits (/usr/share/dmd/src/phobos/std/traits.d) import std.typetuple (/usr/share/dmd/src/phobos/std/typetuple.d) import std.conv (/usr/share/dmd/src/phobos/std/conv.d) import std.array (/usr/share/dmd/src/phobos/std/array.d) import core.memory (/usr/share/dmd/src/druntime/import/core/memory.d) import core.bitop (/usr/share/dmd/src/druntime/import/core/bitop.d) import std.ascii (/usr/share/dmd/src/phobos/std/ascii.d) import std.exception (/usr/share/dmd/src/phobos/std/exception.d) import std.c.string (/usr/share/dmd/src/phobos/std/c/string.d) import std.range (/usr/share/dmd/src/phobos/std/range.d) import std.typecons (/usr/share/dmd/src/phobos/std/typecons.d) import core.stdc.errno (/usr/share/dmd/src/druntime/import/core/stdc/errno.d) import std.uni (/usr/share/dmd/src/phobos/std/uni.d) import std.internal.unicode_tables (/usr/share/dmd/src/phobos/std/internal/unicode_tables.d) import std.math (/usr/share/dmd/src/phobos/std/math.d) import core.stdc.math (/usr/share/dmd/src/druntime/import/core/stdc/math.d) import std.utf (/usr/share/dmd/src/phobos/std/utf.d) import std.format (/usr/share/dmd/src/phobos/std/format.d) import std.bitmanip (/usr/share/dmd/src/phobos/std/bitmanip.d) import std.system (/usr/share/dmd/src/phobos/std/system.d) import std.c.stdio (/usr/share/dmd/src/phobos/std/c/stdio.d) import std.stdiobase (/usr/share/dmd/src/phobos/std/stdiobase.d) import core.sys.posix.fcntl (/usr/share/dmd/src/druntime/import/core/sys/posix/fcntl.d) import core.sys.posix.config (/usr/share/dmd/src/druntime/import/core/sys/posix/config.d) import core.sys.posix.sys.types (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/types.d) import core.sys.posix.sys.stat (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/stat.d) import core.sys.posix.time (/usr/share/dmd/src/druntime/import/core/sys/posix/time.d) import core.sys.posix.signal (/usr/share/dmd/src/druntime/import/core/sys/posix/signal.d) import core.sys.posix.stdio (/usr/share/dmd/src/druntime/import/core/sys/posix/stdio.d) import allegro5.allegro (allegro5/allegro.d) import allegro5.base (allegro5/base.d) import allegro5.altime (allegro5/altime.d) import allegro5.bitmap (allegro5/bitmap.d) import allegro5.color (allegro5/color.d) import allegro5.internal.da5 (allegro5/internal/da5.d) import allegro5.color_ret (allegro5/color_ret.d) import allegro5.bitmap_draw (allegro5/bitmap_draw.d) import allegro5.bitmap_io (allegro5/bitmap_io.d) import allegro5.bitmap_lock (allegro5/bitmap_lock.d) import allegro5.blender (allegro5/blender.d) import allegro5.config (allegro5/config.d) import allegro5.file (allegro5/file.d) import allegro5.path (allegro5/path.d) import allegro5.utf8 (allegro5/utf8.d) import allegro5.al_debug (allegro5/al_debug.d) import allegro5.display (allegro5/display.d) import allegro5.events (allegro5/events.d) import allegro5.joystick (allegro5/joystick.d) import allegro5.keyboard (allegro5/keyboard.d) import allegro5.keycodes (allegro5/keycodes.d) import allegro5.mouse (allegro5/mouse.d) import allegro5.timer (allegro5/timer.d) import std.stdint (/usr/share/dmd/src/phobos/std/stdint.d) import allegro5.drawing (allegro5/drawing.d) import allegro5.error (allegro5/error.d) import allegro5.fixed (allegro5/fixed.d) import allegro5.fshook (allegro5/fshook.d) import allegro5.fullscreen_mode (allegro5/fullscreen_mode.d) import allegro5.memory (allegro5/memory.d) import allegro5.monitor (allegro5/monitor.d) import allegro5.mouse_cursor (allegro5/mouse_cursor.d) import allegro5.system (allegro5/system.d) import core.thread (/usr/share/dmd/src/druntime/import/core/thread.di) import core.time (/usr/share/dmd/src/druntime/import/core/time.d) import core.sys.posix.sys.time (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/time.d) import core.sys.posix.sys.select (/usr/share/dmd/src/druntime/import/core/sys/posix/sys/select.d) import core.sys.osx.mach.kern_return (/usr/share/dmd/src/druntime/import/core/sys/osx/mach/kern_return.d) import core.sys.posix.unistd (/usr/share/dmd/src/druntime/import/core/sys/posix/unistd.d) import core.sys.posix.inttypes (/usr/share/dmd/src/druntime/import/core/sys/posix/inttypes.d) import core.stdc.inttypes (/usr/share/dmd/src/druntime/import/core/stdc/inttypes.d) import allegro5.threads (allegro5/threads.d) import allegro5.tls (allegro5/tls.d) import allegro5.transformations (allegro5/transformations.d) import allegro5.allegro_primitives (allegro5/allegro_primitives.d) import allegro5.allegro_image (allegro5/allegro_image.d) import allegro5.allegro_font (allegro5/allegro_font.d) import allegro5.allegro_ttf (allegro5/allegro_ttf.d) import allegro5.allegro_color (allegro5/allegro_color.d) import allegro5.allegro_color_ret (allegro5/allegro_color_ret.d) semantic a5test library dallegro5 library allegro library allegro_primitives library allegro_image library allegro_font library allegro_ttf library allegro_color library allegro import core.sys.posix.pthread (/usr/share/dmd/src/druntime/import/core/sys/posix/pthread.d) import core.sys.posix.sched (/usr/share/dmd/src/druntime/import/core/sys/posix/sched.d) library allegro_primitives library allegro_image library allegro_font library allegro_ttf library allegro_color entry main example.d semantic2 a5test semantic3 a5test code a5test function D main function a5test.main.lambda2 function std.stdio.writefln!(string, float, float, float, float).writefln function std.stdio.File.writefln!(char, float, float, float, float).writefln function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda8 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda9 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda10 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda11 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda12 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda13 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda14 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.lambda15 function std.format.formattedWrite!(LockingTextWriter, char, float, float, float, float).formattedWrite.dgliteral16 function std.format.formatGeneric!(LockingTextWriter, float, char).formatGeneric function std.format.formatValue!(LockingTextWriter, float, char).formatValue function std.format.formatValue!(LockingTextWriter, float, char).formatValue.lambda4 function std.format.formatValue!(LockingTextWriter, float, char).formatValue.dgliteral5 function std.format.formatValue!(LockingTextWriter, float, char).formatValue.dgliteral6 function std.range.put!(LockingTextWriter, const(char)).put function std.range.doPut!(LockingTextWriter, const(char)).doPut function std.stdio.File.LockingTextWriter.put!(const(char)).put function std.array.popFront!(immutable(char)).popFront function std.utf.decode!string.decode function std.utf.decodeImpl!(true, string).decodeImpl function std.utf.decodeImpl!(true, string).decodeImpl.invalidUTF function std.utf.decodeImpl!(true, string).decodeImpl.outOfBounds function std.utf.decodeImpl!(true, string).decodeImpl.exception!string.exception function std.array.save!(immutable(char)).save function std.array.popBack!(immutable(char)).popBack function std.utf.strideBack!string.strideBack function std.array.back!(immutable(char)).back function std.algorithm.find!("a == b", string, char).find function std.algorithm.find!("a == b", string, char).find.trustedMemchr function std.algorithm.find!("a == b", string, char).find.trustedFindRR function std.utf.canSearchInCodeUnits!char.canSearchInCodeUnits function std.array.popFront!char.popFront function std.utf.decode!(char[]).decode function std.utf.decodeImpl!(true, char[]).decodeImpl function std.utf.decodeImpl!(true, char[]).decodeImpl.invalidUTF function std.utf.decodeImpl!(true, char[]).decodeImpl.outOfBounds function std.utf.decodeImpl!(true, char[]).decodeImpl.exception!(char[]).exception function std.array.save!char.save function std.functional.binaryFun!("a == b").binaryFun!(dchar, dchar).binaryFun function std.algorithm.find!("a == b", string, char[]).find function std.array.empty!ubyte.empty function std.array.popFront!ubyte.popFront function std.array.front!ubyte.front function std.array.save!ubyte.save function std.functional.binaryFun!("a == b").binaryFun!(ubyte, ubyte).binaryFun function std.array.popBack!ubyte.popBack function std.array.back!ubyte.back function std.algorithm.find!("a == b", ubyte[], ubyte[]).find function std.range.walkLength!(ubyte[]).walkLength function std.algorithm.startsWith!("a == b", ubyte[], ubyte[]).startsWith function std.range.put!(LockingTextWriter, char[]).put function std.range.doPut!(LockingTextWriter, char[]).doPut function std.stdio.File.LockingTextWriter.put!(char[]).put function std.stdio.File.LockingTextWriter.put!(char[]).put.dgliteral2 function std.stdio.File.LockingTextWriter.put!(char[]).put.foreachbody3 function std.exception.errnoEnforce!(int, "/usr/share/dmd/src/phobos/std/stdio.d", 1940LU).errnoEnforce function std.stdio.File.LockingTextWriter.put!dchar.put function std.format.FormatSpec!char.FormatSpec.writeUpToNextSpec!(LockingTextWriter).writeUpToNextSpec function std.format.FormatSpec!char.FormatSpec.writeUpToNextSpec!(LockingTextWriter).writeUpToNextSpec.dgliteral2 function std.range.put!(LockingTextWriter, const(char)[]).put function std.range.doPut!(LockingTextWriter, const(char)[]).doPut function std.utf.decode!(const(char)[]).decode function std.utf.decodeImpl!(true, const(char)[]).decodeImpl function std.utf.decodeImpl!(true, const(char)[]).decodeImpl.invalidUTF function std.utf.decodeImpl!(true, const(char)[]).decodeImpl.outOfBounds function std.utf.decodeImpl!(true, const(char)[]).decodeImpl.exception!(const(char)[]).exception function std.stdio.File.LockingTextWriter.put!(const(char)[]).put function std.stdio.File.LockingTextWriter.put!(const(char)[]).put.dgliteral2 function std.stdio.File.LockingTextWriter.put!(const(char)[]).put.foreachbody3 function std.format.getNthInt!(float, float, float, float).getNthInt function std.format.getNthInt!(float, float, float).getNthInt function std.format.getNthInt!(float, float).getNthInt function std.format.getNthInt!(float).getNthInt function std.format.getNthInt!().getNthInt function std.conv.to!int.to!(int).to function std.conv.toImpl!(int, int).toImpl function std.format.formatNth!(LockingTextWriter, char, float, float, float, float).formatNth function std.format.formatNth!(LockingTextWriter, char, float, float, float, float).formatNth.gencode!4LU.gencode function std.conv.to!string.to!(ulong).to function std.conv.toImpl!(string, ulong).toImpl function std.conv.toImpl!(string, ulong).toImpl function std.conv.toImpl!(string, ulong).toImpl.dgliteral4 function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(25LU, 10, true).toStringRadixConvert function std.conv.unsigned!ulong.unsigned function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(24LU, 10).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(16LU, 16).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(64LU, 2).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!(24LU, 8).toStringRadixConvert function std.conv.toImpl!(string, ulong).toImpl.toStringRadixConvert!48LU.toStringRadixConvert function std.stdio.File.LockingTextWriter.put!char.put gcc example.o -o example -m64 -L. -L/usr/local/lib -L/usr/share/dmd/lib -ldallegro5 -lallegro -lallegro_primitives -lallegro_image -lallegro_font -lallegro_ttf -lallegro_color -lphobos2 -lpthread -lm ld: warning: ignoring file /usr/local/lib/libphobos2.a, file was built for archive which is not the architecture being linked (x86_64): /usr/local/lib/libphobos2.a Undefined symbols for architecture x86_64: "_D10TypeInfo_g6initZ", referenced from: _D50TypeInfo_S3std3uni20T9sliceBitsVi4Vi7Z9sliceBits6initZ in example.o "_D10TypeInfo_k6initZ", referenced from: _D49TypeInfo_S3std3uni19T9BitPackedTkVi2Z9BitPacked6initZ in example.o "_D10TypeInfo_v6initZ", referenced from: _D11TypeInfo_Pv6initZ in example.o "_D11TypeInfo_Aa6__initZ", referenced from: _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya37T20toStringRadixConvertVm25Vi10Vb1Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya34T20toStringRadixConvertVm24Vi10Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya34T20toStringRadixConvertVm16Vi16Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya33T20toStringRadixConvertVm64Vi2Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya33T20toStringRadixConvertVm24Vi8Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya30T20toStringRadixConvertVm48Z20toStringRadixConvertMFkZAya in example.o "_D12TypeInfo_Aya6__initZ", referenced from: _D3std6format60T9formatNthTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ9formatNthFS3std5stdio4File17LockingTextWriterKS3std6format18T10FormatSpecTaZ10FormatSpecmffffZv15T7gencodeVm4Z7gencodeFNaNfZAya in example.o "_D15TypeInfo_Struct6vtblZ", referenced from: _D47TypeInfo_S3std6traits15T8DemangleTkZ8Demangle6initZ in example.o _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTbVi8Vi4Vi9Z9TrieEntry6initZ in example.o _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTtVi8Vi7Vi6Z9TrieEntry6initZ in example.o _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTbVi8Vi5Vi8Z9TrieEntry6initZ in example.o _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTbVi8Vi6Vi7Z9TrieEntry6initZ in example.o _D79TypeInfo_S3std8internal14unicode_tables28T9TrieEntryTbVi7Vi4Vi4Vi6Z9TrieEntry6initZ in example.o _D53TypeInfo_S3std6format18T10FormatSpecTaZ10FormatSpec6initZ in example.o ... "_D16TypeInfo_Pointer6vtblZ", referenced from: _D11TypeInfo_Pv6initZ in example.o "_D3std3uni25T16SliceOverIndexedTAiZ16SliceOverIndexed11xopEqualsFKxS3std3uni25T16SliceOverIndexedTAiZ16SliceOverIndexedKxS3std3uni25T16SliceOverIndexedTAiZ16SliceOverIndexedZb", referenced from: _D63TypeInfo_S3std3uni25T16SliceOverIndexedTAiZ16SliceOverIndexed6initZ in example.o "_D3std3utf12UTFException6__ctorMFNaNfAyamAyamC6object9ThrowableZC3std3utf12UTFException", referenced from: _D3std3utf23T10decodeImplVb1TAyaZ10decodeImplFNaKAyaKmZw18T9exceptionTAyaZ9exceptionFNaNfAyaAyaZC3std3utf12UTFException in example.o _D3std3utf20__T10strideBackTAyaZ10strideBackFNaNfKAyamZk in example.o _D3std3utf22T10decodeImplVb1TAaZ10decodeImplFNaKAaKmZw17T9exceptionTAaZ9exceptionFNaNfAaAyaZC3std3utf12UTFException in example.o _D3std3utf23T10decodeImplVb1TAxaZ10decodeImplFNaKAxaKmZw18T9exceptionTAxaZ9exceptionFNaNfAxaAyaZC3std3utf12UTFException in example.o "_D3std3utf12UTFException7ClassZ", referenced from: _D3std3utf23T10decodeImplVb1TAyaZ10decodeImplFNaKAyaKmZw18T9exceptionTAyaZ9exceptionFNaNfAyaAyaZC3std3utf12UTFException in example.o _D3std3utf20T10strideBackTAyaZ10strideBackFNaNfKAyamZk in example.o _D3std3utf22T10decodeImplVb1TAaZ10decodeImplFNaKAaKmZw17T9exceptionTAaZ9exceptionFNaNfAaAyaZC3std3utf12UTFException in example.o _D3std3utf23T10decodeImplVb1TAxaZ10decodeImplFNaKAxaKmZw18T9exceptionTAxaZ9exceptionFNaNfAxaAyaZC3std3utf12UTFException in example.o "_D3std3utf12isValidDcharFNaNbNfwZb", referenced from: _D3std3utf23T10decodeImplVb1TAyaZ10decodeImplFNaKAyaKmZw in example.o _D3std3utf22T10decodeImplVb1TAaZ10decodeImplFNaKAaKmZw in example.o _D3std3utf23T10decodeImplVb1TAxaZ10decodeImplFNaKAxaKmZw in example.o "_D3std3utf6encodeFNaNfKG4awZm", referenced from: _D3std9algorithm34T4findVAyaa6_61203d3d2062TAyaTaZ4findFNaNfAyaaZAya in example.o "_D3std3utf6toUTF8FNaNbNfJG4awZAa", referenced from: _D3std5stdio4File17LockingTextWriter10T3putTwZ3putMFwZv in example.o "_D3std3utf7arrayZ", referenced from: _D3std3utf23T10decodeImplVb1TAyaZ10decodeImplFNaKAyaKmZw18T9exceptionTAyaZ9exceptionFNaNfAyaAyaZC3std3utf12UTFException in example.o _D3std3utf20T10strideBackTAyaZ10strideBackFNaNfKAyamZk in example.o _D3std3utf22T10decodeImplVb1TAaZ10decodeImplFNaKAaKmZw17T9exceptionTAaZ9exceptionFNaNfAaAyaZC3std3utf12UTFException in example.o _D3std3utf23T10decodeImplVb1TAxaZ10decodeImplFNaKAxaKmZw18T9exceptionTAxaZ9exceptionFNaNfAxaAyaZC3std3utf12UTFException in example.o "_D3std4conv13ConvException6ctorMFNaNbNfAyaAyamZC3std4conv13ConvException", referenced from: _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya12dgliteral4MFNaNbNfZC6object9Throwable in example.o "_D3std4conv13ConvException7ClassZ", referenced from: _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya12dgliteral4MFNaNbNfZC6object9Throwable in example.o "_D3std4conv17T4textTAyaTAxaZ4textFNaNfAyaAxaZAya", referenced from: _D3std6format66T14formattedWriteTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ14formattedWriteFS3std5stdio4File17LockingTextWriterxAaffffZk13dgliteral16MFNaNfZAya in example.o "_D3std5array12T5emptyTaZ5emptyFNaNbNdNfxAaZb", referenced from: _D3std6format18T10FormatSpecTaZ10FormatSpec59T17writeUpToNextSpecTS3std5stdio4File17LockingTextWriterZ17writeUpToNextSpecMFS3std5stdio4File17LockingTextWriterZb in example.o "_D3std5array17T8AppenderTAxaZ8Appender4Data11xopEqualsFKxS3std5array17T8AppenderTAxaZ8Appender4DataKxS3std5array17T8AppenderTAxaZ8Appender4DataZb", referenced from: _D53TypeInfo_S3std5array17T8AppenderTAxaZ8Appender4Data6initZ in example.o "_D3std5array17T8AppenderTAyaZ8Appender4Data11xopEqualsFKxS3std5array17T8AppenderTAyaZ8Appender4DataKxS3std5array17T8AppenderTAyaZ8Appender4DataZb", referenced from: _D53TypeInfo_S3std5array17T8AppenderTAyaZ8Appender4Data6initZ in example.o "_D3std5array7arrayZ", referenced from: _D3std5array15__T7popBackTyaZ7popBackFNaNfKAyaZv in example.o _D3std5array15T8popFrontThZ8popFrontFNaNbNfKAhZv in example.o _D3std5array12T5frontThZ5frontFNaNbNcNdNfAhZh in example.o _D3std5array14__T7popBackThZ7popBackFNaNbNfKAhZv in example.o _D3std5array11T4backThZ4backFNaNbNcNdNfAhZh in example.o "_D3std5stdio12ModuleInfoZ", referenced from: _D6a5test12ModuleInfoZ in example.o "_D3std5stdio14fputc_unlockedFiPS4core4stdc5stdio6_iobufZi", referenced from: _D3std5stdio4File17LockingTextWriter11T3putTxaZ3putMFxaZv in example.o _D3std5stdio4File17LockingTextWriter10T3putTwZ3putMFwZv in example.o _D3std5stdio4File17LockingTextWriter10T3putTaZ3putMFaZv in example.o "_D3std5stdio15fputwc_unlockedFwPS4core4stdc5stdio6_iobufZi", referenced from: _D3std5stdio4File17LockingTextWriter11T3putTxaZ3putMFxaZv in example.o _D3std5stdio4File17LockingTextWriter10T3putTwZ3putMFwZv in example.o _D3std5stdio4File17LockingTextWriter10__T3putTaZ3putMFaZv in example.o "_D3std5stdio4File17LockingTextWriter6dtorMFZv", referenced from: _D3std5stdio4File23T8writeflnTaTfTfTfTfZ8writeflnMFxAaffffZv in example.o _D3std6format66__T14formattedWriteTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ14formattedWriteFS3std5stdio4File17LockingTextWriterxAaffffZk in example.o _D3std6format59T13formatGenericTS3std5stdio4File17LockingTextWriterTfTaZ13formatGenericFS3std5stdio4File17LockingTextWriterPxvKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o _D3std6format18T10FormatSpecTaZ10FormatSpec59T17writeUpToNextSpecTS3std5stdio4File17LockingTextWriterZ17writeUpToNextSpecMFS3std5stdio4File17LockingTextWriterZb in example.o _D3std6format60T9formatNthTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ9formatNthFS3std5stdio4File17LockingTextWriterKS3std6format18T10FormatSpecTaZ10FormatSpecmffffZv in example.o "_D3std5stdio4File17LockingTextWriter8cpctorMxFKxS3std5stdio4File17LockingTextWriterZv", referenced from: _D3std5stdio4File23T8writeflnTaTfTfTfTfZ8writeflnMFxAaffffZv in example.o _D3std6format66__T14formattedWriteTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ14formattedWriteFS3std5stdio4File17LockingTextWriterxAaffffZk in example.o _D3std6format59T13formatGenericTS3std5stdio4File17LockingTextWriterTfTaZ13formatGenericFS3std5stdio4File17LockingTextWriterPxvKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o _D3std6format60T9formatNthTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ9formatNthFS3std5stdio4File17LockingTextWriterKS3std6format18T10FormatSpecTaZ10FormatSpecmffffZv in example.o "_D3std5stdio4File17lockingTextWriterMFZS3std5stdio4File17LockingTextWriter", referenced from: _D3std5stdio4File23T8writeflnTaTfTfTfTfZ8writeflnMFxAaffffZv in example.o "_D3std5stdio6stdoutS3std5stdio4File", referenced from: _D3std5stdio25T8writeflnTAyaTfTfTfTfZ8writeflnFAyaffffZv in example.o "_D3std6format15FormatException6ctorMFNaNbNfAyaAyamC6object9ThrowableZC3std6format15FormatException", referenced from: _D3std6format22T9getNthIntTfTfTfTfZ9getNthIntFNaNfkffffZi in example.o _D3std6format20__T9getNthIntTfTfTfZ9getNthIntFNaNfkfffZi in example.o _D3std6format18T9getNthIntTfTfZ9getNthIntFNaNfkffZi in example.o _D3std6format16T9getNthIntTfZ9getNthIntFNaNfkfZi in example.o _D3std6format14__T9getNthIntZ9getNthIntFNaNfkZi in example.o "_D3std6format15FormatException7ClassZ", referenced from: _D3std6format22T9getNthIntTfTfTfTfZ9getNthIntFNaNfkffffZi in example.o _D3std6format20__T9getNthIntTfTfTfZ9getNthIntFNaNfkfffZi in example.o _D3std6format18T9getNthIntTfTfZ9getNthIntFNaNfkffZi in example.o _D3std6format16T9getNthIntTfZ9getNthIntFNaNfkfZi in example.o _D3std6format14__T9getNthIntZ9getNthIntFNaNfkZi in example.o "_D3std6format18T10FormatSpecTaZ10FormatSpec11xopEqualsFKxS3std6format18T10FormatSpecTaZ10FormatSpecKxS3std6format18T10FormatSpecTaZ10FormatSpecZb", referenced from: _D53TypeInfo_S3std6format18T10FormatSpecTaZ10FormatSpec6initZ in example.o "_D3std6format18T10FormatSpecTaZ10FormatSpec6ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec", referenced from: _D3std6format66T14formattedWriteTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ14formattedWriteFS3std5stdio4File17LockingTextWriterxAaffffZk in example.o "_D3std6format18T10FormatSpecTaZ10FormatSpec6fillUpMFNaNfZv", referenced from: _D3std6format18T10FormatSpecTaZ10FormatSpec59T17writeUpToNextSpecTS3std5stdio4File17LockingTextWriterZ17writeUpToNextSpecMFS3std5stdio4File17LockingTextWriterZb in example.o "_D3std6format18T10FormatSpecTaZ10FormatSpec6flDashMFNaNbNdNfbZv", referenced from: _D3std6format66T14formattedWriteTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ14formattedWriteFS3std5stdio4File17LockingTextWriterxAaffffZk in example.o "_D3std6format18__T10FormatSpecTaZ10FormatSpec6flDashMxFNaNbNdNfZb", referenced from: _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o "_D3std6format18__T10FormatSpecTaZ10FormatSpec6flHashMxFNaNbNdNfZb", referenced from: _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o "_D3std6format18__T10FormatSpecTaZ10FormatSpec6flPlusMxFNaNbNdNfZb", referenced from: _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o "_D3std6format18__T10FormatSpecTaZ10FormatSpec6flZeroMxFNaNbNdNfZb", referenced from: _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o "_D3std6format18__T10FormatSpecTaZ10FormatSpec7flSpaceMxFNaNbNdNfZb", referenced from: _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o "_D3std6format18T10FormatSpecTaZ10FormatSpec8toStringMFNaNfZAya", referenced from: _D53TypeInfo_S3std6format18T10FormatSpecTaZ10FormatSpec6__initZ in example.o "_D3std6traits15T8DemangleTkZ8Demangle11xopEqualsFKxS3std6traits15T8DemangleTkZ8DemangleKxS3std6traits15T8DemangleTkZ8DemangleZb", referenced from: _D47TypeInfo_S3std6traits15T8DemangleTkZ8Demangle6initZ in example.o "_D3std8internal14unicode_tables25T9TrieEntryTbVi8Vi4Vi9Z9TrieEntry11xopEqualsFNfKxS3std8internal14unicode_tables25__T9TrieEntryTbVi8Vi4Vi9Z9TrieEntryKxS3std8internal14unicode_tables25T9TrieEntryTbVi8Vi4Vi9Z9TrieEntryZb", referenced from: _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTbVi8Vi4Vi9Z9TrieEntry6initZ in example.o "_D3std8internal14unicode_tables25T9TrieEntryTbVi8Vi5Vi8Z9TrieEntry11xopEqualsFNfKxS3std8internal14unicode_tables25T9TrieEntryTbVi8Vi5Vi8Z9TrieEntryKxS3std8internal14unicode_tables25__T9TrieEntryTbVi8Vi5Vi8Z9TrieEntryZb", referenced from: _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTbVi8Vi5Vi8Z9TrieEntry6initZ in example.o "_D3std8internal14unicode_tables25T9TrieEntryTbVi8Vi6Vi7Z9TrieEntry11xopEqualsFNfKxS3std8internal14unicode_tables25__T9TrieEntryTbVi8Vi6Vi7Z9TrieEntryKxS3std8internal14unicode_tables25T9TrieEntryTbVi8Vi6Vi7Z9TrieEntryZb", referenced from: _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTbVi8Vi6Vi7Z9TrieEntry6initZ in example.o "_D3std8internal14unicode_tables25T9TrieEntryTtVi8Vi7Vi6Z9TrieEntry11xopEqualsFNfKxS3std8internal14unicode_tables25T9TrieEntryTtVi8Vi7Vi6Z9TrieEntryKxS3std8internal14unicode_tables25__T9TrieEntryTtVi8Vi7Vi6Z9TrieEntryZb", referenced from: _D76TypeInfo_S3std8internal14unicode_tables25T9TrieEntryTtVi8Vi7Vi6Z9TrieEntry6initZ in example.o "_D3std8internal14unicode_tables28T9TrieEntryTbVi7Vi4Vi4Vi6Z9TrieEntry11xopEqualsFNfKxS3std8internal14unicode_tables28__T9TrieEntryTbVi7Vi4Vi4Vi6Z9TrieEntryKxS3std8internal14unicode_tables28T9TrieEntryTbVi7Vi4Vi4Vi6Z9TrieEntryZb", referenced from: _D79TypeInfo_S3std8internal14unicode_tables28T9TrieEntryTbVi7Vi4Vi4Vi6Z9TrieEntry6initZ in example.o "_D3std9algorithm7arrayZ", referenced from: _D3std9algorithm34T4findVAyaa6_61203d3d2062TAyaTaZ4findFNaNfAyaaZAya in example.o _D3std9algorithm34T4findVAyaa6_61203d3d2062TAhTAhZ4findFNaNbNfAhAhZAh in example.o _D3std9algorithm41T10startsWithVAyaa6_61203d3d2062TAhTAhZ10startsWithFNaNbNfAhAhZb in example.o "_D3std9exception14ErrnoException6ctorMFAyaAyamZC3std9exception14ErrnoException", referenced from: _D3std9exception108T12errnoEnforceTiVAyaa37_2f7573722f73686172652f646d642f7372632f70686f626f732f7374642f737464696f2e64Vm1940Z12errnoEnforceFiLAyaZi in example.o "_D3std9exception14ErrnoException7ClassZ", referenced from: _D3std9exception108T12errnoEnforceTiVAyaa37_2f7573722f73686172652f646d642f7372632f70686f626f732f7374642f737464696f2e64Vm1940Z12errnoEnforceFiLAyaZi in example.o "_D3std9exception14T7enforceTbZ7enforceFNaNfbLC6object9ThrowableZb", referenced from: _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya in example.o "_D3std9exception44T9enforceExTC3std6format15FormatExceptionZ16T9enforceExTbZ9enforceExFNaNfbLAyaAyamZb", referenced from: _D3std6format66T14formattedWriteTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ14formattedWriteFS3std5stdio4File17LockingTextWriterxAaffffZk in example.o _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o _D3std6format18T10FormatSpecTaZ10FormatSpec59T17writeUpToNextSpecTS3std5stdio4File17LockingTextWriterZ17writeUpToNextSpecMFS3std5stdio4File17LockingTextWriterZb in example.o "_D3std9exception44T9enforceExTC3std6format15FormatExceptionZ16T9enforceExTmZ9enforceExFNaNfmLAyaAyamZm", referenced from: _D3std6format57T11formatValueTS3std5stdio4File17LockingTextWriterTfTaZ11formatValueFS3std5stdio4File17LockingTextWriterfKS3std6format18T10FormatSpecTaZ10FormatSpecZv in example.o "_D4core6thread12__ModuleInfoZ", referenced from: _D8allegro56system12ModuleInfoZ in libdallegro5.a(system.o) "aApplycd1", referenced from: _D3std5stdio4File17LockingTextWriter11__T3putTAaZ3putMFAaZv in example.o _D3std5stdio4File17LockingTextWriter12T3putTAxaZ3putMFAxaZv in example.o "adDupT", referenced from: _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya37T20toStringRadixConvertVm25Vi10Vb1Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya34T20toStringRadixConvertVm24Vi10Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya34T20toStringRadixConvertVm16Vi16Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya33T20toStringRadixConvertVm64Vi2Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya33T20toStringRadixConvertVm24Vi8Z20toStringRadixConvertMFkZAya in example.o _D3std4conv17T6toImplTAyaTmZ6toImplFNaNemkE3std5ascii10LetterCaseZAya30T20toStringRadixConvertVm48Z20toStringRadixConvertMFkZAya in example.o "d_array_bounds", referenced from: _D8allegro511allegro_ttf7arrayZ in libdallegro5.a(allegro_ttf.o) _D8allegro512allegro_font7__arrayZ in libdallegro5.a(allegro_font.o) _D8allegro513allegro_color7arrayZ in libdallegro5.a(allegro_color.o) _D8allegro513allegro_image7arrayZ in libdallegro5.a(allegro_image.o) _D8allegro518allegro_primitives7arrayZ in libdallegro5.a(allegro_primitives.o) _D8allegro57allegro7arrayZ in libdallegro5.a(allegro.o) _D8allegro517allegro_color_ret7arrayZ in libdallegro5.a(allegro_color_ret.o) ... "d_arrayappendT", referenced from: _D3std6format60T9formatNthTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ9formatNthFS3std5stdio4File17LockingTextWriterKS3std6format18T10FormatSpecTaZ10FormatSpecmffffZv15T7gencodeVm4Z7gencodeFNaNfZAya in example.o "d_arraycatnT", referenced from: _D3std6format60T9formatNthTS3std5stdio4File17LockingTextWriterTaTfTfTfTfZ9formatNthFS3std5stdio4File17LockingTextWriterKS3std6format18T10FormatSpecTaZ10FormatSpecmffffZv15T7gencodeVm4Z7gencodeFNaNfZAya in example.o "d_assertm", referenced from: _D8allegro511allegro_ttf8__assertFiZv in libdallegro5.a(allegro_ttf.o) _D8allegro512allegro_font8assertFiZv in libdallegro5.a(allegro_font.o) _D8allegro513allegro_color8assertFiZv in libdallegro5.a(allegro_color.o) _D8allegro513allegro_image8__assertFiZv in libdallegro5.a(allegro_image.o) _D8allegro518allegro_primitives8assertFiZv in libdallegro5.a(allegro_primitives.o) _D8allegro57allegro8assertFiZv in libdallegro5.a(allegro.o) _D8allegro517allegro_color_ret8assertFiZv in libdallegro5.a(allegro_color_ret.o) ... "d_newclass", referenced from: _D3std3utf23T10decodeImplVb1TAyaZ10decodeImplFNaKAyaKmZw18T9exceptionTAyaZ9exceptionFNaNfAyaAyaZC3std3utf12UTFException in example.o _D3std3utf20T10strideBackTAyaZ10strideBackFNaNfKAyamZk in example.o _D3std3utf22T10decodeImplVb1TAaZ10decodeImplFNaKAaKmZw17T9exceptionTAaZ9exceptionFNaNfAaAyaZC3std3utf12UTFException in example.o _D3std9exception108T12errnoEnforceTiVAyaa37_2f7573722f73686172652f646d642f7372632f70686f626f732f7374642f737464696f2e64Vm1940Z12errnoEnforceFiLAyaZi in example.o _D3std3utf23T10decodeImplVb1TAxaZ10decodeImplFNaKAxaKmZw18T9exceptionTAxaZ9exceptionFNaNfAxaAyaZC3std3utf12UTFException in example.o _D3std6format22__T9getNthIntTfTfTfTfZ9getNthIntFNaNfkffffZi in example.o _D3std6format20T9getNthIntTfTfTfZ9getNthIntFNaNfkfffZi in example.o ... "d_run_main", referenced from: _main in example.o "d_throwc", referenced from: _D3std3utf23T10decodeImplVb1TAyaZ10decodeImplFNaKAyaKmZw in example.o _D3std3utf20T10strideBackTAyaZ10strideBackFNaNfKAyamZk in example.o _D3std3utf22T10decodeImplVb1TAaZ10decodeImplFNaKAaKmZw in example.o _D3std9exception108T12errnoEnforceTiVAyaa37_2f7573722f73686172652f646d642f7372632f70686f626f732f7374642f737464696f2e64Vm1940Z12errnoEnforceFiLAyaZi in example.o _D3std3utf23T10decodeImplVb1TAxaZ10decodeImplFNaKAxaKmZw in example.o _D3std6format22T9getNthIntTfTfTfTfZ9getNthIntFNaNfkffffZi in example.o _D3std6format20T9getNthIntTfTfTfZ9getNthIntFNaNfkfffZi in example.o ... "d_unittestm", referenced from: _D8allegro511allegro_ttf15unittest_failFiZv in libdallegro5.a(allegro_ttf.o) _D8allegro512allegro_font15unittest_failFiZv in libdallegro5.a(allegro_font.o) _D8allegro513allegro_color15unittest_failFiZv in libdallegro5.a(allegro_color.o) _D8allegro513allegro_image15unittest_failFiZv in libdallegro5.a(allegro_image.o) _D8allegro518allegro_primitives15unittest_failFiZv in libdallegro5.a(allegro_primitives.o) _D8allegro57allegro15unittest_failFiZv in libdallegro5.a(allegro.o) _D8allegro517allegro_color_ret15unittest_failFiZv in libdallegro5.a(allegro_color_ret.o) ... "_thread_attachThis", referenced from: D8allegro56system14al_run_allegroFMDFZiZi11main_runnerUiPPaZi in libdallegro5.a(system_43e_5c6.o) "_thread_detachThis", referenced from: __D8allegro56system14al_run_allegroFMDFZiZi11main_runnerUiPPaZi in libdallegro5.a(system_43e_5c6.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) --- errorlevel 1 Joels-MacBook-Pro:DAllegro5 joelcnz$

SiegeLord commented 9 years ago

Huh, does your dmd even work at all for simple D programs?

joelcnz commented 9 years ago

Yeah, I'm using it for D programming. I'm not sure it's all there though. One kind of config library (ini all the ini ones I tried) doesn't work, it crashes. I got farther before with DAllegro.