<span style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">
<p dir="auto">I could not find a way to fix it in that line, but this did help:</p>
<pre class="notranslate"><code class="notranslate">Index: SConscript
===================================================================
--- SConscript (revision 13880)
+++ SConscript (working copy)
@@ -1299,13 +1299,13 @@
if env.WhereIs('sdl-config'):
commonenv.ParseConfig('sdl-config --cflags')
else:
- commonenv['CFLAGS'] += ["-I", "/Library/Frameworks/SDL.framework/Headers", "-I", FRAMEWORKS_PATH + "/SDL.framework/Headers"]
+ commonenv['CFLAGS'] += ["-I/Library/Frameworks/SDL.framework/Headers", "-I" + FRAMEWORKS_PATH + "/SDL.framework/Headers"]
if 'sdl2' in gfx:
# SDL2 does not have SDLmain
if env.WhereIs('sdl2-config'):
commonenv.ParseConfig('sdl2-config --cflags')
else:
- commonenv['CFLAGS'] += ["-I", "/Library/Frameworks/SDL2.framework/Headers", "-I", FRAMEWORKS_PATH + "/SDL2.framework/Headers"]
+ commonenv['CFLAGS'] += ["-I/Library/Frameworks/SDL2.framework/Headers", "-I" + FRAMEWORKS_PATH + "/SDL2.framework/Headers"]
# if 'sdl' in music:
# # libvorbisfile is linked into SDL_mixer.framework which has been compiled to export its symbols
# commonenv['FBFLAGS'] += ['-d', 'HAVE_VORBISFILE']
</code></pre>
<p dir="auto">With that fix, it gets further, to a different interesting error</p>
<pre class="notranslate"><code class="notranslate">gcc -Wall -Wno-unused-label -Wno-unused-variable -Wno-unused-function -g -m64 -fwrapv -frounding-math -fno-omit-frame-pointer --std=gnu11 -mmacosx-version-min=10.6 -Wno-deprecated-declarations -ffunction-sections -DFBCVERSION=1060 -fdata-sections -I/Users/ohrmacdev/Library/Frameworks/SDL2.framework/Headers -O3 -I/Library/Frameworks/SDL2.framework/Headers -I. -Wno-unused-but-set-variable -Wno-missing-braces -Wno-builtin-requires-header -Wno-incompatible-library-redeclaration -c build/game-allmodex.o.c -o build/game-allmodex.o
gcc -o ohrrpgce-game build/achievements_runtime.rbas.o build/bmod.rbas.o build/menustuf.rbas.o build/moresubs.rbas.o build/savegame.rbas.o build/purchase.rbas.o build/game-achievements.rbas.o build/game-animations.rbas.o build/game-common.rbas.o build/game-loading.rbas.o build/os_sockets.o build/networkutil.o build/os_unix.o build/os_unix2.o build/util.o build/base64.o build/unicode.o build/array.o build/miscc.o build/fb/error.o build/lib/sha1.o build/lib/lodepng.o build/lib/lodepng_gzip.o build/filelayer.o build/globals.o build/lumpfile.o build/vector.o build/os_unix_wm.o build/blit.o build/matrixMath.o build/rasterizer.o build/rotozoom.o build/surface.o build/lib/gif.o build/lib/jo_jpeg.o build/lib/ujpeg.o build/datafiles.o build/game.o build/bmodsubs.o build/scriptcommands.o build/yetmore2.o build/walkabouts.o build/scripting.o build/oldhsinterpreter.o build/pathfinding.o build/game-gfx_sdl2.o build/game-music_sdl2.o build/game-allmodex.o build/game-audiofile.o build/game-backends.o build/game-bam2mid.o build/game-bcommon.o build/game-browse.o build/game-common_menus.o build/game-cmdline.o build/game-menus.o build/game-reload.o build/game-reloadext.o build/game-sliceedit.o build/game-slices.o build/game-specialslices.o build/game-steam.o build/game-thingbrowser.o build/game-plankmenu.o -g -O2 -F /Users/ohrmacdev/Library/Frameworks -mmacosx-version-min=10.6 -Wl,-rpath,@executable_path/../Frameworks -Wl,-no_pie -m64 -Wl,-dead_strip -Wl,-L/Users/ohrmacdev/src/ohrmac/fbcmac/bin/../lib/freebasic/darwin-x86_64 /Users/ohrmacdev/src/ohrmac/fbcmac/bin/../lib/freebasic/darwin-x86_64/fbrt0.o -lfbmt -lstdc++ -lpthread -lncurses -framework SDL2 -framework SDL2 -framework SDL2_mixer -framework Cocoa
ld: warning: dylib (/Users/ohrmacdev/Library/Frameworks/SDL2.framework/SDL2) was built for newer macOS version (10.11) than being linked (10.6)
ld: warning: dylib (/Users/ohrmacdev/Library/Frameworks/SDL2_mixer.framework/SDL2_mixer) was built for newer macOS version (10.11) than being linked (10.6)
Undefined symbols for architecture x86_64:
"ACHIEVEMENTS::IS_PERMANENT()", referenced from:
ACHIEVEMENTS::EVALUATE_TAGS() in achievements_runtime.rbas.o
"ACHIEVEMENTS::ENABLE_DEBUG$", referenced from:
_DEBUG_MENU_FUNCTIONS in game.o
_GAME_SETOPTION in yetmore2.o
"ACHIEVEMENTS::DEFINITIONS_LOAD(FBSTRING&)", referenced from:
_main in game.o
"ACHIEVEMENTS::DEFINITIONS_COUNT()", referenced from:
ACHIEVEMENTS::RUNTIME_RESET() in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_LOAD(RELOAD::NODE*) in achievements_runtime.rbas.o
"ACHIEVEMENTS::DEFINITIONS_RESET()", referenced from:
_GAME_SETOPTION in yetmore2.o
"ACHIEVEMENTS::GET_DEFINITION_BY_INDEX(int)", referenced from:
ACHIEVEMENTS::EVALUATE_TAGS() in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_LOAD(RELOAD::NODE*) in achievements_runtime.rbas.o
"ACHIEVEMENTS::ACH_DEBUG(FBSTRING&)", referenced from:
ACHIEVEMENTS::EVALUATE_TAGS() in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_LOAD(RELOAD::NODE*) in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_SAVE(RELOAD::NODE*) in achievements_runtime.rbas.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [ohrrpgce-game] Error 1
scons: building terminated because of errors.
Pruned 21 file(s) (12MB) from cache
</code></pre><p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2798883540">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZVGOTVECEZ3E5SZDTL2ZEZCRAVCNFSM6AAAAABZC32DNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJYHA4DGNJUGA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZXSWQ3TS3543SGOITL2ZEZCRA5CNFSM6AAAAABZC32DNKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVG2OJNI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1281/2798883540</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
</span>
<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/3442937?s=20&v=4" /><strong>bob-the-hamster</strong> left a comment <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2798883540">(ohrrpgce/ohrrpgce#1281)</a></div>
<p dir="auto">I could not find a way to fix it in that line, but this did help:</p>
<pre class="notranslate"><code class="notranslate">Index: SConscript
===================================================================
--- SConscript (revision 13880)
+++ SConscript (working copy)
@@ -1299,13 +1299,13 @@
if env.WhereIs('sdl-config'):
commonenv.ParseConfig('sdl-config --cflags')
else:
- commonenv['CFLAGS'] += ["-I", "/Library/Frameworks/SDL.framework/Headers", "-I", FRAMEWORKS_PATH + "/SDL.framework/Headers"]
+ commonenv['CFLAGS'] += ["-I/Library/Frameworks/SDL.framework/Headers", "-I" + FRAMEWORKS_PATH + "/SDL.framework/Headers"]
if 'sdl2' in gfx:
# SDL2 does not have SDLmain
if env.WhereIs('sdl2-config'):
commonenv.ParseConfig('sdl2-config --cflags')
else:
- commonenv['CFLAGS'] += ["-I", "/Library/Frameworks/SDL2.framework/Headers", "-I", FRAMEWORKS_PATH + "/SDL2.framework/Headers"]
+ commonenv['CFLAGS'] += ["-I/Library/Frameworks/SDL2.framework/Headers", "-I" + FRAMEWORKS_PATH + "/SDL2.framework/Headers"]
# if 'sdl' in music:
# # libvorbisfile is linked into SDL_mixer.framework which has been compiled to export its symbols
# commonenv['FBFLAGS'] += ['-d', 'HAVE_VORBISFILE']
</code></pre>
<p dir="auto">With that fix, it gets further, to a different interesting error</p>
<pre class="notranslate"><code class="notranslate">gcc -Wall -Wno-unused-label -Wno-unused-variable -Wno-unused-function -g -m64 -fwrapv -frounding-math -fno-omit-frame-pointer --std=gnu11 -mmacosx-version-min=10.6 -Wno-deprecated-declarations -ffunction-sections -DFBCVERSION=1060 -fdata-sections -I/Users/ohrmacdev/Library/Frameworks/SDL2.framework/Headers -O3 -I/Library/Frameworks/SDL2.framework/Headers -I. -Wno-unused-but-set-variable -Wno-missing-braces -Wno-builtin-requires-header -Wno-incompatible-library-redeclaration -c build/game-allmodex.o.c -o build/game-allmodex.o
gcc -o ohrrpgce-game build/achievements_runtime.rbas.o build/bmod.rbas.o build/menustuf.rbas.o build/moresubs.rbas.o build/savegame.rbas.o build/purchase.rbas.o build/game-achievements.rbas.o build/game-animations.rbas.o build/game-common.rbas.o build/game-loading.rbas.o build/os_sockets.o build/networkutil.o build/os_unix.o build/os_unix2.o build/util.o build/base64.o build/unicode.o build/array.o build/miscc.o build/fb/error.o build/lib/sha1.o build/lib/lodepng.o build/lib/lodepng_gzip.o build/filelayer.o build/globals.o build/lumpfile.o build/vector.o build/os_unix_wm.o build/blit.o build/matrixMath.o build/rasterizer.o build/rotozoom.o build/surface.o build/lib/gif.o build/lib/jo_jpeg.o build/lib/ujpeg.o build/datafiles.o build/game.o build/bmodsubs.o build/scriptcommands.o build/yetmore2.o build/walkabouts.o build/scripting.o build/oldhsinterpreter.o build/pathfinding.o build/game-gfx_sdl2.o build/game-music_sdl2.o build/game-allmodex.o build/game-audiofile.o build/game-backends.o build/game-bam2mid.o build/game-bcommon.o build/game-browse.o build/game-common_menus.o build/game-cmdline.o build/game-menus.o build/game-reload.o build/game-reloadext.o build/game-sliceedit.o build/game-slices.o build/game-specialslices.o build/game-steam.o build/game-thingbrowser.o build/game-plankmenu.o -g -O2 -F /Users/ohrmacdev/Library/Frameworks -mmacosx-version-min=10.6 -Wl,-rpath,@executable_path/../Frameworks -Wl,-no_pie -m64 -Wl,-dead_strip -Wl,-L/Users/ohrmacdev/src/ohrmac/fbcmac/bin/../lib/freebasic/darwin-x86_64 /Users/ohrmacdev/src/ohrmac/fbcmac/bin/../lib/freebasic/darwin-x86_64/fbrt0.o -lfbmt -lstdc++ -lpthread -lncurses -framework SDL2 -framework SDL2 -framework SDL2_mixer -framework Cocoa
ld: warning: dylib (/Users/ohrmacdev/Library/Frameworks/SDL2.framework/SDL2) was built for newer macOS version (10.11) than being linked (10.6)
ld: warning: dylib (/Users/ohrmacdev/Library/Frameworks/SDL2_mixer.framework/SDL2_mixer) was built for newer macOS version (10.11) than being linked (10.6)
Undefined symbols for architecture x86_64:
"ACHIEVEMENTS::IS_PERMANENT()", referenced from:
ACHIEVEMENTS::EVALUATE_TAGS() in achievements_runtime.rbas.o
"ACHIEVEMENTS::ENABLE_DEBUG$", referenced from:
_DEBUG_MENU_FUNCTIONS in game.o
_GAME_SETOPTION in yetmore2.o
"ACHIEVEMENTS::DEFINITIONS_LOAD(FBSTRING&)", referenced from:
_main in game.o
"ACHIEVEMENTS::DEFINITIONS_COUNT()", referenced from:
ACHIEVEMENTS::RUNTIME_RESET() in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_LOAD(RELOAD::NODE*) in achievements_runtime.rbas.o
"ACHIEVEMENTS::DEFINITIONS_RESET()", referenced from:
_GAME_SETOPTION in yetmore2.o
"ACHIEVEMENTS::GET_DEFINITION_BY_INDEX(int)", referenced from:
ACHIEVEMENTS::EVALUATE_TAGS() in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_LOAD(RELOAD::NODE*) in achievements_runtime.rbas.o
"ACHIEVEMENTS::ACH_DEBUG(FBSTRING&)", referenced from:
ACHIEVEMENTS::EVALUATE_TAGS() in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_LOAD(RELOAD::NODE*) in achievements_runtime.rbas.o
ACHIEVEMENTS::RUNTIME_SAVE(RELOAD::NODE*) in achievements_runtime.rbas.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [ohrrpgce-game] Error 1
scons: building terminated because of errors.
Pruned 21 file(s) (12MB) from cache
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2798883540">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZVGOTVECEZ3E5SZDTL2ZEZCRAVCNFSM6AAAAABZC32DNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJYHA4DGNJUGA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZXSWQ3TS3543SGOITL2ZEZCRA5CNFSM6AAAAABZC32DNKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVG2OJNI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1281/2798883540</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2798883540",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2798883540",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>