Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QBPE 3.6.0 compiler error
#14
(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.
and both have Path. Which of these should I add the path to? 

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
Reply


Messages In This Thread
QBPE 3.6.0 compiler error - by madscijr - 03-20-2023, 01:25 PM
RE: QBPE 3.6.0 compiler error - by bplus - 03-20-2023, 02:16 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-20-2023, 03:17 PM
RE: QBPE 3.6.0 compiler error - by Jack - 03-20-2023, 02:16 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-20-2023, 08:19 PM
RE: QBPE 3.6.0 compiler error - by mnrvovrfc - 03-20-2023, 03:40 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-20-2023, 08:39 PM
RE: QBPE 3.6.0 compiler error - by Kernelpanic - 03-20-2023, 09:42 PM
RE: QBPE 3.6.0 compiler error - by bplus - 03-20-2023, 04:22 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-20-2023, 08:05 PM
RE: QBPE 3.6.0 compiler error - by mnrvovrfc - 03-20-2023, 04:47 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-20-2023, 08:32 PM
RE: QBPE 3.6.0 compiler error - by Kernelpanic - 03-20-2023, 08:45 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-20-2023, 10:29 PM
RE: QBPE 3.6.0 compiler error - by Kernelpanic - 03-20-2023, 11:18 PM
RE: QBPE 3.6.0 compiler error - by mnrvovrfc - 03-20-2023, 11:21 PM
RE: QBPE 3.6.0 compiler error - by Kernelpanic - 03-20-2023, 11:29 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-21-2023, 02:26 PM
RE: QBPE 3.6.0 compiler error - by Jack - 03-21-2023, 03:32 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-23-2023, 12:30 AM
RE: QBPE 3.6.0 compiler error - by SMcNeill - 03-21-2023, 04:28 PM
RE: QBPE 3.6.0 compiler error - by SMcNeill - 03-21-2023, 04:30 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-21-2023, 10:02 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-22-2023, 04:31 PM
RE: QBPE 3.6.0 compiler error - by Kernelpanic - 03-21-2023, 04:28 PM
RE: QBPE 3.6.0 compiler error - by mnrvovrfc - 03-22-2023, 05:36 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-23-2023, 03:43 AM
RE: QBPE 3.6.0 compiler error - by Kernelpanic - 03-22-2023, 05:39 PM
RE: QBPE 3.6.0 compiler error - by Jack - 03-22-2023, 05:44 PM
RE: QBPE 3.6.0 compiler error - by bplus - 03-22-2023, 09:52 PM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-23-2023, 12:32 AM
RE: QBPE 3.6.0 compiler error - by bplus - 03-22-2023, 10:09 PM
RE: QBPE 3.6.0 compiler error - by bplus - 03-23-2023, 01:38 AM
RE: QBPE 3.6.0 compiler error - by DSMan195276 - 03-23-2023, 01:55 AM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-23-2023, 02:24 AM
RE: QBPE 3.6.0 compiler error - by bplus - 03-23-2023, 02:47 AM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-23-2023, 02:51 AM
RE: QBPE 3.6.0 compiler error - by madscijr - 03-23-2023, 04:08 AM



Users browsing this thread: 32 Guest(s)