Skip to content

Failed to build on Linux #2010

@TransshipmentEnvoy

Description

@TransshipmentEnvoy

When trying to compile executable Alice on Linux using gcc-14.3.0, I have encountered the following linkage error:

[ 58%] Linking CXX executable Alice
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/Alice.dir/src/gui/alice_ui.cpp.o: in function `ui::factory_stats_tooltip(sys::state&, text::columnar_layout&, dcon::factory_id)':
<prefix>/Project-Alice/src/gui/gui_common_elements.hpp:2482:(.text._ZN2ui21factory_stats_tooltipERN3sys5stateERN4text15columnar_layoutEN4dcon10factory_idE[_ZN2ui21factory_stats_tooltipERN3sys5stateERN4text15columnar_layoutEN4dcon10factory_idE]+0x1eb): undefined reference to `economy::inputs_data economy::get_inputs_data<economy::small_commodity_set>(sys::state&, dcon::market_id, economy::small_commodity_set const&)'
collect2: error: ld returned 1 exit status

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