I have seen other questions relating to this but I'm having trouble with the basics. My computer and programming knowledge is very limited, please bear with me.
I am using Xcode4.4 for c++ on a MacBook Pro and I'm trying to use the gmp library. I have gone to the gmp site: http://gmplib.org and have clicked on the download gmp-5.1.tar.lz but what is downloaded seems very cryptic and I'm not sure on how to proceed. I know that once you've got the library on your computer you can then link it into your project and use header files to use the library. I am also not sure how to do this.
Could anyone walk me through the process of downloading the gmp library and then using it in a c++ project on Xcode?
Any other comments/advice on this would also be great.
Thanks.
Related
I need your help in installing the curlpp library. I'm still a newbie to C++ and haven't installed any external libraries yet, I browsed around for quite some time but could only find installation wizards or compilers or automated processes. I want to know how to do it manually. Like fully, you go in File Explorer and put all the source code in by yourself. I want to code specifically in Visual Studio Code.
Thanks for you help!!
I am right now trying to solve the exercises of the free cs106b class, but cannot succeed to setup the needed libraries. I am new to C++ and not that experienced in XCode. I tried to to directly copy the library files I found on [Github] into my XCode project. I tried now for hours to get this package working but it seems they have to be installed in a special way.
I would be glad if somebody could give me some references on how to install a C++ library in XCode, especially the library given by Stanford.
P.S. with the "old" class I was given an .pkg installer, which I installed but did not seem to change anything.
I cannot help much with the XCode IDE. I have personally completed the course myself; however I used QT creator. The CS106B or CS106X official website (version 2016) provides very good documentation about how someone can go about and get started. http://web.stanford.edu/class/cs106b//handouts/qt-creator.html
A point to note: I used the SEE CS106B videos (the online cs106B) to complete the 2016 CS106X course. Please have a look around for the assignment files, in the official cs106B/cs106X website. In case you cannot find it, let me know, I can send it to you. I hope this helps.
I'm trying to compile cairo into a lib file using Mingw. I've downloaded the cairo, cairomm, and pixman source packages, but I can't figure out where to go from here. The INSTALL help file talks about a bunch of scripts that I can't seem to run or even find ('./configure', 'make', 'make install'). Googling the issue is bringing up nothing helpful.
I feel like this is a noobish question to ask. I've only recently started getting into the C++ side of programming (coming from Java/C#), and this is the first time I've had to compile an external library before using it. The shocking lack of explanations on the process makes me wonder if there was some chapter of a tutorial somewhere I was supposed to read that makes this whole process a complete no-brainer.
I think this project isn't supporting building with Mingw.
There are build instructions here for building with Visual Studio (which can be downloaded for free as the Visual Studio Express Edition from MS Website: http://www.visualstudio.com/en-US/products/visual-studio-express-vs
Build instructions here:
http://cairographics.org/end_to_end_build_for_win32/
It's probably possible to make this work for MingW, but you will have to make it work yourself, which may be a bit of a long step for someone who is new to compilers and build scripts in general.
I have tried today for five hours to install OpenCV and run a simple program to check that it works. I have not been able to do this despite looking at several tutorials and youtube video's. Could anyone tell me firstly if there is a difference between using cygwin or mingw? Why is it so hard to link the OpenCV libraries to netbeans. I love the IDE but will have to use Visual Studio if I cant get it working tomorrow. I have not been able to find a tutorial that references opencv2.4.6 which is the latest version and netbeans 7.4. For anyone interested the cygwin version I down loaded was 1.7.25. The main problem I am having is finding out how to correctly link the OpenCV headers etc to netbeans. If anyone has made a record of how to do this then sharing it would be great. Maybe I'm going wrong with the system variables I'm just not sure. As said any help or directions to up to date tutorials would be a great help. I love Netbeans and want to keep using it.
Thanks
I stumbled across this post while trying to set up OpenCV with Netbeans 7.4 on windows 7.
After finally getting everything to work I wrote this guide: OpenCV Netbeans C++ setup guide
I was able to get all the libraries linked. Also the clean/Build and run works for my C++ opencv 2.4.7 app from netbeans 7.4. Hope this can help anyone else who might want to use Netbeans for OpenCV coding.
I found the VOGLE library described in C.Pozrikidis' book "introduction to C++ programming and graphics"
http://home.comcast.net/~urbanjost/CLONE/LIBS/LIBRARY/libvogle/html/index.html
http://www.autochthonous.org/eric/
Since I am a beginner, can anyone tell me if it is possible to use it in windows ?
Anyone else using it ?
You don't need to (cannot) install the library. You can however extract the pre-compiled version of the library from here. Download the tar.gz file under CYGWIN section. You should be able to link them to your Windows project and use them.