Skip to content

Uppercase Shell32 import causes problem when cross compiling on linux #1346

@thrukn

Description

@thrukn

Summary

I faced issues with the Shell32 library when compiling it via MinGW under Linux.

/usr/bin/x86_64-w64-mingw32-ld: cannot find -lShell32: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Fix

I just had to change the name Shell32 to shell32 in the following files:

  • src/CMakeLists.txt
  • tests/CMakeLists.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions