Package Details: theforceengine-git 1:1.09.540.r328.g9ecb4a6-1

Git Clone URL: https://aur.archlinux.org/theforceengine-git.git (read-only, click to copy)
Package Base: theforceengine-git
Description: Modern "Jedi Engine" replacement supporting Dark Forces, Outlaws and the mods
Upstream URL: https://theforceengine.github.io/
Keywords: dark forces, fps
Licenses: GPL2
Conflicts: theforceengine
Submitter: None
Maintainer: FabioLolix
Last Packager: FredBezies
Votes: 1
Popularity: 0.076890
First Submitted: 2023-11-04 22:55 (UTC)
Last Updated: 2024-04-27 11:13 (UTC)

Latest Comments

fenuks commented on 2025-03-01 11:39 (UTC) (edited on 2025-03-01 11:55 (UTC) by fenuks)

Doesn't compile. There are linking errors at the end:

/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_DarkForces/darkForcesMain.cpp.o: in function `TFE_DarkForces::DarkForces::loopGame()':
darkForcesMain.cpp:(.text+0xfd1): undefined reference to `TFE_ScriptInterface::reset()'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_DarkForces/darkForcesMain.cpp.o: in function `TFE_DarkForces::DarkForces::serializeGameState(Stream*, char const*, bool)':
darkForcesMain.cpp:(.text+0x1df3): undefined reference to `TFE_ForceScript::serialize(Stream*)'
/usr/bin/ld: darkForcesMain.cpp:(.text+0x1ebf): undefined reference to `TFE_ForceScript::serialize(Stream*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_DarkForces/darkForcesMain.cpp.o: in function `TFE_DarkForces::DarkForces::runGame(int, char const**, Stream*)':
darkForcesMain.cpp:(.text+0x3675): undefined reference to `TFE_ScriptInterface::registerScriptInterface(ScriptAPI)'
/usr/bin/ld: darkForcesMain.cpp:(.text+0x3681): undefined reference to `TFE_ScriptInterface::setAPI(ScriptAPI, char const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_DarkForces/darkForcesMain.cpp.o: in function `TFE_DarkForces::DarkForces::exitGame()':
darkForcesMain.cpp:(.text+0x94d): undefined reference to `TFE_ScriptInterface::reset()'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/InfSystem/infSystem.cpp.o: in function `TFE_Jedi::inf_elevatorTaskFunc(MessageType)':
infSystem.cpp:(.text+0x5aeb): undefined reference to `TFE_ForceScript::execFunc(void*, int, TFE_ForceScript::ScriptArg const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/InfSystem/infSystem.cpp.o: in function `TFE_Jedi::inf_stopHandleScriptCall(TFE_Jedi::Stop*)':
infSystem.cpp:(.text+0x647b): undefined reference to `TFE_ForceScript::execFunc(void*, int, TFE_ForceScript::ScriptArg const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/Level/level.cpp.o: in function `TFE_Jedi::freeLevelScript()':
level.cpp:(.text+0x5cc): undefined reference to `TFE_ForceScript::deleteModule(char const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/Level/level.cpp.o: in function `TFE_Jedi::loadLevelScript()':
level.cpp:(.text+0x60d): undefined reference to `TFE_ForceScript::createModule(char const*, char const*, bool, unsigned int)'
/usr/bin/ld: level.cpp:(.text+0x63e): undefined reference to `TFE_ForceScript::findScriptFuncByDecl(void*, char const*)'
/usr/bin/ld: level.cpp:(.text+0x658): undefined reference to `TFE_ForceScript::findScriptFuncByDecl(void*, char const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/Level/level.cpp.o: in function `TFE_Jedi::startLevelScript(char const*)':
level.cpp:(.text+0x6fb): undefined reference to `TFE_ForceScript::execFunc(void*, int, TFE_ForceScript::ScriptArg const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/Level/level.cpp.o: in function `TFE_Jedi::updateLevelScript(float)':
level.cpp:(.text+0x7a6): undefined reference to `TFE_ForceScript::execFunc(void*, int, TFE_ForceScript::ScriptArg const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/Level/level.cpp.o: in function `TFE_Jedi::level_load(char const*, unsigned char)':
level.cpp:(.text+0x2fe0): undefined reference to `TFE_ForceScript::createModule(char const*, char const*, bool, unsigned int)'
/usr/bin/ld: level.cpp:(.text+0x3011): undefined reference to `TFE_ForceScript::findScriptFuncByDecl(void*, char const*)'
/usr/bin/ld: level.cpp:(.text+0x302b): undefined reference to `TFE_ForceScript::findScriptFuncByDecl(void*, char const*)'
/usr/bin/ld: CMakeFiles/tfe.dir/TheForceEngine/TFE_Jedi/Level/level.cpp.o: in function `TFE_Jedi::getLevelScriptFunc(char const*)':
level.cpp:(.text+0x810): undefined reference to `TFE_ForceScript::findScriptFuncByNameNoCase(void*, char const*)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Adding -DENABLE_FORCE_SCRIPT=ON -DENABLE_EDITOR=ON CMake flags fixes these issues.

leo_rockway commented on 2024-11-04 07:08 (UTC)

I'm getting this error, I'm not sure if I'm missing something:

[234/253] Building CXX object CMakeFiles/tfe.dir/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp.o FAILED: CMakeFiles/tfe.dir/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp.o /usr/bin/c++ -DBUILD_SYSMIDI -I/home/foo/theforceengine-git/src/TheForceEngine/build -I/usr/include/libpng16 -I/usr/include/rav1e -I/usr/include/svt-av1 -I/usr/include/webp -I/home/foo/theforceengine-git/src/TheForceEngine/TheForceEngine -isystem /usr/include/SDL2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -ftrivial-auto-var-init=zero -O3 -DNDEBUG -std=c++14 -MD -MT CMakeFiles/tfe.dir/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp.o -MF CMakeFiles/tfe.dir/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp.o.d -o CMakeFiles/tfe.dir/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp.o -c /home/foo/theforceengine-git/src/TheForceEngine/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp /home/foo/theforceengine-git/src/TheForceEngine/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp: In member function ‘void ScreenCapture::drawGui()’: /home/foo/theforceengine-git/src/TheForceEngine/TheForceEngine/TFE_RenderBackend/Win32OpenGL/screenCapture.cpp:348:43: error: format not a string literal and no format arguments [-Werror=format-security] 348 | ImGui::TextWrapped(m_confirmationMessage.c_str()); | ^ cc1plus: some warnings being treated as errors [239/253] Building CXX object CMakeFiles/tfe.dir/TheForceEngine/TFE_System/system.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...