This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268144 - after upgrade OS to macOS, Netbeans folder of standard files missing for C++ apps.
Summary: after upgrade OS to macOS, Netbeans folder of standard files missing for C++ ...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-21 17:14 UTC by omossafa
Modified: 2016-09-22 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (316.45 KB, text/plain)
2016-09-21 17:15 UTC, omossafa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description omossafa 2016-09-21 17:14:50 UTC
Product Version = NetBeans IDE 8.2 RC (Build 201609140952)
Operating System = Mac OS X version 10.12 running on x86_64
Java; VM; Vendor = 1.8.0_92
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.92-b14

Reproducibility: Happens every time

I already submitted this issue, but here's an updated error log when compiling and building a C++ app:
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Since I upgraded my Macbook Air from OS 10.11(El Capitan) to 10.12(macOS), the standard files which this error message above points to is empty. I'm not sure what may have happened.  But I did attempt full reinstall 2 times, of v8.1 and v8.2RC, but the issue I speak of here is still present.  I hope you can debug the cause of this.  It may impact Java as well, but for now I'm focused on C/C++ code work. The HTML/JS web related and Python builds seem to work fine, but not compile programs of C/C++.
Comment 1 omossafa 2016-09-21 17:15:55 UTC
Created attachment 162161 [details]
IDE log
Comment 2 Alexander Simon 2016-09-21 19:20:35 UTC
Hi omossafa,

Try to google the problem.
The first link suggest solution:

#xcode-select --install

Please add comment in this issue if you will find solution.

Alexander
Comment 3 omossafa 2016-09-22 01:41:28 UTC
Hi Alexander and whomever my find this useful,

After installing Xcode8 onto my MacBook following the macOS update, something must have activated or installed the folder with necessary standard files and whatever else the C++ compiler/build was seeing as missing, as after the Xcode install and running of it, and then reopened Netbeans v8.2 and though the updating of all the small C++ apps I have took a few minutes, the missing file error messages were no longer present.  I still can't say what exactly caused or helped resolve this problem, but it is resolved...a warning, be patient as Xcode took me hours to download.