Skip to content

Windows Release linker properties for Examples are same as Debug producing a runtime error #423

@PaulSquires

Description

@PaulSquires

Followed the setup/installation instructions per the Elements website and produced the elements.sln solution. (Visual Studio Community 2022).

Executed the ALL_BUILD using DEBUG profile. All examples built correctly. The resulting Debug folders contained the correct exe and supporting dll's.

Executed the ALL_BUILD using RELEASE profile. All examples built and the resulting Release folders contained the correct exe and supporting dll's. However, attempting to run the EXE produces this error dialog:

Screenshot 2024-09-06 174645

To fix, I needed to go into Project / Properties / Linker / Input / Additional Dependencies and remove the debug from the paths and change freetyped.lib to freetype.lib.

BEFORE
Screenshot 2024-09-06 174953

AFTER
Screenshot 2024-09-06 175501

Hopefully this is a valid issue and I am not simply misunderstanding the intricacies of how Visual Studio sets up it's projects.

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