It appear that I can't solve this trivial looking problem...
I downloaded Libcocos2d-x, ran the dependancies script:
$> ./download-deps.py
who filled the "external/" folder with all the third party headers.
Then I generated a project using:
$> ./cocos new -p "xx.xx.xx" -l cpp -d "xx/xx/xx"
This worked fine.
But when I try to compile this new born project, the only thing I get are includes errors. I tried to fix them manually, but nothing to do, even when "curl.h" get included, he keep asking for "curl/curl.h" and vice versa. And curl is just the start of it, it looks like all the .h of the cocos project are missing:
/Users/xx/Desktop/Dev/aa/cocos2d/extensions/assets-manager/AssetsManager.cpp:27:10: 'curl/curl.h' file not found
/Users/xx/Desktop/Dev/aa/cocos2d/cocos/platform/CCSAXParser.cpp:30:10: 'tinyxml2.h' file not found
etc...
If anyone has any clue about this I'm listening.
Follow this tutorial here:
https://www.youtube.com/watch?v=qXqgSNUf9Cc&list=PLRtjMdoYXLf4od_bOKN3WjAPr7snPXzoe
Make sure to download the new 3.1.1 hotfix so you are on the latest version.
Don't skip anything you've already done. Redo every step to insure nothing is wrong.
Make sure you run setup.py then download-deps, then create a new project in a different directory. You may have made some changes that caused problems.
Also, log any install errors and post them here.