what is g++ error?
BlitzMax Forums/BlitzMax Beginners Area/what is g++ error?
| ||
I'm getting this error when i try to run a simple bit of code sh: 1: g++: not found Build Error: Failed to link /home/gordon/Downloads/BlitzMax/snake route builder.debug Process complete what have i done wrong? |
| ||
Post the code so we can see for ourselves, please. |
| ||
Note I'm running BlitzMax on a Linux system using MaxIDE if that makes any difference |
| ||
Perhaps you haven't installed all the required Linux developer tools and packages? |
| ||
Added the modules from your links Brucey, still won't compile and run. I get an error box saying "Compile Error. G++: Not Found" |
| ||
Assuming your using ubuntu, follow dawlane's install script guide: http://www.blitzbasic.com/Community/posts.php?topic=101454 Ignore the audio patch until you're running. |
| ||
What version MaxIDE, TP ? There are several out there now. |
| ||
Aha! Found G++ in the apps list for Linux Mint, so installed it. Now the error I get is different. ---------------------------------------------------------------------- Building snake route builder Compiling:snake route builder.bmx flat assembler version 1.68 (1048560 kilobytes memory) 3 passes, 5701 bytes. Linking:snake route builder.debug /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory /usr/bin/ld: cannot find -lGL /usr/bin/ld: cannot find -lGLU /usr/bin/ld: cannot find -lfreetype /usr/bin/ld: cannot find -lX11 /usr/bin/ld: cannot find -lXxf86vm /usr/bin/ld: cannot find -lX11 /usr/bin/ld: cannot find -lXxf86vm /usr/bin/ld: cannot find -lGL /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.a when searching for -lstdc++ /usr/bin/ld: cannot find -lstdc++ /usr/bin/ld: cannot find -lm /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: cannot find -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find -lc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: cannot find -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc /usr/bin/ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status Build Error: Failed to link /home/gordon/Downloads/BlitzMax/snake route builder.debug Process complete -------------------------------------------------------------------- Looks like I have a lot of other stuff to seek out and install. I am going to suggest to Mint team that they add BlitzMax to their software list. dw, I am using BlitzMax Release Version 1.50 MaxIDE 1.43 FASM version 1.68 GCC version 4.8 G++ cersion 4.8 |
| ||
See munch's link (above) to the Linux forum post that include scripts you can run to install the usual packages. |
| ||
Works perfectly. Thanks Brucey and Munch and all who made the mods |
| ||
I am going to suggest to Mint team that they add BlitzMax to their software list. It will never happen. As it stands BlitzMax does not work well in a multi-user environment. BMK,BCC and the IDE expect to find it's files within it's own root directory. Which can be a bit of a problem on a system with restricted file access. |