I recently decided to try IntelliJ IDEA 12 CE.
I Successfully installed their C/C++ plugin and restarted the IDE.
Now after I click File->New Project->C/C++ Module, next window prompts me to "Choose Cpp SDK".
I'm stuck at this window, tried entering many paths and failed.
My system is OSX Mountain Lion, Xcode 4.5.2 with command-line tools installed.
Compiling from command line with gcc works just fine.
I can confirm that using Idea 12.0.1 Ultimate (Build Id 123.94) and Xcode 4.5.1 on OSX this simply works. At the dialog for "Choose Cpp SDK" I wrote /usr/bin/gcc (which was what "which gcc" returns on my system. I used version 0.8 build 4.
There is a nice C++/Obj-C IDE from JetBrains for development on OSX - AppCode. Not so long ago it updated to 2.0 version. Most IDEA functionality and plugins are supported.
This error message is displayed when running IDEA from command line:
ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(449,630),absolute(903,739),button=1,modifiers=Button1,clickCount=1] on dialog0
Probably bug in the plugin for IDEA 12.
Try to use IDEA 11.
Related
I installed Qt Android 5.15.2 on Ubuntu but there is problem with the compilers. This is what I have set:
And here is what QtCreator detects as compilers:
The first error is displayed here in the Qt version tab:
and also in the Kit tab I see this errors no matter which compilers I set from the available:
Why I got this errors? Can please someone that has android kit on Ubuntu already set, tell me which compilers is using and which paths are for the compilers?
I will add more information for the current compilers or kits if needed.
The problem is that you are trying to use a x86 compiler for Android. You need to install the specific compiler from the Android SDK/NDK. So the good news is that you might be only missing one step (step 2 below)
I tried to install from the Ubuntu stock packages. That was impossible to get to work.
I was able to set it up in the following way:
Download the Qt online installer. Login and DO NOT choose individual packages, install Qt for desktop and Qt for mobile (check the last 3 options). This will install Qt 6 + QtCreator
Run QtCreator after everything finishes (+1.2Gb download). Go to Tools>Options>Devices>Android. Check that Java SDK is ok. On the Android section, choose "Set up Android". Accept all licenses.
This is what you should see in the end:
I am trying to run a simple C++ program on Eclipse in mac. But it is not working. I have Xcode installed and I did try setting all the Eclipse settings that people suggested online, but still I am getting no where.
The error message:
Make sure you update to the Oxygen.1 version of the C/C++ IDE (CDT version 9.2.2). It contains a fix for this.
If you are using Eclipse Neon, update to CDT version 9.3.X by adding repo:
http://download.eclipse.org/tools/cdt/releases/9.3
and rebuild the project before running it.
I encounter the same problem when I updated my macOS 10.12 to 10.13 in Eclipse Oxygen.1A.
By upgrading the CDT plugin I solved the problem.
I got a new Macbook Air and installed XCode 5 on it. To my surprise Apple does no longer ship gdb with the command line tools. As I am doing lots of c++ coding I am dependent on a good debugger.
What I tried so far:
Install gdb 7.6 via macports and signed the binary.
Debugging from QT-Creator is possible. It stops at the breakpoints but I see no information at all about the stack. Using lldb not possible, I get a weird python error.
Debugging from Netbeans is not possible at all. The Debugger is not stopping at any breakpoint. Apart from that Netbeans is not working with lldb.
Working with XCode is no problem. Everything works as expected.
Problem is I need an IDE that can do remote debugging as I have several Raspberry Pi projects. Developing software directly on the pi with vim is fun but not suitable for bigger projects.
So the question is, has anyone a working debugger on Mountain Lion with XCode 5 installed? IDE in question needs to support remote debugging (eg QT-Creator, Netbeans, Eclipse)
Thank you!
Install Xcode 4.6.3. If you have a developer's account it's available for download at http://developer.apple.com
Encountered the same problem. Finally installed command line tools from xcode 4.6.1 on ML. This package is available on Apple site. It installed GCC-LLVM 4.2.1 and GDB 6.5. Qt Creator was able to build application and start debugging. Debugging is not stable too much; but i can to see call stacks, values and stop on breakpoints. I use it for 32bits build - maybe it matters.
You could also switch from GDB to using the LLDB debugger (although the Qt support is early for this).
See http://stanford.edu/~rawatson/lair/mac.html
I have installed Xcode 4.0 (XCode Toolset, System Tools and Documentation components only), but have Netbeans with the C/C++ plugin. However when I try to create a new C++ project in Netbeans it tells me that no compiler was found on my system. The recommended course of action is to install Xcode, which I have done so.
How do I get Netbeans to recognize that I already have Xcode?
Most likely, you reinstall Xcode and this time don't uncheck the option that installs the compiler, etc. under /usr/bin for command line use. What's wrong with just having a full installation of Xcode?
If that doesn't work, it may be an incompatibility due to Xcode 4 installing to /Xcode4 instead of /Developer. You can fix that with a symlink or by installing Xcode 3.
I downloaded the c++ version of eclipse from the eclipse website. This installed then when i ran the basic hello world code, it wouldn't compile.
What else do i need to install to get c++ compiling on eclipse? I thought linux already had what it needed for c++ building/running? Ive googled around but the advice is for older versions of eclipse and the screen captures show options not available anymore.
I'm on Ubuntu 64
Eclipse CDT needs a makefile to build.
You need:
GCC
Eclipse
Eclipse has a built-in option to create a "helloworld" app. You simply go to File->New->C++ Project->Hello World C++ Project (Under the executable dropdown)->Enter a project name->Finish
Then you just click the run button and you should see "Hello World!!!" in the terminal at the bottom of the Eclipse window. If you still get this same error you did previously respond to this and I'll show you how to check to see if you have gcc installed.
If that doesn't help visit this blog post from July 2010 detailing how to achieve your goal.
http://max.berger.name/howto/cdt/cdt.jsp
-AHC
You should already have gcc but try this just in case:
sudo apt-get install gcc
If that doesn't do anything then you have gcc installed and the problem is probably with eclipse.