{"action":"created","issue":{"url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/14","labels_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/14/comments","events_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/14/events","html_url":"https://github.com/nyanp/tiny-cnn/issues/14","id":55681488,"number":14,"title":"How to compile in Ubuntu 14.04?","user":{"login":"erogol","id":1402048,"avatar_url":"https://avatars.githubusercontent.com/u/1402048?v=3","gravatar_id":"","url":"https://api.github.com/users/erogol","html_url":"https://github.com/erogol","followers_url":"https://api.github.com/users/erogol/followers","following_url":"https://api.github.com/users/erogol/following{/other_user}","gists_url":"https://api.github.com/users/erogol/gists{/gist_id}","starred_url":"https://api.github.com/users/erogol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erogol/subscriptions","organizations_url":"https://api.github.com/users/erogol/orgs","repos_url":"https://api.github.com/users/erogol/repos","events_url":"https://api.github.com/users/erogol/events{/privacy}","received_events_url":"https://api.github.com/users/erogol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T22:06:30Z","updated_at":"2015-04-09T15:35:15Z","closed_at":null,"body":"I installed tbb and boost by apt-get but at the configuration stage it does not alert anything about these libraries. It outputs same as I ./waf configure alone. Is this the ./waf configure output with correct settings of tbb and boost libs?\r\n\r\nSetting top to                           : /home/bla/tiny-cnn-master \r\nSetting out to                           : /home/bla/tiny-cnn-master/build \r\nChecking for program g++,c++             : g++ \r\nChecking for program ar                  : /usr/bin/ar \r\n'configure' finished successfully (0.025s)\r\n"},"comment":{"url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/comments/91266263","html_url":"https://github.com/nyanp/tiny-cnn/issues/14#issuecomment-91266263","issue_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/14","id":91266263,"user":{"login":"davidstutz","id":1203091,"avatar_url":"https://avatars.githubusercontent.com/u/1203091?v=3","gravatar_id":"","url":"https://api.github.com/users/davidstutz","html_url":"https://github.com/davidstutz","followers_url":"https://api.github.com/users/davidstutz/followers","following_url":"https://api.github.com/users/davidstutz/following{/other_user}","gists_url":"https://api.github.com/users/davidstutz/gists{/gist_id}","starred_url":"https://api.github.com/users/davidstutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidstutz/subscriptions","organizations_url":"https://api.github.com/users/davidstutz/orgs","repos_url":"https://api.github.com/users/davidstutz/repos","events_url":"https://api.github.com/users/davidstutz/events{/privacy}","received_events_url":"https://api.github.com/users/davidstutz/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T15:35:15Z","updated_at":"2015-04-09T15:35:15Z","body":"You can also use CMake (`sudo apt-get install cmake`) as follows:\r\n\r\n    cmake_minimum_required(VERSION 2.8)\r\n    \r\n    find_package(TBB REQUIRED)\r\n    include_directories(include/ ${TBB_INCLUDE_DIRS})\r\n    \r\n    add_executable(cnn_cli src/main.cpp)\r\n    target_link_libraries(cnn_cli ${TBB_LIBRARIES})\r\n\r\nBut you may need to locate TBB manually, or use a custom `FindTBB.cmake`, e.g.:\r\n\r\n    find_path (TBB_INCLUDE_DIR tbb/)\r\n    find_library (TBB_LIBRARIES NAMES tbb)\r\n    \r\n    mark_as_advanced (TBB_INCLUDE_DIR TBB_LIBRARIES)\r\n\r\nFor example, you can put `FindTBB.cmake` in `cmake/` and add \r\n\r\n    set(CMAKE_MODULE_PATH \"${CMAKE_SOURCE_DIR}/cmake\")\r\n\r\nto your `CMakeLists.txt`. Worked for me on Ubuntu 14.04 with TBB installed through `apt-get`. Remember to uncomment\r\n\r\n    #define CNN_USE_TBB\r\n\r\nin `config.h`."}}