Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GNU C++ Compiler error
#1
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).
Reply
#2
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.
Reply
#3
Please share your compilelog.txt.
Reply
#4
(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!"


Attached Files
.txt   compilelog.txt (Size: 54.08 KB / Downloads: 18)
Reply
#5
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
Reply
#6
(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.
Reply
#7
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/...tag/v4.0.0 bottom of page
Reply
#8
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?
Reply
#9
open the command prompt, cd to the QB64pe-4.0.0 directory and run setup_win.cmd
Reply
#10
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
Reply




Users browsing this thread: 16 Guest(s)