You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Thanasis Kakalis <at...@gmail.com> on 2018/10/23 18:38:02 UTC

Fwd: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in C/C++ project - Some #include or #error directives failed - Configure Code Assistance not working

From: Thanasis Kakalis <at...@gmail.com>
Date: Τρί, 23 Οκτ 2018 στις 9:15 μ.μ.
Subject: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in C/C++ project
- Some #include or #error directives failed - Configure Code Assistance not
working
To: <us...@netbeans.incubator.apache.org>


Greetings dear all,

My name is Athanasios Kakalis and I'm using NetBeans 8.2 with HPC macOS X (
http://hpc.sourceforge.net/) on a mac book pro for writing C and Fortran
code.

Prior to updating from macOS High Sierra 10.13 to Mojave 10.14, both C and
Fortran projects were functioning properly.

Upon OS update and mac restart, when IDE was opened, the C project box got
a question mark, along with the following message

"Some #include or #error directives failed"

The question mark disappears when Code Assistance (right click/Code
Assistance/C/C++ Code Assistance) is deactivated, whereas Configure Code
Assistance (right click/Code Assistance/) remains deactivated.

What can I do to repair the C project, and in turn, the IDE? I've checked
the following link, but I didn't figure out what to do

https://netbeans.org/bugzilla/show_bug.cgi?id=268327

That said, the Fortran project is still working properly, and I'm not sure
about the impact of macOS update on the aforementioned mishap.

I really like NetBeans and I want to keep using it, therefore I'm reporting
my problem as clearly as I can.

Many thanks in advance to any feedback towards my inquiries.


Best Regards,

Athanasios Kakalis

Re: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in C/C++ project - Some #include or #error directives failed - Configure Code Assistance not working

Posted by Thanasis Kakalis <at...@gmail.com>.
Dear Mr. Bakke,

First of all, thank you very much for your message.

Following your instructions, I cleared the NetBeans IDE Cache directory (in
About Netbeans), but to no avail.

Then I cleared the NetBeans IDE User Directory (in About Netbeans) and it
worked.

First, I was headed to the NetBeans IDE instance, as if I had just resumed
an installation from nothing.

I opened a C++ project and checked for the question mark in the project
box. No question mark appeared. The same happened for a C project.

In both cases, I was able to build and compile as usual.


Best Regards,

Athanasios Kakalis


Στις Πέμ, 25 Οκτ 2018 στις 1:21 π.μ., ο/η Eirik Bakke <eb...@ultorg.com>
έγραψε:

> You could try exiting NetBeans, deleting the NetBeans IDE Cache directory
> (displayed in the About box), and then restarting. If that doesn't work,
> you could do the same with the NetBeans IDE User directory--though note
> that this will reset all your IDE settings.
>
>
>
> -- Eirik
>
>
>
> *From:* Thanasis Kakalis <at...@gmail.com>
> *Sent:* Tuesday, October 23, 2018 2:38 PM
> *To:* users@netbeans.incubator.apache.org
> *Subject:* Fwd: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in
> C/C++ project - Some #include or #error directives failed - Configure Code
> Assistance not working
>
>
>
>
> From: *Thanasis Kakalis* <at...@gmail.com>
>
> Date: Τρί, 23 Οκτ 2018 στις 9:15 μ.μ.
> Subject: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in C/C++
> project - Some #include or #error directives failed - Configure Code
> Assistance not working
> To: <us...@netbeans.incubator.apache.org>
>
>
>
> Greetings dear all,
>
>
>
> My name is Athanasios Kakalis and I'm using NetBeans 8.2 with HPC macOS X (
> http://hpc.sourceforge.net/) on a mac book pro for writing C and Fortran
> code.
>
>
>
> Prior to updating from macOS High Sierra 10.13 to Mojave 10.14, both C and
> Fortran projects were functioning properly.
>
>
>
> Upon OS update and mac restart, when IDE was opened, the C project box got
> a question mark, along with the following message
>
>
>
> "Some #include or #error directives failed"
>
>
>
> The question mark disappears when Code Assistance (right click/Code
> Assistance/C/C++ Code Assistance) is deactivated, whereas Configure Code
> Assistance (right click/Code Assistance/) remains deactivated.
>
>
>
> What can I do to repair the C project, and in turn, the IDE? I've checked
> the following link, but I didn't figure out what to do
>
>
>
> https://netbeans.org/bugzilla/show_bug.cgi?id=268327
>
>
>
> That said, the Fortran project is still working properly, and I'm not sure
> about the impact of macOS update on the aforementioned mishap.
>
>
>
> I really like NetBeans and I want to keep using it, therefore I'm
> reporting my problem as clearly as I can.
>
>
>
> Many thanks in advance to any feedback towards my inquiries.
>
>
>
>
>
> Best Regards,
>
>
>
> Athanasios Kakalis
>

RE: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in C/C++ project - Some #include or #error directives failed - Configure Code Assistance not working

Posted by Eirik Bakke <eb...@ultorg.com>.
You could try exiting NetBeans, deleting the NetBeans IDE Cache directory (displayed in the About box), and then restarting. If that doesn't work, you could do the same with the NetBeans IDE User directory--though note that this will reset all your IDE settings.

-- Eirik

From: Thanasis Kakalis <at...@gmail.com>
Sent: Tuesday, October 23, 2018 2:38 PM
To: users@netbeans.incubator.apache.org
Subject: Fwd: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in C/C++ project - Some #include or #error directives failed - Configure Code Assistance not working


From: Thanasis Kakalis <at...@gmail.com>>
Date: Τρί, 23 Οκτ 2018 στις 9:15 μ.μ.
Subject: NetBeans 8.2 @ macOS Mojave 10.14 - question mark in C/C++ project - Some #include or #error directives failed - Configure Code Assistance not working
To: <us...@netbeans.incubator.apache.org>>

Greetings dear all,

My name is Athanasios Kakalis and I'm using NetBeans 8.2 with HPC macOS X (http://hpc.sourceforge.net/) on a mac book pro for writing C and Fortran code.

Prior to updating from macOS High Sierra 10.13 to Mojave 10.14, both C and Fortran projects were functioning properly.

Upon OS update and mac restart, when IDE was opened, the C project box got a question mark, along with the following message

"Some #include or #error directives failed"

The question mark disappears when Code Assistance (right click/Code Assistance/C/C++ Code Assistance) is deactivated, whereas Configure Code Assistance (right click/Code Assistance/) remains deactivated.

What can I do to repair the C project, and in turn, the IDE? I've checked the following link, but I didn't figure out what to do

https://netbeans.org/bugzilla/show_bug.cgi?id=268327

That said, the Fortran project is still working properly, and I'm not sure about the impact of macOS update on the aforementioned mishap.

I really like NetBeans and I want to keep using it, therefore I'm reporting my problem as clearly as I can.

Many thanks in advance to any feedback towards my inquiries.


Best Regards,

Athanasios Kakalis