Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LNK1181 error. Cannot open libcurl_imp.lib #284

Open
bsy6766 opened this issue Mar 13, 2017 · 1 comment
Open

LNK1181 error. Cannot open libcurl_imp.lib #284

bsy6766 opened this issue Mar 13, 2017 · 1 comment

Comments

@bsy6766
Copy link

bsy6766 commented Mar 13, 2017

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.

@AkioUnity
Copy link

I met same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants