View Issue Details

IDProjectCategoryView StatusLast Update
0005618The Dark ModCodingpublic12.06.2021 12:58
Reporteres20490446e Assigned Tostgatilov  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.09 
Target VersionTDM 2.10Fixed in VersionTDM 2.10 
Summary0005618: Compiler versions are hard-coded
DescriptionAt:
https://svn.thedarkmod.com/publicsvn/darkmod_src/trunk/ThirdParty/cmake_find_package/tdm_find_package.cmake

The compiler versions should be retrieved from the system, otherwise the sources will only compile if the system has that exact hard-coded version.

With gcc it is:
    gcc --version |
    head -n1 |
    cut --delimiter=' ' --fields=3 |
    cut --delimiter='.' --fields=1
TagsNo tags attached.

Activities

es20490446e

es20490446e

26.05.2021 00:50

reporter   ~0014046

Most likely just not including the gcc version in the dir name will be enough.
stgatilov

stgatilov

12.06.2021 12:57

administrator   ~0014097

This issue was about this problem:
  https://forums.thedarkmod.com/index.php?/topic/20940-unable-to-link-openal-during-compilation/&do=findComment&comment=460992
Basically, the major version of compiler is automatically included in the platform name when artefacts are built, but it is hardcoded when artefacts are used.

It was fixed in svn rev 9396:
  https://forums.thedarkmod.com/index.php?/topic/20940-unable-to-link-openal-during-compilation/&do=findComment&comment=461093
The version of compiler is no longer included into platform name.

Issue History

Date Modified Username Field Change
20.05.2021 19:28 es20490446e New Issue
26.05.2021 00:50 es20490446e Note Added: 0014046
12.06.2021 12:57 stgatilov Note Added: 0014097
12.06.2021 12:57 stgatilov Product Version SVN => TDM 2.09
12.06.2021 12:57 stgatilov Fixed in Version => TDM 2.10
12.06.2021 12:57 stgatilov Target Version => TDM 2.10
12.06.2021 12:58 stgatilov Assigned To => stgatilov
12.06.2021 12:58 stgatilov Status new => resolved
12.06.2021 12:58 stgatilov Resolution open => fixed