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.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I'm trying to work on an OpenGL project at home on my Linux PC.
I got this error when launching my OpenGL project with "./executable"
I have already installed libglew-dev package, and also I can't find the file "libGLEW.so.1.10" in my directories.
I don't know how I could install it in the right place.
The dev package provides headers and source for you to, well, develop with.
Now, on the target machine, you need to install the normal package that provides the shared libraries.
The Ubuntu package list has some candidates: from your question it looks like you're using v1.10, so libglew1.10.
The documentation has some ways to do it manually without a package manager.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other 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
can someone recommend a compiler that supports c++ 14 on the OS X platform? I'm studying programming and principles by Bjarne Stroustrup and need some assistance with acquiring the appropriate compiler for the context of the book (c++ 14).
The best compiler for use on OS X is clang. C++14 is fully supported in clang as of 3.4: http://clang.llvm.org/cxx_status.html.
The current Xcode 6 betas come with a 3.4 based clang so you can just use that.
(Source: I am a compiler engineer working at Apple)
You should install Macports and then you have a choice of GCC 4.8 or 4.9 and Clang 3.5 or 3.6 by simply typing:
$ sudo port install clang-36
or
$ sudo port install gcc49
Note: you'll want to have Xcode installed first.
The standard compiler provided by apple is Clang. Here it claims it is c++14 aware:
http://clang.llvm.org/cxx_status.html#cxx14
To get it available I think the easiest way is to install Xcode.
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.
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?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Have you had success installing ANN recently? (http://www.cs.umd.edu/~mount/ANN/)
In my computer and using the latest version available on the website, I seem to be able to install it from running make. But I can't correctly compile a program that uses it. According to the official manual you just have to compile with g++ a.cpp -Iann/include -Lann/lib -lANN but my compiler returns:
fatal error: ANN/ANN.h: No such file or directory
Has anybody been able to install it in Fedora or other linux system? Or do you have any idea of how to get it to work?
Thanks!
I just managed to solve it by changing "ann" by the path to the library root directory in "g++ a.cpp -Iann/include -Lann/lib -lANN".