This was not a problem before I installed the 13493 nightly build.
I now have 2 installations of codeblocks on my computer, one residing at the default location, the other residing where I unzipped the nightly.
But that is fine, the nightly installation works great for my old projects and they get their .h .dll .a .lib files from the path to them from the old installation of codeblocks.
The default path of the new nightly build installation's wizard uses the old installation of codeblocks files. That seems strange but the files are there so, I'm not bothered. The problem is it keeps failing to find glfw3.h which, in the past resided in a GL\ directory inside the MINGW\include\ directory. I also tried copying the
opengl files to the respective directories in the new installation and using the MINGW64 directory of the nightly installation but that didn't work either.
I found an old post where this was an issue 6 years ago and tried to follow the instructions to fix it
https://forums.codeblocks.org/index.php?topic=22850.0 but it doesn't appear to be exactly the same issue. I think that old problem is fixed in this version but my problem is just similar. I went to edit the script for the new project but the line numbers are different. I think i found the appropriate lines of code but they already look right. I don't know what to change or how to change it. Perhaps this function shows the right place?
function GetFilesDir()
{
return _T("glfw/files");
}
Might that mean that I need to make a folder \MINGW64\INCLUDE\GLFW\FILES\ and ..\LIB\GLFW\FILES\ etc or would all of the gl files, .a .lib .dll go in one MINGW64\GLFW\FILES\ folder? Is there even supposed to be a FILES\ folder or does the "files" in "glfw/files" act as a wildcard for files in a GLFW\ folder?
I also tried making an empty console application and converting it to a glfw3 application but that didn't work either, it said glfw3.h was missing at compile time.
In my previous/first installation of codeblocks, making a glfw project used glfw.h and I had to alter
each new project to make it a glfw3.h project.
I also tried moving all opengl .h .dll .a .lib files to the MINGW\ and MINGW64\ directories but that didn't work either.
I think i might be inclined to put all of the glfw3 files in one place to avoid needing a bunch of different paths but... I suspect the solution to my problem is simple but arbitrary and i am unlikely to figure it out on my own.
Thank you for codeblocks and thank you for your time