03-20-2023, 10:29 PM
(03-20-2023, 08:45 PM)Kernelpanic Wrote:Quote:I set Windows security to whitelist the QB64PE folder and the process "qb64pe.exe", and tried running the following code:
What shoud that? Undo that, who knows what you did there in the system. This is absolutely unnecessary.
Someone suggested it. I guess if they suggested jumping off a bridge, I wouldn't be here! LOL.
Undid!
(03-20-2023, 08:45 PM)Kernelpanic Wrote: First: A query can be used to determine whether the MingW(GCC) is missing;
see the screenshot. If MingW is there, you forgot to put it in the path,
then an error message will appear with the above query -
of course, even if it would not be installed.
Aha. It's been a while since I did a setup, and I don't remember anything about having to add to the path, so that is probably it.
A couple questions:
1. Under System Properties > Environment Variables, there are 2 sections:
- User variables for {username}
- System variables.
2. Do I need to add the path to the folder containing "cc1.exe"?
Code: (Select All)
C:\Users\{username}\Documents\Code\QB64PE\internal\c\c_compiler\libexec\gcc\x86_64-w64-mingw32\12.2.0
Is that the path I should use?
I tried adding that to both sections, then closed and restarted QB64PE, and am still getting an error when I try to compile.
Should the path be one or two levels up? Any help appreciated.
PS Here is what's in "compilelog.txt" if that helps. Thanks again
Code: (Select All)
internal\c\c_compiler\bin\c++.exe -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -Iinternal\c/parts/core/src/ -Iinternal\c/parts/core/glew/include/ -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/libqb.cpp -c -o internal\c/libqb_make_00000000000000.o
internal\c\c_compiler\bin\c++.exe -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -Iinternal\c/parts/core/src/ -Iinternal\c/parts/core/glew/include/ -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c/qbx.cpp -c -o internal\c/qbx.o
internal\c\c_compiler\bin\c++.exe -w -std=gnu++11 -DGLEW_STATIC -DFREEGLUT_STATIC -Iinternal\c\libqb/include -Iinternal\c/parts/core/src/ -Iinternal\c/parts/core/glew/include/ -DDEPENDENCY_NO_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_NO_ICON -DDEPENDENCY_NO_SCREENIMAGE internal\c\libqb/src/threading.cpp -c -o internal\c\libqb/src/threading.o
cc1plus: error: unrecognized command-line option '-auxbase-strip'
cc1plus: error: too many filenames given; type 'cc1plus --help' for usage
cc1plus: error: unrecognized command-line option '-auxbase-strip'
cc1plus: error: too many filenames given; type 'cc1plus --help' for usage
mingw32-make: *** [Makefile:405: internal\c/libqb_make_00000000000000.o] Error 1
mingw32-make: *** Waiting for unfinished jobs....
mingw32-make: *** [Makefile:417: internal\c/qbx.o] Error 1
cc1plus: error: unrecognized command-line option '-auxbase-strip'
cc1plus: error: too many filenames given; type 'cc1plus --help' for usage
mingw32-make: *** [Makefile:417: internal\c\libqb/src/threading.o] Error 1