Skip to content

Issues with building on linux #4

@Elefant-Freeciv

Description

@Elefant-Freeciv

When building on Linux, i ran into a few problems.

  1. 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 "(".

  2. collect2: fatal error: cannot find 'ld'
    This can be solved by installing the mold linker. lld and others don't work.

  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions