QB64 Phoenix Edition
GNU C++ Compiler error - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: GNU C++ Compiler error (/showthread.php?tid=3307)

Pages: 1 2 3 4 5 6


GNU C++ Compiler error - eoredson - 12-20-2024

Hi,

I have found this error:

Code: (Select All)
QB64PE Menu:

When Alt-O to open options, then Compiler settings:

[ ] Compile program with C++ optimization flag
[ ] Strip C++ symbols from executable
[ ] Add C++ Debug Information

C++ Compiler Flags [            ]
C++ Linker Flags [            ]

Max C++ Compiler Processes [3      ]

<OK>  <Cancel>

c:\qb64pe\internal\temp\compilelog.txt
  will create GNU C++ compiler error when processes is to low.
  (increase to 16).



RE: GNU C++ Compiler error - eoredson - 12-21-2024

I am still getting C++ compilation errors with v4.0 and had to roll back to v3.14 for some reason.

The file compilelog.txt is being written with strange stuff...

Erik.


RE: GNU C++ Compiler error - a740g - 12-21-2024

Please share your compilelog.txt.


RE: GNU C++ Compiler error - eoredson - 12-22-2024

(12-21-2024, 03:32 PM)a740g Wrote: Please share your compilelog.txt.

Sure, here is a text file when trying to make an .exe from Print "Hello, World!"


RE: GNU C++ Compiler error - Jack - 12-22-2024

hello eoredson Smile 
what CPU does your PC or notebook have ?
what version of Windows do you use ?
I just built the 32-bit version of QB64pe-4.0.0 and compiled and run Print "Hello, World!" just fine


RE: GNU C++ Compiler error - eoredson - 12-22-2024

(12-22-2024, 01:15 AM)Jack Wrote: hello eoredson Smile 
what CPU does your PC or notebook have ?
what version of Windows do you use ?
I just built the 32-bit version of QB64pe-4.0.0 and compiled and run Print "Hello, World!" just fine
I am running a:

Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz  2.81 GHz
with 8 GB Ram and Windows 10 home.


RE: GNU C++ Compiler error - Jack - 12-22-2024

thank you, I don't see a problem with that
have you tried building QB64pe from source ?
get it from https://github.com/QB64-Phoenix-Edition/QB64pe/releases/tag/v4.0.0 bottom of page


RE: GNU C++ Compiler error - eoredson - 12-22-2024

Ok, I have downloaded QB64pe-4.0.0.zip and extracted it to C:\ preserving pathnames.

Only I don't see any Setup.exe or .bat files.. What am I supposed to do?

If I can't make Hello World how can I make QB64pe.bas

Can anybody make sense out of the text file I attached?


RE: GNU C++ Compiler error - Jack - 12-22-2024

open the command prompt, cd to the QB64pe-4.0.0 directory and run setup_win.cmd


RE: GNU C++ Compiler error - eoredson - 12-22-2024

Ok, I went to Cmd and ran the .cmd program which only took a few minutes.

It created the entire source and QB64pe.exe but put them all in the \QB64pe-4.0.0 folder..

Ran and compiled Hello World correctly!

Now, how do I force the directory contents to \QB64pe or do I just work in \QB64pe-4.0.0