我找不到方法使Allegro5与FreeBasic在Windows上一起使用。
我下载并安装了FreeBASIC-1.05.0-win32.exe。
我下载了Allegro binaries allegro-5.0.10-mingw-4.7.0。
安装的fbc版本是独立版本。 我创建allegrolibs文件夹并从快板分布allegrolibs复制这些库:Allegro 5和FreeBASIC
liballegro_5.0.10-md.a
liballegro_font-5.0.10-md.a
liballegro_ttf-5.0.10-md.a
我添加了必要的快板的dll从快板分布实例/图形/快板:
allegro_font-5.0.10-md.dll
allegro_ttf-5.0.10-md.dll
allegro-5.0.10-md.dll
我运行FBC从命令行尝试从examples/graphics/allegro5编译hello.bas:
fbc -s gui -p allegrolibs examples/graphics/allegro5/hello.bas
程序编译得很好。
然而,在运行时用hello.exe表明我这个错误:
The program can't start because libgcc_s_dw2_1.dll is missing from your computer.
从FreeBASIC \ BIN \ WIN32到用hello.exe所在的文件夹复制libgcc_s_dw2_1.dll,然后运行:
The program can't start because libstdc++-6.dll is missing from your computer.
添加的libstdC++ - 从ming4.7.0二进制分发6.dll然后运行:
The program can't start because libgcc_s_sjlj-1.dll is missing from your computer.
从ming4.7.0二进制分发版添加libgcc_s_sjlj-1.dll文件,然后运行:
The program can't start because libwinpthread-1.dll is missing from your computer.
从ming4.7.0二进制分发版添加libwinpthread-1.dll文件,然后运行:
The procedure entry point __gxx_personality_v0 could not be located
in the dynamic link library libstd++-6.dll.
在这一点上,我卡住了。我做错了什么?任何尝试过并能解决问题的人都愿意帮助解决这个问题?