Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QBPE 3.6.0 compiler error
#24
(03-21-2023, 04:30 PM)SMcNeill Wrote:
(03-21-2023, 04:28 PM)SMcNeill Wrote: I'm guessing it's a permission issue.  Instead of:

C:\Users\{username}\Documents\Code\QB64PE\

Try a simple:

C:\Code\QB64PE\



The makefile probably doesn't like {username}

Try this simple fix and let us know what happens.  Wink

OK, finally had a minute to try this.

First I deleted the QB64PE folder under my \Documents\Code\ folder, 
then I removed all those folders from the Windows system path.

Then I went to  and downloaded 
which I extracted to 
  • c:\temp\qb64pe
(if it helps, see the attached list of all files under that folder). 

I tried running the IDE
  • C:\Temp\Code\qb64pe\qb64pe.exe
and saw the popup advising to whitelist the qb64pe folder and qb64pe.exe process

[Image: qb64pe-3-6-0-win64-screenshot-1.png]

I closed QB64PE, and added the whitelist with these steps:
  1. open Windows Security
  2. click Virus & threat protection
  3. click Manage settings (under Virus & threat protection settings)
  4. click Add or remove exclusions (under Exclusions)
  5. click Yes at the "Do you want to allow this app to make changes to your device?" popup
  6. click +Add an exclusion
  7. select "Folder" from the exclusion type popup
  8. type "C:\temp\code\qb64pe" in the prompt and click OK
  9. click +Add an exclusion
  10. select "Process" from the exclusion type popup
  11. type "qb64pe.exe" at the prompt and click OK
  12. (close Windows Security)


[Image: qb64pe-3-6-0-win64-screenshot-1a.png]

[Image: qb64pe-3-6-0-win64-screenshot-1b2.png]


[Image: qb64pe-3-6-0-win64-screenshot-1c2.png]


[Image: qb64pe-3-6-0-win64-screenshot-1d2.png]


[Image: qb64pe-3-6-0-win64-screenshot-2a.png]


[Image: qb64pe-3-6-0-win64-screenshot-2.png]



I ran the IDE again
  • C:\Temp\Code\qb64pe\qb64pe.exe
and entered a simple test program:

Code: (Select All)
cls
print "hello world. press any key to exit."
sleep

I pressed F5, and once again got a compile error. 

[Image: qb64pe-3-6-0-win64-screenshot-3.png]

Clicking the error message opens "compilelog.txt" in Notepad++, with these contents:
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
c++.exe: error: CreateProcess: No such file or directory
mingw32-make: *** [Makefile:405: internal\c/libqb_make_00000000000000.o] Error 1
mingw32-make: *** Waiting for unfinished jobs....
c++.exe: error: CreateProcess: No such file or directory
mingw32-make: *** [Makefile:417: internal\c/qbx.o] Error 1
c++.exe: error: CreateProcess: No such file or directory
mingw32-make: *** [Makefile:417: internal\c\libqb/src/threading.o] Error 1

Any suggestions?


Attached Files
.7z   qb64pe_win-x64-3.6.0.(file-listing).7z (Size: 100.5 KB / Downloads: 61)
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: 33 Guest(s)