03-22-2023, 04:31 PM
(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.
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
I tried running the IDE
- C:\Temp\Code\qb64pe\qb64pe.exe
I closed QB64PE, and added the whitelist with these steps:
- open Windows Security
- click Virus & threat protection
- click Manage settings (under Virus & threat protection settings)
- click Add or remove exclusions (under Exclusions)
- click Yes at the "Do you want to allow this app to make changes to your device?" popup
- click +Add an exclusion
- select "Folder" from the exclusion type popup
- type "C:\temp\code\qb64pe" in the prompt and click OK
- click +Add an exclusion
- select "Process" from the exclusion type popup
- type "qb64pe.exe" at the prompt and click OK
- (close Windows Security)
I ran the IDE again
- C:\Temp\Code\qb64pe\qb64pe.exe
Code: (Select All)
cls
print "hello world. press any key to exit."
sleep
I pressed F5, and once again got a compile error.
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?