Hi, sorry to be a noob, but here is my issue. Running Debian Wheezy (stable), installed Codelite 7.0, compiler is
Cross GCC - i586-mingw32msvc
tried the Hello World example, and at first it gave me error:
/bin/sh make not found
so I did apt-get install make
next try and not same error, this time:
run-detectors: unable to find an interpreter
Tried searching this forum and google, not much clue, so wonder if any ideas to try... THANKS!
errors on Hello World
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Mar 12, 2015 3:37 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: errors on Hello World
did you install build tools?
make not found means that you don't make installed...
Eran
make not found means that you don't make installed...
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: errors on Hello World
Hi,
Regards,
David
To clarify, that means to do, as root: apt-get install build-essentialdid you install build tools?
Regards,
David
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Mar 12, 2015 3:37 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: errors on Hello World
Thanks to both of you for replying, I had not even known of the additional package, but after installing it, I am getting same error with my HelloWorld program. Should I uninstall everything and start over? If so, what is the proper order for installing packages? I've just used apt-get install for all this so far... Thanks for considering my issue.
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: errors on Hello World
There's no proper order; apt will insist on installing any necessary dependencies of each package anyway. And 'apt-get install' is the standard way to do this, though some people prefer to access it via a front-end e.g. synaptic.If so, what is the proper order for installing packages? I've just used apt-get install for all this so far
However I just re-read your original post more carefully:
I suspect that's the cause of the problem. What are you trying to do? You didn't mention that you were trying to cross-compile; are you? If so, on what platform are you testing your Hello World program?compiler is Cross GCC - i586-mingw32msvc
If you're not cross-compiling, you should instead be using gcc (g++) as your compiler.
-
- CodeLite Curious
- Posts: 3
- Joined: Thu Mar 12, 2015 3:37 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: errors on Hello World
DavidGH, thanks for input. Yes I am using old laptop with Debian Wheezy, for programming and running the generated programs. But yes, I was trying to allow cross-platform flexibility, but maybe I should start over without trying that; it seems to add too much complexity for a beginner! I did get codelite on my Win 8.1 laptop to compile HelloWorld and it runs ok.