When building on Linux, i ran into a few problems.
-
error: explicit qualification in declaration of
This error popped up several times throughout the build.
Affected files: CommonShared.cpp, CvGameCoreUtils.cpp, CvString.cpp, AppUIUtil.cpp, CivIni.cpp, CommandLine.cpp,
Common.cpp, CvVFS.cpp, DXT.cpp, IniReader.cpp
To fix, remove all instances of " ::" with " " and "(::" with "(".
-
collect2: fatal error: cannot find 'ld'
This can be solved by installing the mold linker. lld and others don't work.
-
mold: fatal: cannot open HeckTUIInputTest: Is a directory
collect2: error: ld returned 1 exit status
I don't know how to fix this. I'll update this when I figure it out.
When building on Linux, i ran into a few problems.
error: explicit qualification in declaration of
This error popped up several times throughout the build.
Affected files: CommonShared.cpp, CvGameCoreUtils.cpp, CvString.cpp, AppUIUtil.cpp, CivIni.cpp, CommandLine.cpp,
Common.cpp, CvVFS.cpp, DXT.cpp, IniReader.cpp
To fix, remove all instances of " ::" with " " and "(::" with "(".
collect2: fatal error: cannot find 'ld'
This can be solved by installing the mold linker. lld and others don't work.
mold: fatal: cannot open HeckTUIInputTest: Is a directory
collect2: error: ld returned 1 exit status
I don't know how to fix this. I'll update this when I figure it out.