Curl Error Compiling on Windows

Talk about anything concerning the source code.
Post Reply
spyindabox
Posts: 6
Joined: Sun Mar 17, 2019 12:50 pm

Curl Error Compiling on Windows

Post by spyindabox »

Keep getting "fatal error: curl/curl.h: No such file or directory" when trying to compile on Windows 10.
Msys2 is installed and added to path but I still get the error.
Already tried to uninstall and and reinstall Msys2.
Any ideas why its not seeing curl.h?

User avatar
Matlo
Posts: 5554
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Curl Error Compiling on Windows

Post by Matlo »

Revert your PATH changes. It is not needed to change the PATH, and changes are likely to mess other apps.

Curl is installed by the install.sh script:
https://backup.gimx.fr/wiki/index.php?t ... ment_tools

Make sure to run the right shell at the right step. Running commands in the wrong shell will result in build failure.
GIMX creator Donate Shop

Post Reply