Thursday, November 08, 2012

Trouble with NetBeans C/C++

Unfortunately, on Mac OS-X, when installed (7.2.1), for new projects, it seems to pick up some shell other than "bash" as its default shell, making many configure scripts that work perfectly well under bash fail in the IDE, due to PATH mismatches. In cases like this, if there's a terminal with environment variables that are already working for you, open netbeans from that same terminal. Otherwise, it looks like you need to set it directly in the IDE, itself.

No comments: