Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QBPE 3.6.0 compiler error
#21
Quote:Kernelpanic suggested adding something like "D:\Programs\mingw64\bin" . . .

You misunderstood something there. Add this path to the compiler to the Windows path, as shown in the screenshot.

Quote:however, QB64PE does not contain a \mingw64\ folder with a \bin\ directory.

Yes, the supplied compiler is here: "Programs\qb64*\internal\c\c_compiler\bin"

But that doesn't matter now. There won't work anymore, only a "tabula rasa" will help. Completely delete the whole installation of QB64pe! Then clean new start, new luck.

Copy the whole unzipped QB64pe folder to D:\Programs. Now right-click qb64pe.exe and drag it to the desktop, in the selection click: "Create shortcut here." Now it's on the desktop.
Now start the IDE and under RUN select "Output EXE in source folder". Complete. - Now it has to work! 

[Image: QB64-Neuer-Versuch.jpg]
Reply
#22
(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
Reply
#23
(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

Thanks for your reply, and apologies - I should have explained that it isn't literally "{username}". 
I just dropped that in as a place holder, because I don't want to post my actual username (e.g. joeblow). 
I'll try the "C:\Code\QB64PE\" when i'm back at the PC!
Reply
#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
#25
I wish those people in charge of MinGW straightened out how they name their stuff.

What is "mingw32-make"? This seems to be the 32-bit edition of "make" utility. If you're on a 64-bit system then all programs without exception are supposed to be 64-bit. Nothing which is 32-bit should get in the way. So this might be a fault with the packaging of QB64PE.

Also, Scooby-Doo and gang, solve the mystery of "-auxbase-strip" switch that other time...

I don't know why you're getting these errors. I haven't upgraded to Windows11 so I wouldn't know how using that system is like. But in the few times I've gone into Windows in the past six months and used QB64PE I didn't have these problems. I was able to use the 64-bit edition apart from the 32-bit edition. I had to use the 32-bit edition only for eoredson's SICK64, that was the only reason for it to exist. This is after one of my laptops which is over 15 years old finally had its hard drive die with WindowsXP in it. Sad
Reply
#26
Quote:c++.exe: error: CreateProcess: No such file or directory

One might almost assume that the compiler cannot write to the folder.

Why all the security mumbo-jumbo? I have never experienced anything like it. Totally screwed up! Maybe someone else knows how to get out of there. . . without completely reinstalling the system.

[Image: 55s-lam.gif]  Funeralopolis!  Tongue
Reply
#27
(03-22-2023, 04:31 PM)madscij Wrote: Any suggestions?


what for?

you ignore it anyway, keep going in circles, I don't care
Reply
#28
What I would do:

Delete all previous 3.6 download attempts.
Download fresh.
Extract to your Desktop where you don't need setup permissions to use.
Do not white list.
Run the QB64pe.exe from your Desktop.

But I don't know what you did with Windows security, I'd try and undo it if the above does not work.
b = b + ...
Reply
#29
Wow it takes 3 minutes to download now!??


Attached Files Image(s)
   
b = b + ...
Reply
#30
(03-21-2023, 03:32 PM)Jack Wrote: hello madscijr
here's what I would do
1: download the source for QB64pe 3.6.0 https://github.com/QB64-Phoenix-Edition/...v3.6.0.zip
2: extract to where you want
3: double-click on setup_win.bat
4: select either 32 or 64-bit
that should download the mingw system and build QB64pe
there's absolutely no need to mess with your PATH

Jack, I didn't mean to ignore your suggestion, I saw it when away from my PC, and immediately forgot all about it. Lame, I know! I will give this a try and report back.
Reply




Users browsing this thread: 7 Guest(s)