Tags » OSX

Mac OS X, Python, ports and dlib compilation

This topic is not very well covered by documentation and assumes that everything is as easy as possible…

OK, lets build…

cd python-examples
./compile_dlib_python_module.bat
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- python
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.6", minimum required is "2.6")
-- Looking for png_create_read_struct
-- Looking for png_create_read_struct - found
-- Looking for jpeg_read_header
-- Looking for jpeg_read_header - found
-- Searching for BLAS and LAPACK
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Found LAPACK library
-- Found CBLAS library
-- Looking for cblas_ddot
-- Looking for cblas_ddot - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/suff/Downloads/dlib-18.16/python_examples/build
Scanning dependencies of target dlib
[ 0%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.o
[....]
[ 84%] Built target dlib
Scanning dependencies of target dlib_
[ 85%] Building CXX object CMakeFiles/dlib_.dir/src/dlib.cpp.o
[....]
 Building CXX object CMakeFiles/dlib_.dir/src/gui.cpp.o
Linking CXX shared library dlib.so
 Built target dlib_
Install the project... 780 more words
Open Source

Help them help you

I support computers AND users. I’m sure you do, too. My users aren’t expected to know their IP address or how to find it. Occasionally I get in a situation where I can’t pre-fetch a computer name for a user I’m about to call. 81 more words

Osx

How to Voice Dictate a Mind Map on Your iPhone

You can create a mind map with no hands in just three steps on an iPhone.

Before you voice dictate your mind map, you need: 379 more words

Reviews

在Emacs中使用Evernote一起工作

在Emacs中使用Evernote一起工作

对于我来说,使用Emacs是一个机缘巧合且又有趣的一个过程。而且,长久以来,Evernote的便利性,界面和功能又的确符合我对笔记的一切需要。所以很久以来,我一直在尝试着寻找如何在Emacs里正确使用Evernote的方法。可惜的是,从Google以及和各个地方搜集到的信息,都是2012年前的资料,evernote-mode也已经好几年没有更新,验证也出现了很多问题,致使我使用elpa自动安装evernote-mode一直没有成功。

这个周末,下了决心,好好研究一下相关的内容,结果是发现其实它一直在哪可以工作,而只是我们走的路不对。当我完成了这个工作之后,我觉得应该写下来,以备后查。

我的工作环境
  • 系统:MAC OSX 10.10.5 Yosemite
  • EMACS: 24.5(9.0)
  • Evernote:Version 6.0.16 (451862 App Store)
evernote-mode 的安装

这是一个走了弯路的地方,尝试着从elpa中配置或者使用网上搜集到的资料来调整都不能成功,基本上是卡在evernote认证的问题上。看 Github 上关于evernote-mode的更新安装:Pymander-Evernote-mode

You will need to install the Evernote OAUTH Ruby gems in order to get all of this stuff working.

286 more words
Emacs

MindNode-->OmniOutliner: Quite a Combo!

All of a sudden I’m hooked on mind mapping. It’s been a really productive way for me to make sense of the texts I speak on each week. 528 more words

Reviews