Thursday, February 13, 2014

Directories

This partly just a reminder for myself. But maybe some of you wondered where these libraries are and where Xcode 5 saves the executables that you just compiled.

Xcode 5 hides the project files pretty well but you can find them under:
 /users/username/Library/Developer/Xcode/DerivedData  
To access the Library folder, klick Go in the finder menu bar. When you pres the alt-key a link to Library should appear.

And where are the OpenCV files you installed using cmake?
The lib-files are in
 /usr/local/lib  
and the headers in
 /usr/local/include 
Again, the usr-folder is hidden. The easiest way to get there is by just typing the path in finder Go->Go to Folder...

Also important to know is the location of additional libraries you installed using MacPorts. MacPorts installs everything to
 /opt/local
Nothing is hidden there, so no problem.

Because auf the hidden folders and the rather longer paths I created for me some aliases to acess these folders rapidly from my working folder.

Program versions:
OS: Mac OS X 10.9.1
Xcode: 5.0.2
OpenCV: 2.4.8.0
MacPorts: 2.2.1

No comments:

Post a Comment