Netbeans C++ configuration on a MAC OS X Mountain Lion

I have NetBeans installed with a C++ compiler. When I first downloaded NetBeans and the compiler, netBeans automatically configured the C++ compiler. Now I have upgraded to the new operating system mountain lion. Now whenever I try to compile a C++ project it tells me that the C++ compiler is not configured.
This started happening since I upgraded the operating system. Here is a screenshot of the problem. The compiler that I'm using is gcc. 4.7.1, if anyone has any idea on how to fix it I really appreciate it. Once again, it was working perfectly fine, but then I upgraded the operating system.

That's the problem with rolling your own development system and making unsupported modifications to the operating system. You are unlikely to find anyone running either Netbeans or GCC 4.7.1 on Mountain Lion.
GCC has never fully supported the Mac. It has always relied upon Xcode, which non longer relies upon GCC. I suggest downloading the latest Xcode and installing the command line tools. Personally, I would stop there and use clang++ and avoid GCC or else you are likely to encounter similar problems any time you upgrade.
GCC is about "freedom" (in the Orwellian sense), not ease of configuration. If you ask GNU, they would recommend against using a Mac to begin with.

Similar Messages

  • Is there a way to run Internet Explorer on a Mac mini with mountain lion?

    I need to access a professional website that only works with IE (don't get me started on THAT) I need to do billing using this site so need to have full functionality.  Is there a way to run IE on my mac mini with mountain lion?

    The key takeaway here is that yes, you can access Windows 7 (and IE 9) from OS X Mountain Lion.
    The crucial question is about your workflow. If you need concurrent access to both Windows 7 and Mountain Lion, then the Bootcamp solution included with Mountain Lion would not be the right choice. You would need one of the virtualization solutions.
    If you need helpdesk support from a paid product, rather than entirely from a community forum, then the latest Parallel's Desktop or VMware would be a matter of choice, with Parallel's the better decision at this point. Either of these products are under $100, in addition to the cost of a Windows 7 license. You may need the Windows 7 installation media as an .ISO file, rather than on DVD. Check requirements.
    By example, I use Oracle's VirtualBox (free) on Mountain Lion, with a Windows 7 Home Premium 64-bit guest. The interactive and network performance of this Windows guest are more than adequate on my 2011 mini. I assigned 3 GB memory and 2 of 4 processor threads to the Windows 7 guest. I also restricted guest CPU use to 80%. VirtualBox is installed on my SSD, but the Windows guest is on an external HDD. That is not a default configuration. There are multiple choices for display; from full-screen 1920x1200 (mine) to an isolated resizeable window, to seamless integration with OS X. The Apple keyboard, bluetooth devices (trackpad/mouse), and printer all are recognized. I also have a shared OS X folder with VirtualBox, and copy/paste integration.
    I use VirtualBox as it meets my support (forum) and functional requirements.
    Best wishes,

  • How do I change a port in Mac OS X Mountain lion

    Apparently Logmein  makes use of port 2002 in mac OS X  Mountain Lion. I need to use that for some new accounting software. How  do I change the part in Mountain Lion and how would I do an install of  Logmein on the computer to use another port or how, with Logmein  currently installed do I change from port 2002 to some other port. The major question is how do you change port assignments in OS x Mountain Lion?
    Thanks for you help.
    Tom in Dallas

    There isn't a generic way to do what you want.  Not on Microsoft Windows.  Not on OS X.
    The ICANN registry of port numbers exists so that these messes don't happen, or don't happen very often.  So that there are no port conflicts among various applications, and there are ways to request ephemeral (temporary) ports, and (for some applications) to find out which port(s) the application happens to have allocated and is using.  In this case, it appears that folks at LogMeIn and with the accounting software didn't avail themselves of the ICANN port database.  They're using the preferences mechanism as a work-around for that.
    Have a look at ipfw and pfctl tools here (see man ipfw and man pfctl at the Terminal.app prompt), and see if you can figure out how you're going to map just one local application that's opening 2002 to some other port, without disturbing the other application that's mapping to that same port (and colliding).  This is the remapping mechanism and akin to what can happen at some firewalls, and not the requested control over the selected port.  It's not set up to remap local application conflicts.
    The selected port is either a configuration option within the specific tool, or it's hard-coded within the tool.  There's no generic registry of applications and ports.  That's what the ICANN port registry is for.
    The worst-bad-ugly approach is to dump out the executable code, reverse engineer it, and patch the preferred port right into the code; to change the code without using the original source code.  Or some tool-specific configuration file or preferences setting, as and if available.

  • Host-based OpenLDAP Authentication On Mac OS X Mountain Lion

    Hello All,
    I'm sorry if this is the wrong group to post such a question, or if this has been already answered.
    I have openldap (slapd version 2.4.31-1+nmu2ubuntu8) running on Ubuntu Server 14.04. The 'hostObject' objectClass is added in the OpenLDAP directory. The 'host' attribute is added under all ldap users, which allows users to access just those particular hosts. Apple schema has been added as well.
    I have a ubuntu client that authenticates users against the ldap server. The ubuntu client is configured to perform host-based authentication via pam modules. Only users that have access to the Ubuntu client can login, and others are denied access. I also have a Mac OS X Mountain Lion (10.8.5) client that authenticates users against the same openldap server. All network users can login through the login window. I would like to restrict access to the Mountain Lion client based on hosts, as I've it on the Ubuntu client.
    I tried to search for documentation on this, but didn't find any good one. Most of the documentation suggest that network user access be controlled on the Mountain Lion client. I'd really like to have that control on ldap server and not on client. Also, restricting network user access using 'Users & Groups' settings in System Preferences fails. All ldap users are blocked from login.
    I have successfully tested host-based authentication on a Ubuntu Server 10.04 client that is connected to the same ldap server. So, I know host based authentication works. I would really appreciate if anyone could shed some light on this, or point me to a document that talks about host-based authentication on Mac OS X Mountain Lion client.
    Thanks,
    Amit

    I just found the anwer to my own issue. The installation failed on Jam Pack Content 3 disk. To finish the installation I need to go to the Logic Pro Main menu under the item Download supplemental content

  • Will reinstalling Mac OS X Mountain Lion wipe my Hard Drive?

    I want to reinstall Mac OS X Mountain Lion on my MacBook Pro 2012. I have many apps and files on my Mac's hard drive and I was wondering what would happen to them if I were to reinstall Mountain Lion.

    That's cool, but just remember, that depending on a computer and it's configuration, application load times etc all run a little differently. (SSD drives are much faster at loading applications than traditional HDDs. Also, if you hard drive is quite full, it can run slower.)
    Before I would proceed with a full reinstall the OS, I would run Disk Utility in the Applications/Utilities folder and repair disk permissions.
    To do so, I would reboot my computer, make sure no applications are running, run DU, reboot again and then see if the performance has improved.

  • Is an Antivirus software needed for a Mac OS X Mountain Lion?

    I am relatively new to the Apple Mac OS X Mountain Lion. Could anyone tell me if I need an antivirus program for my Macbook Air? And is there any software to clean my Mac of all unnecessary files. Thanks in advance.

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction. Use with caution.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    The free anti-malware application ClamXav is not crap, and although it’s not routinely needed, it may be useful in some environments, such as a mixed Mac-Windows enterprise network.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • TS4001 Bookmarks are not syncing to ONE of my Macs, but showing up on other Mac (work), iPhone 4 and iPad 1. Macs are on Mountain Lion. Tried all of Apple's suggestions - and the one Mac is still not updating/syncing Bookmarks or Reading List. What's goin

    Bookmarks are not syncing to ONE of my Macs, but showing up on other Mac (work), iPhone 4 and iPad 1. Macs are on Mountain Lion. Tried all of Apple's suggestions - and the one Mac is still not updating/syncing Bookmarks or Reading List. What's going on? Do I have to wait to OS update? It seems lots of peolple were having issues before ML, but I as fine. Since ML, I am having all kinds of issues!

    Yeah, I literally have tried everything except deleting my iCloud account (I'm close, but that would require so many changes that it is way too painful to consider at this point).
    I am still waiting to hear back from Apple Support. Hopefully something can be done, or they can do a reset on their end.
    Thanks for taking the time to respond though, much appreciated!

  • HT1338 when I updated my mac mini to mountain lion it gave me an icon on my desktop of a hard drive, can I delete this?

    when I updated my mac mini to mountain lion it gave me an icon on my desktop of a hard drive, can I delete this?

    Open the General tab of the Finder's preferences and set it not to be displayed on the desktop. Alternatively, if it's a disk image or external disk, just drag it to the Trash.
    (83576)

  • How do I install gimp on my mac with OSX Mountain lion? It says it cant find X11.

    How do I install gimp on my mac with OSX Mountain lion? It says it cant find X11.

    Have a look in your Utilities folder - X11 should be there. Launch it and you'll be offered the option to install.

  • Mac OS X Mountain Lion Boot Drive Issues

    Dear Apple Users,
    This is my first post here on the Apple Support Communities, so kindly forgive me if I'm repeating a previously asked question.
    I'd like to create a Mac OS X Mountain Lion USB Boot Drive and of course I already have it installed on my MBP.
    My question is whether I need to buy the App from the App Store if I already have it installed on my MBP[in order to create the USB Boot Drive, I need .dmg ]? On App Store, price tag is still appearing, that's why I'm asking.
    Thanks in advance for all your help

    If you purchased OS X Mountain Lion to upgrade your computer, open App Store > Purchases, and download OS X Mountain Lion. When the download finishes, use Lion Diskmaker to create a bootable Mountain Lion drive > http://liondiskmaker.com
    If your Mac came with OS X Mountain Lion, you may not be able to make a bootable Mountain Lion drive until Apple launches a OS X update. That's because your Mac may be using a special OS X version that you can't get from the App Store, so you can only download it starting in OS X Recovery, and you won't be able to create an external drive with Mountain Lion

  • Photoshop elements 5.0 on mac OS X mountain lion?

    Is it possible to install photoshop elements 5.0 on my mac OS X mountain lion? I found a cd with photoshop elements 5.0 on which it said mac but when i tried to install it, some kind of error showed on the screen, but it was only after a little while.

    No way. This would require PPC code which Apple long have removed from OSX.
    Mylenium

  • Unable to Install Flash on Mac OS X Mountain Lion

    I have attempted several times to install Flash Player (11.7.700.225) on Mac OS X Mountain Lion (10.8.4), and every time I attempt to install it hangs on 20% during installation. I have ensured that there is no flash player installed on the Mac currently, and I have also deleted the original Flash download and re-downloaded a couple of times. I also attempted the troubleshooting solution (#7) found here http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-mac.html#main-pa rs_header_0. However, this leads me nowhere because as you can see, my resources folder doesn't contain a .pkg file, nor do any of the other folders in the Contents folder (at least from what I can see). Do you have any other solutions for this problem? Cheers.

    Try this installer http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg

  • Update from Mac OS X 10.5.8 to Mac OS x Mountain Lion

    Hello, can you tell me what are the steps to have Mac OS X Mountain Lion ?
    Do I have to download all the versions between both ??? what does it cost ?
    Thanks for answers !!!

    Click here and read all three steps to the bottom.
    (72503)

  • Adobe Photoshop CS with mac os X mountain-lion?

    Adobe Photoshop CS is no longer running under mac os X mountain-lion. Are there any updates for this? I have the license number.
    Please reply, thank you.
    Greetings
    Angie

    No, there are no updates. It's simply not compatible. It's entirely Apple's decision to no longer support and provide the required system libraries. Signing up for Creative Cloud is pretty much your only reasonably cost-efficient option, if you want the "big" PS. Otherwise Photoshop elements might suffice...
    Mylenium

  • Open dialog crashing in Photoshop Elements 11 (Mac OS X Mountain Lion)

    I downloaded the trial for Photoshop Elements 11 for Mac. I'm using Mac OS X Mountain Lion (10.8.4).
    In the File > Open dialog, if I touch either of the two pop-up menus at the bottom of the dialog, Photoshop Elements crashes. This is 100% consistent and reproducible.
    This means I'm having a bit of trouble getting started at all. Mac users (10.8.4), can you confirm / deny this issue? Thx.
    Oh, by the way, exactly the same thing happens with the pop-up menu in the Save dialog. So if I want to set the image format to save in, I crash.

    Fixed the crash! Unfortunately I'm a bit hazy on the details. The key move was telling TinkerTool to revert to all defaults. But as to exactly which setting was triggering the issue, I'm not sure. I've restored a lot of my TinkerTool settings and the crash has not returned. So clearly I have not yet hit on the crucial one.
    The key observation here was that the crash was not occurring in a new clean user account. So evidently there was something about my primary user account that was essential to the crash. That started me on a long slow process of testing...

Maybe you are looking for

  • Purchased music and videos not playing on ipod!!!!

    I had an ipod and bought a video ipod recently. I forgot to put in the disc that came with the new ipod, and now all the songs and videos I bought from Itunes Music store wont play in my ipod. By wont play I mean I try to play it and it goes to a bla

  • Fully qualified filename (including path)

    I have a sample program I'm playing with to learn a bit about JAVA. In the code below I have variables named 'file1' and 'file2' which are defined with a filenames 'file1.txt' and file2.txt respectively. So when the program executes it looks for thes

  • How to modify the length of a user profile property

    I need to increase the length of a custom user profile property, but the length looks disabled when I try to edit and modify. Is there any way i could modify this by powershell or some other work around where I can increase the lenght of the script?

  • Install on usb flash GRUB

    Hi, From wiki page "Installing Arch Linux on a USB key" under Grub Legacy section it states I should edit menu.lst to change items to reflect what I am using - label, UUID etc. and to ensure the key is (hd0, 0). I am using the latest iso - 2014.01.05

  • How to upgrade SAPCAR version?

    Hi gurus, I am trying to apply support packages using SPAM. But whenever i am trying to upload the Support Packages through frontend i am getting following error: "CAR error message: SAPCAR: can not change date for /usr/sap/trans/EPS/in/CSR0120031469