Skip to content

LNK1181 error. Cannot open libcurl_imp.lib #284

Open
@bsy6766

Description

@bsy6766

Platform: Windows 10
Version: 3.14.1
Project: win32

I created new project with the latest version of cocos2d-x via github and it fails to run HelloWorld example due to LNK1181 error. And this only happens with Release mode. Debug mode works fine.

Here's the error message.

Error LNK1181 cannot open input file 'libcurl_imp.lib'

I found out that my new project actually has 'libcurl.lib' in external folder but project tries to use 'libcurl_imp.lib' as listed in project property(Linker>input). I was able to run HelloWorld sample by just changing 'libcurl.lib' to 'libcurl_imp.lib' in win32's release folder.

There are an issue already in cocos2d-x repo (link), but I thought this repo was better place to ask for fix.

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