Compile cpp-tests ->? Compile error Cannot open libcurl_imp.lib :(

Any Idea what that is ? Anyone ?

platform? version?

Windows 10, brand new download from coco2 site, so newest version

I did compile the win32 folder !

I also encountered the same problem.
I am using VS2013 and building the cpp-tests.
I got: error LNK1104: cannot open file ā€˜libcurl_imp.libā€™

Any solution?

We have to wait for the Cocos2dX God to show mercy on our souls - @slackmoehrle

Iā€™d suggest running download-deps.py and trying again.

A yes I remember when i first installed Cocos2d-x I had to install python. Since I formatted my PC i had forgot about that installation process and just used my git project . Ill install Python now and check it out

Same problem here. Cocos2d-x-3.14.1, Windows 10, Visual Studio 2015, Python 2.7.13
I ran download-deps.py and got ā€œNot need to update!ā€ response. Not sure how to fix.

I can test this. I was planning on getting a surface book this week. Iā€™ll try in a virtual machine tomorrow

Thank you, FYI, Iā€™m able to create a new project that works and builds in Visual Studio 2015 (using ā€œcocos new -l cpp proj_name -d dir_nameā€).

Havenā€™t been able to get cpp-tests working though.

solution,
A) Enter the folder ā€œC: \ cocos2d-x \ cocos2d-x-3.14.1 \ buildā€
B) cocos2d-win32.sln open with visual studio 2015

Recompile in order: click on each project recompile only the chosen project:

  1. libbox2d
  2. libbullet
  3. librecast
  4. libSpine
  5. libcocos2d
  6. libluacocos2d
  7. libjscocos2d

C) can complete the tests

Lua-tests
or
Js-tests
or
Cpp-tests

1 Like

same error on windows 10

Iā€™ve attached the lib I used, I just took it from my v3.10 build into my v3.16 build. seems to work but I also ran into the issue where download-deps.py built everything but that lib.

FWIW python download-deps.py -f redownloads everything even if youā€™ve got it.

libcurl_imp.zip (13.6 KB)

Itā€™s not a zip, just rename to lib

1 Like