You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Will Hartung <wi...@gmail.com> on 2021/08/14 16:30:41 UTC
Simple C/C++ project not working NB 12.4 Mac Big Sur
I have the C/C++ plugin, it says "Version 1.3".
I have XCode installed. I can type 'gcc' on the command line, and it
"works" (it's a front for clang on MacOS).
I create a simple C/C++ Application with a main.c, try to build/run
And i get
cd '/Users/will/projects/Cache64'
/usr/bin/make -f Makefile CONF=Debug clean
Cannot run program
"/private/var/folders/0s/kxxky8ls5zj8m2w99btrf9jm0000gn/T/dlight_will/a317ce3a/201916055/pty":
error=2, No such file or directory
If I cd to the folder, and just type "make", it seems to work.
If I type:
/usr/bin/make -f Makefile CONF=Debug clean
It works as well.
So, kind of at an impasse here.
Tips appreciated.
Thanks!
Regards,
Will Hartung
Re: Simple C/C++ project not working NB 12.4 Mac Big Sur
Posted by Will Hartung <wi...@gmail.com>.
Yea, that did not work, thank you though.
I figured it was some kind of pseudo terminal thing, while I can make in
terminal window, I can't debug anything.
Thanks though.
Regards,
Will Hartung
On Sat, Aug 14, 2021 at 10:37 AM Валера Солдатов <v....@gmail.com>
wrote:
> Hm. 'pty' is some internal terminal. Usually this error appears on
> unknown platforms on "run" step. In your case you see error on "build"
> or "clean" step. Anyway. Can you try to change Run|Console Type property
> in Project Properties window? 'Standard Output' is better choice I
> think. Sorry If my answerdoesn't fix your build.
>
> 14.08.2021 19:30, Will Hartung пишет:
> > I have the C/C++ plugin, it says "Version 1.3".
> >
> > I have XCode installed. I can type 'gcc' on the command line, and it
> > "works" (it's a front for clang on MacOS).
> >
> > I create a simple C/C++ Application with a main.c, try to build/run
> >
> > And i get
> >
> > cd '/Users/will/projects/Cache64'
> > /usr/bin/make -f Makefile CONF=Debug clean
> > Cannot run program
> >
> "/private/var/folders/0s/kxxky8ls5zj8m2w99btrf9jm0000gn/T/dlight_will/a317ce3a/201916055/pty":
>
> > error=2, No such file or directory
> >
> > If I cd to the folder, and just type "make", it seems to work.
> >
> > If I type:
> >
> > /usr/bin/make -f Makefile CONF=Debug clean
> >
> > It works as well.
> >
> > So, kind of at an impasse here.
> >
> > Tips appreciated.
> >
> > Thanks!
> >
> > Regards,
> >
> > Will Hartung
> >
>
>
Re: Simple C/C++ project not working NB 12.4 Mac Big Sur
Posted by Валера Солдатов <v....@gmail.com>.
Hm. 'pty' is some internal terminal. Usually this error appears on
unknown platforms on "run" step. In your case you see error on "build"
or "clean" step. Anyway. Can you try to change Run|Console Type property
in Project Properties window? 'Standard Output' is better choice I
think. Sorry If my answerdoesn't fix your build.
14.08.2021 19:30, Will Hartung пишет:
> I have the C/C++ plugin, it says "Version 1.3".
>
> I have XCode installed. I can type 'gcc' on the command line, and it
> "works" (it's a front for clang on MacOS).
>
> I create a simple C/C++ Application with a main.c, try to build/run
>
> And i get
>
> cd '/Users/will/projects/Cache64'
> /usr/bin/make -f Makefile CONF=Debug clean
> Cannot run program
> "/private/var/folders/0s/kxxky8ls5zj8m2w99btrf9jm0000gn/T/dlight_will/a317ce3a/201916055/pty":
> error=2, No such file or directory
>
> If I cd to the folder, and just type "make", it seems to work.
>
> If I type:
>
> /usr/bin/make -f Makefile CONF=Debug clean
>
> It works as well.
>
> So, kind of at an impasse here.
>
> Tips appreciated.
>
> Thanks!
>
> Regards,
>
> Will Hartung
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists