errors on Hello World

General questions regarding the usage of CodeLite
DoctorDavid
CodeLite Curious
Posts: 3
Joined: Thu Mar 12, 2015 3:37 am
Genuine User: Yes
IDE Question: C++
Contact:

errors on Hello World

Post by DoctorDavid »

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!
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: errors on Hello World

Post by eranif »

did you install build tools?
make not found means that you don't make installed...

Eran
Make sure you have read the HOW TO POST thread
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: errors on Hello World

Post by DavidGH »

Hi,
did you install build tools?
To clarify, that means to do, as root: apt-get install build-essential

Regards,

David
DoctorDavid
CodeLite Curious
Posts: 3
Joined: Thu Mar 12, 2015 3:37 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: errors on Hello World

Post by DoctorDavid »

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.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: errors on Hello World

Post by DavidGH »

If so, what is the proper order for installing packages? I've just used apt-get install for all this so far
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.

However I just re-read your original post more carefully:
compiler is Cross GCC - i586-mingw32msvc
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?

If you're not cross-compiling, you should instead be using gcc (g++) as your compiler.
DoctorDavid
CodeLite Curious
Posts: 3
Joined: Thu Mar 12, 2015 3:37 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: errors on Hello World

Post by DoctorDavid »

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.
Post Reply