You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep bumping into various issues, always fixing them manually, then forgetting, then bumping again - I'll gather the notes here. I'll post both issues with ror-dependencies and issues likely in rigs-of-rods, to be sorted later.
Release/ZLIB_ZLIB glitch
Steps:
Delete the generated 'Dependencies_PLATFORMNAME' directory (previously built as debug).
Do 'Clean solution' in visualstudio
Set 'Release' and do 'Build solution' in visualstudio --> build error: MyGUI can't find ZLIB
retry --> build passes ?!
Release/MyGuiEngine.dll glitch
do steps of ZLIB_ZLIB bove
build and run rigs-of-rods as Release --> missing MyGUIEngine.dll
Workaround: copy MyGuiEngine.dll from Dependencies_PLATFORMNAME/bin/Release to rigs-of-rods-BUILDDIR/bin/
(OPTIONAL) if rigs-of-rods fails to link: LNK1104 cannot open file Dependencies_Windows_Visual-Studio-17-2022\lib\debug\MyGUIEngine_d.lib', hack it around by copying "MyGuiEngine.lib"+"MyGUI.OgrePlatform.lib" from lib\Release to lib\Debug
you get error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in cmake_pch.obj for all the libs.
Workaround: Manually delete the 'Dependencies_Windows_Visual-Studio-17-2022' directory (doing 'Clean solution' isn't enough) and build deps as debug.
Debug/zlib+freetype '_d' glitches
delete the generated Dependencies_PLATFORMNAME dir
build as Debug --> LINK : fatal error LNK1104: cannot open file 'Dependencies_Windows_Visual-Studio-17-2022\lib\zlib.lib' from almost all targets
Workaround: go to Dependencies_PLATFORMNAME/lib and copy+rename 'zlib_d.lib' to just 'zlib.lib'
same story: freetype_d.lib -> freetype.lib to build OgreOverlay
same story: fmtd.lib --> fmt.lib
same story: OIS_d
same story: Caelum_d
The text was updated successfully, but these errors were encountered:
I keep bumping into various issues, always fixing them manually, then forgetting, then bumping again - I'll gather the notes here. I'll post both issues with ror-dependencies and issues likely in rigs-of-rods, to be sorted later.
Release/ZLIB_ZLIB glitch
Steps:
Release/MyGuiEngine.dll glitch
Release->Debug ~ mismatch '_ITERATOR_DEBUG_LEVEL' glitch
error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in cmake_pch.obj
for all the libs.Debug/zlib+freetype '_d' glitches
LINK : fatal error LNK1104: cannot open file 'Dependencies_Windows_Visual-Studio-17-2022\lib\zlib.lib'
from almost all targetsThe text was updated successfully, but these errors were encountered: