GameDesign 板


LINE

2020-01-05 10:30=>15:30 花了5个小时造出了64bit执行档, 至少可以看到第一个画面,然後: gdb: unknown target exception 0xe24c4a03 at 0x7ffd5e21a388 Program received signal ?, Unknown signal. (gdb) bt #0 0x00007ffd5e21a388 in RaiseException () from C:\WINDOWS\System32\KernelBase.dll #1 0x00000000041803b8 in ?? () #2 0x0000000004180378 in ?? () #3 0x00000000005be350 in lj_lib_load () https://github.com/dinodeck/dinodeck O:\rpg\dinodeck\src>make PLATFORM_DD=WINDOWS 自建的 OpenAL 坏了,用系统的: C:\msys64\mingw64\bin>copy libopenal-1.dll o:\rpg\ #0 0x00000000000960ee in ?? () #1 0x0000000000fd21cf in alc_initconfig () at O:\rpg\dinodeck\lib\openal-soft\Alc\ALc.c:883 #2 0x0000000000fe00e2 in alcall_once (once=once@entry=0x1041100 <alc_config_once>, callback=callback@entry=0xfd21b0 <alc_initconfig>) at O:\rpg\dinodeck\lib\openal-soft\common\threads.c:479 #3 0x0000000000fd3c02 in alcOpenDevice (deviceName=0x0) at O:\rpg\dinodeck\lib\openal-soft\Alc\ALc.c:3312 #4 0x00000000004456d6 in DDAudio::DDAudio() () #5 0x0000000001590000 in ?? () #6 0x0000000000000001 in ?? () #7 0x000000000057edc6 in operator new(unsigned long long) () #8 0x0000000000000068 in ?? () #9 0x0000000001596218 in ?? () #10 0x0000000001596620 in ?? () #11 0x0000000001596e10 in ?? () #12 0x000000000097fc60 in ?? () #13 0x000000000044ab7c in Dinodeck::Dinodeck(std::string const&) () LDFLAGS+=../lib/openal-soft/build/libOpenAL32.a LDFLAGS+=../lib/openal-soft/build/libaltonegen.dll.a LDFLAGS+=../lib/openal-soft/build/libcommon.a LDFLAGS+=../lib/openal-soft/build/libopenal-info.dll.a LDFLAGS+=../lib/openal-soft/build/libtest-common.a LIB 要在执行档的目录: O:\rpg\dinodeck\lib\freetype\objs\.libs 01/05/2020 08:15 AM 3,022,633 libfreetype-6.dll O:\rpg\dinodeck\lib\ftgl\src>copy ftgl.dll o:\rpg\ O:\rpg\dinodeck\lib\openal-soft\build>copy altonegen.exe o:\rpg\ 系统的 SDL 不能用,其他函式库也有相同的情形: c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../ x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): crt0_c.c:(.text.startup+0x25): undefined reference to `WinMain' ../lib/sdl-1.2.15/build/.libs/libSDL.a(SDL_video.o): In function `SDL_SetVideoMode': O:\rpg\dinodeck\lib\sdl-1.2.15/./src/video/SDL_video.c:594: undefined reference to `sysevents_mouse_pressed' libluajit-5.1.a(ljamalg.o):(.text+0x479d): undefined reference to `__imp___acrt_iob_func' libluajit-5.1.a(ljamalg.o):(.text+0x33382): undefined reference to `__imp___p__fmode' libluajit-5.1.a(ljamalg.o):(.text+0x3e596): undefined reference to `__imp___acrt_iob_func' libluajit-5.1.a(ljamalg.o):(.text+0x3eb78): undefined reference to `__imp__difftime64' 用作者 github 的 SDL, configure.ac/configure 要改才支持 mingw64 https://github.com/dinodeck/sdl-1.2.15.git O:\rpg\dinodeck\lib\sdl-1.2.15> sh configure --enable-video --enable-directx --enable-events -ldxguid -lwinmm undefined reference to `IID_IDirectInputDevice2A' undefined reference to `GUID_SysKeyboard' x86_64-pc-msys64 checking whether we are cross compiling... no $have_win32_gcc configure: error: *** Unsupported host: Please add to configure.in O:\rpg\dinodeck\lib\sdl-1.2.15> findstr mingw build-scripts\config.sub mingw32) os=-mingw32 mingw32ce) os=-mingw32ce os=-mingw32 | -mingw32* | -linux-gnu* | -linux-newlib* | checking build system type... Invalid configuration `x86_64-pc-msys': system `msys' not recognized configure: error: /bin/sh ./build-scripts/config.sub x86_64-pc-msys failed https://discourse.libsdl.org/t/sdl-gcc-and-windows/8042/2 cmake -G "MinGW Makefiles" -D CMAKE_MAKE_PROGRAM="C:\MinGW\bin\mingw32-make.exe" .. O:\rpg\dinodeck\lib\openal-soft\build> ..\..\physfs\cmake-2.8.3-win32-x86\cmake-2.8.3-win32-x86\bin\cmake -G "MinGW Makefiles" -D CMAKE_MAKE_PROGRAM="C:\MinGW\bin\mingw32-make.exe" .. O:\rpg\dinodeck\lib\ftgl\src\lib>copy libftgl.a ..\libftgl_static.a O:\rpg\dinodeck\lib\ftgl\src\lib>copy ftgl.dll .. findstr GLuint C:\Mingw\x86_64-w64-mingw32\include\GL\gl.h typedef unsigned int GLuint; pacman -S mingw-w64-x86_64-freeglut cmake 用 physfs 目录的 .zip 解开的执行档 O:\rpg\dinodeck\lib\physfs\build2> ..\cmake-2.8.3-win32-x86\cmake-2.8.3-win32-x86\bin\cmake -G "MinGW Makefiles" -D CMAKE_MAKE_PROGRAM="C:\MinGW\bin\mingw32-make.exe" ..\..\PhysFS luajit 要用 set MSYSTEM=MINGW64 https://github.com/openai/retro/issues/30 set MSYSTEM=MINGW64 O:\rpg\dinodeck\lib\LuaJIT\src>make libluajit.a AR libluajit.a lj_vm.s:6: Error: unknown pseudo-op: `.hidden' lj_vm.s:7: Warning: .type pseudo-op used outside of .def/.endef: ignored. https://hustlei.github.io/2018/11/msys2-for-win.html -- https://youtu.be/MMWBPklrRB4 小鸡逼逼(崩溃版)
https://youtu.be/KlZL1hqGxDg 《江南夜色》
https://youtu.be/WIW16vMdrZU 《告白气球》
--



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.161.218.59 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/GameDesign/M.1578847765.A.DDB.html







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Boy-Girl站内搜寻

TOP