initial commit with 2024 materials
This commit is contained in:
commit
6fdfdbb8b7
66 changed files with 102457 additions and 0 deletions
30
how_I_compiled_qcachegrind_on_osx.txt
Normal file
30
how_I_compiled_qcachegrind_on_osx.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
1) Install dependencies with MacPorts:
|
||||
sudo port install qt4-mac graphviz
|
||||
|
||||
Get source code for qcachegrind:
|
||||
|
||||
2) Get kcachegrind-0.7.4.tar.gz from http://kcachegrind.sourceforge.net/html/Download.html
|
||||
|
||||
3) Unzip it:
|
||||
tar xfz ~/Downloads/kcachegrind-0.7.4.tar.gz
|
||||
|
||||
We need "qmake" to find the right libraries
|
||||
|
||||
4) Set PATH to find the right "qmake":
|
||||
export PATH=/opt/local/libexec/qt4/bin:/opt/local/bin:/opt/local/sbin:$PATH
|
||||
|
||||
5) Set library path:
|
||||
export DYLD_LIBRARY_PATH=/opt/local/libexec/qt4/Library/Frameworks/
|
||||
|
||||
Compile:
|
||||
|
||||
6) Compile:
|
||||
cd kcachegrind-0.7.4/
|
||||
cd qcachegrind/
|
||||
qmake -nocache
|
||||
make
|
||||
mv qcachegrind.app /Applications/
|
||||
|
||||
Done!
|
||||
|
||||
See also http://blogs.perl.org/users/rurban/2013/04/install-kachegrind-on-macosx-with-ports.html
|
Loading…
Add table
Add a link
Reference in a new issue