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.
Related
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'm using Suse Linux 13.1 and self studding Stanford's CS 106b course. Here I have found ziped libraries http://www.stanford.edu/class/cs106b/homework/2-ngrams/cs106b-hw2-ngrams-starter-files.zip and downloaded.
Now questions:
This libs are for windows, so some changes will be needed to make them work correctly in linux. what changes?
Where to put this folder, so that gcc compiler could automatically find this libs?
This quarter, the CS106B and CS106X course websites is behind WebAuth (Stanford's authentication system), so you won't be able to access the site directly. Usually, though, the site is open to everyone and you can go and download any of the assignments. We've recently added support for Linux by unifying all the starter libraries into one and providing Qt Creator starter files. If you wait until the summer, the instructors for that quarter might make all the materials available online again and you should have no trouble getting the most recent version of the starter files.
Hope this helps!
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 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.
I've downloaded wxWidgets - wxwidgets.org
I ran the configure file using terminal.
How can I use this framework with Xcode C++ project?
Thanks!
Please take a look at the following documentation, or consider pin pointing down a more specific question about using the framework (ie, what problems you may have run into).
http://wiki.wxwidgets.org/Development:_wxMac
http://wiki.wxwidgets.org/Guides_%26_Tutorials#Mac_OS
http://wiki.wxwidgets.org/Creating_Xcode_projects_for_wxWidgets_applications (Out of date, but may still help you. As someone who used wxWidgets in the past, I can tell you that the code is correct).