Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
It would be of great help ,if some one can give me some links or some books which i can read to start developing Qt application on MAC OS using Xcode(C++).I have some experience on developing Qt applications on Windows but none on MAC.I also went through Qt documentation to understand how to integrate Qt on a MAC system but that was not enough,since i am entirely new to MAC.
So i request you all to guide me where to start learning about MAC OS and Qt.
Also what are the pre-requisites which i should be aware of to start development on MAC
First things first, have you installed Qt successfully?
Installation instructions for Qt on Mac
Next, you will want to configure Xcode
SO walkthrough for setting up up a new Xcode C++ project
SO question with some great answers about setting up Qt with Xcode
Start with a basic tutorial, to check that everything works
Qt tutorial
If you run into windowing problems, you may need to get hold of an X window manager like XQuartz. I'm guessing that you're already familiar with that sort of thing given your Windows background.
As far as using Qt, it should be the same on Mac as it is on Windows. As #JoachimPileborg points out, that is the point of a platform independent API!
Do be careful if you have any Os-specific dependencies. You haven't mentioned what other libraries etc you're using in the project, so I can't predict other issues that you might encounter.
Any more specific problems, or is that enough to get you started?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for anyway to set up C++ OpenCV on my mac. I've found numerous articles online but they all end up giving errors of some kind. I am completely indifferent to everything but the C++ part (for example flexible on the use of Xcode). Please don't link an article or post a method unless it has recently worked. I've already gone through tons of those. Any help would be very appreciated, I've been stuck for a couple days on this.
Details: Xcode 5, OS 10.9.4
Off Topic Edit: I realize this is a vague question but I'm not really looking for the best tool or solution. Just any one that would work.
brew tap homebrew/science
brew info opencv
brew install opencv
The info command was added as a suggestion so that you review the options you have when installing OpenCV. I'm using homebrew.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
What would be a good code editor for Linux (I use Ubuntu 14.04 LTS) which combines:
auto completion for c/c++ (more is better)
syntax highlighting
recognizing include commands and getting the code from the headers
not an IDE, rather something light
simple installation
I am not a big expert in Linux and, for example, it got too expensive for me to install SublimeClang plugin. Another thing is that I want to write the code and then run the compiler commands myself, not just by pushing a button, which is common in IDEs. Also, I don't like VIM.
If you do not want an IDE then I suggest you install Wine and then install Notepad++.
I suggest Eclipse CDT. It is a C++/C IDE that is quite lightweight and does everything you've asked. Plus it has a compiler. The instillation is quite easy. Go to the software installer and search "Eclipse CDT" and then install "CPP"
Another one, that is also an IDE but a little be more environmentally friendly is MonoC++
Also, there are online editors, such as Ideone and CompileOnline
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Taking my first C++ class in college. I need to download C++ and my teacher gave us a direct link to download it, but it only works on Windows. Is there a way I can format it to work on my Mac or is there a Mac-friendly version I can download?
A compiler for C++ is already built into Mac (try g++ main.cpp in terminal). If you mean an IDE for C++, use Xcode 5, available in app store.
It's developed by Apple, has git integration too if that's useful to you. Also has templates and such available to entice you to work on OS X/iOS projects, which might be a nice way in for you (I'm just starting out too, and I think that could be good).
For command-line projects though, I find it best to write in Xcode, then compile and run from the terminal. It's easier for file I/O and passing arguments to stdin IMO.
You can utilize something called Xcode IDE to write your programs on C++, I have been using that for a quite a while now, and it's definitely fun. You can find the app from free on APP store or just by clicking the link below. This is one of the many things I like about MAC.
click here to get XCODE
On Mac, since you are just starting out, use XCode. Its a pretty neat IDE with built in C++ compiler so you can write C++, compile with a click and run.
I think you kinda have the wrong idea of c++.
C++ is a programming language and what you are asking about is a development environment.
For example Xcode is such an environment. Since I also have my favorite I would use Eclipse since it is useful for many other purposes too.
Eclipse C++ Download
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am currently using Eclipse for C/C++ programming. Though i am accustomed to using eclipse for Java, i cannot figure out a good workflow for using Eclipse for C/C++
What i find lacking is a good debugging support. STL structures (vector, map) are not displayed in debug view as they are equivalently displayed in Java. They are displayed in a very obscure manner which is hard to interpret.
Upon googling i found
Better variable exploring when debugging C++ code with Eclipse/CDT
but i find the method not robust. It cannot display STL structures with objects (strings too) in them. Extending the .gdbinit file to support those will be an entire new project for me (as i am a new programmer)
Is there some other IDE good for C/C++ programming and debugging. Or is there something i am missing because certainly for such a industry standard language there must be some good
support out there.
EDIT: I am on a Win or *nix
I use visual studio express on Windows. It is free with alot of debugging functions.
1. Microsoft Visual Studio Express C/C++ (Best for Windows)
2. Code Blocks (Best of *nix)
3. Eclipse for C/C++
4. Netbeans
Hope this helps
On Linux I would prefer to use Code::Blocks
You can also look for NetBeans
GNU DEBUGGER
The C and C++ editor is well integrated with the multi-session GNU gdb
debugger. You can set variable, exception, system call, line, and
function breakpoints and view them in the Breakpoints window. Inspect
the call stack and local variables, create watches, and view threads.
You can evaluate a selected expression by moving the cursor over it
and viewing the tooltip. The Disassembler window displays the assembly
instructions for the current source file.
If your on a mac xcode is pretty good.
Embarcadero C++ Builder, also available as part of RAD Studio, is quite good, and has been undergoing significant development over the past couple of years.
It can be used to develop Win32 apps, Win64 apps, Mac OS X apps, as well as iOS and Android apps (the mobile OS's are only in the RAD Studio in the Delphi language for now, but C++ support is expected by the end of the year)
It has excellent debugging support as well. The IDE runs only on Windows, but does work quite well in a Virtual Machine running Windows inside a Mac, with either VMWare or Parallels. It does require a Mac, running Xcode, to compile Mac OS X or iOS applications -- that can be a separate computer, or the "Mother Ship" if you are running Windows in a Virtual Machine on the Mac.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have seen some videos and articles about how powerful OpenCL can be - and I'm hooked. The problem is there is a LOT less resources out there to help you with OpenCL then .. say OpenGL.
I am looking for some pointers to some beginning OpenCL (e.g. a Hello World tutorial) tutorials and some advanced tutorials as well when I get the hang of it.
Also - how 'cross platform' is OpenCL, how many different operating systems (e.g. Windows, Linux, iOS & Android) could I get an OpenCL program running on.
BTW: I would prefer tutorials on using OpenCL with C++ (not Java etc.) :-)
EDIT: If I were to start developing in OpenCL where would I need to go for downloads like headers & .lib files on a Windows system (On linux you just need to type sudo apt-get install opencl-dev & I think Mac OS X already has it installed?).
How 'cross platform' is OpenCL, how many different operating systems
(e.g. Windows, Linux, iOS & Android) could I get an OpenCL program
running on?
OpenCL is open standard but mostly relies on a driver that a vendor develops for a specific hardware and operating system.
To obtain drivers, c++ lib and information follow the links:
Khronos
AMD
AMD guide (beginner to relatively advanced)
Nvidia
Nvidia guide (beginner to relatively advanced) + CUDA (to learn more techniques for Nvidia GPUs)
Mac
Intel
ARM
Samsung
Qualcomm