Skip to content

Build of tdcore fails with linker error on windows #2888

@vlabella

Description

@vlabella

I am getting the following linker error when building on windows when trying to build the x64 bit version. This is using the latest version of visual studio and openssl 3.3.0 and using link time optimizations /LTO. StackOverflow suggests this maybe caused by allocating too much memory on the stack. Any help would be appreciated

WebPagesManager.cpp
mtproto_api.cpp
telegram_api.cpp
secret_api.cpp
GitCommitHash.cpp
C:\sandbox\libs\td-master\build-x64\Release\tdcore.lib : fatal error LNK1248: image size (1000E5B33) exceeds
maximum allowable size (FFFFFFFF) [C:\sandbox\libs\td-master\build-x64\tdcore.vcxproj]
Building Custom Rule C:/sandbox/libs/td-master/benchmark/CMakeLists.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions