{"action":"created","issue":{"url":"https://api.github.com/repos/cppit/jucipp/issues/253","repository_url":"https://api.github.com/repos/cppit/jucipp","labels_url":"https://api.github.com/repos/cppit/jucipp/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/cppit/jucipp/issues/253/comments","events_url":"https://api.github.com/repos/cppit/jucipp/issues/253/events","html_url":"https://github.com/cppit/jucipp/issues/253","id":164710728,"number":253,"title":"Build errors on FreeBSD","user":{"login":"NuLL3rr0r","id":2454895,"avatar_url":"https://avatars.githubusercontent.com/u/2454895?v=3","gravatar_id":"","url":"https://api.github.com/users/NuLL3rr0r","html_url":"https://github.com/NuLL3rr0r","followers_url":"https://api.github.com/users/NuLL3rr0r/followers","following_url":"https://api.github.com/users/NuLL3rr0r/following{/other_user}","gists_url":"https://api.github.com/users/NuLL3rr0r/gists{/gist_id}","starred_url":"https://api.github.com/users/NuLL3rr0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuLL3rr0r/subscriptions","organizations_url":"https://api.github.com/users/NuLL3rr0r/orgs","repos_url":"https://api.github.com/users/NuLL3rr0r/repos","events_url":"https://api.github.com/users/NuLL3rr0r/events{/privacy}","received_events_url":"https://api.github.com/users/NuLL3rr0r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-07-10T11:06:25Z","updated_at":"2016-07-11T08:36:38Z","closed_at":null,"body":"I'm trying to build juCi++ on FreeBSD 10.3-Release which is my main development box. Unfortunately I'm getting a few build errors:\r\n\r\nFirst it was not able to find libclang.so. That's because FreeBSD uses a different directory structure in order to allow the user install different compiler versions. So, I made the following changes:\r\n\r\n**cmake_modules/FindLibClang.cmake**\r\n\r\n\tfind_path(LIBCLANG_INCLUDE_DIR clang-c/Index.h\r\n\t  PATHS ${libclang_llvm_header_search_paths}\r\n\t  PATH_SUFFIXES LLVM/include llvm33/include llvm34/include llvm35/include llvm36/include llvm37/include llvm38/include #Windows package from http://llvm.org/releases/\r\n\t  DOC \"The path to the directory that contains clang-c/Index.h\")\r\n\r\n\t# On Windows with MSVC, the import library uses the \".imp\" file extension\r\n\t# instead of the comon \".lib\"\r\n\tif (MSVC)\r\n\t  find_file(LIBCLANG_LIBRARY libclang.imp\r\n\t    PATH_SUFFIXES LLVM/lib llvm33/lib llvm34/lib llvm35/lib llvm36/lib llvm37/lib llvm38/lib\r\n\t    DOC \"The file that corresponds to the libclang library.\")\r\n\tendif()\r\n\r\n\tfind_library(LIBCLANG_LIBRARY NAMES libclang.imp libclang clang\r\n\t  PATHS ${libclang_llvm_lib_search_paths}\r\n\t  PATH_SUFFIXES LLVM/lib llvm33/lib llvm34/lib llvm35/lib llvm36/lib llvm37/lib llvm38/lib #Windows package from http://llvm.org/releases/\r\n\t  DOC \"The file that corresponds to the libclang library.\")\r\n\r\nThen cmake was successful:\r\n\r\n\t-- The C compiler identification is Clang 3.4.1\r\n\t-- The CXX compiler identification is Clang 3.4.1\r\n\t-- Check for working C compiler using: Ninja\r\n\t-- Check for working C compiler using: Ninja -- works\r\n\t-- Detecting C compiler ABI info\r\n\t-- Detecting C compiler ABI info - done\r\n\t-- Detecting C compile features\r\n\t-- Detecting C compile features - done\r\n\t-- Check for working CXX compiler using: Ninja\r\n\t-- Check for working CXX compiler using: Ninja -- works\r\n\t-- Detecting CXX compiler ABI info\r\n\t-- Detecting CXX compiler ABI info - done\r\n\t-- Detecting CXX compile features\r\n\t-- Detecting CXX compile features - done\r\n\t-- Found LibClang: /usr/local/llvm38/lib/libclang.so  \r\n\t-- Boost version: 1.55.0\r\n\t-- Found the following Boost libraries:\r\n\t--   regex\r\n\t--   system\r\n\t--   filesystem\r\n\t-- Found ASPELL: /usr/local/lib/libaspell.so  \r\n\t-- Found PkgConfig: /usr/local/bin/pkg-config (found version \"0.28\") \r\n\t-- Checking for module 'gtkmm-3.0'\r\n\t--   Found gtkmm-3.0, version 3.16.0\r\n\t-- Checking for module 'gtksourceviewmm-3.0'\r\n\t--   Found gtksourceviewmm-3.0, version 3.2.0\r\n\t-- Checking for module 'libgit2'\r\n\t--   Found libgit2, version 0.24.0\r\n\t-- Could NOT find plantuml (missing:  PLANTUML_JARFILE) \r\n\t-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) \r\n\t-- Configuring done\r\n\t-- Generating done\r\n\t-- Build files have been written to: /home/babaei/Desktop/jucipp/build\r\n\r\nNow, I'm getting the following error at the build stage:\r\n\r\n\t[  9%] Building CXX object src/CMakeFiles/project_shared.dir/git.cc.o\r\n\t/home/babaei/Desktop/jucipp/src/git.cc:106:44: error: no member named\r\n\t      'FILE_MONITOR_WATCH_MOVES' in 'Gio::FileMonitorFlags'; did you mean\r\n\t      'G_FILE_MONITOR_WATCH_MOVES'?\r\n\t  ...Gio::FileMonitorFlags::FILE_MONITOR_WATCH_MOVES);\r\n\t     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\t     G_FILE_MONITOR_WATCH_MOVES\r\n\t/usr/local/include/glib-2.0/gio/gioenums.h:347:3: note: \r\n\t      'G_FILE_MONITOR_WATCH_MOVES' declared here\r\n\t  G_FILE_MONITOR_WATCH_MOVES      = (1 << 3)\r\n\t  ^\r\n\t/home/babaei/Desktop/jucipp/src/git.cc:106:26: error: no matching member\r\n\t      function for call to 'monitor_directory'\r\n\t  monitor=git_directory->monitor_directory(Gio::FileMonitorFlags::FILE_M...\r\n\t\t  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~\r\n\t/usr/local/include/giomm-2.4/giomm/file.h:2735:29: note: candidate function not\r\n\t      viable: no known conversion from 'GFileMonitorFlags' to 'const\r\n\t      Glib::RefPtr<Cancellable>' for 1st argument\r\n\t  Glib::RefPtr<FileMonitor> monitor_directory(const Glib::RefPtr<Cancell...\r\n\t\t                    ^\r\n\t/usr/local/include/giomm-2.4/giomm/file.h:2743:29: note: candidate function not\r\n\t      viable: no known conversion from 'GFileMonitorFlags' to\r\n\t      'Gio::FileMonitorFlags' for 1st argument\r\n\t  Glib::RefPtr<FileMonitor> monitor_directory(FileMonitorFlags flags = F...\r\n\t\t                    ^\r\n\t2 errors generated.\r\n\t*** Error code 1\r\n\r\n\tStop.\r\n\tmake[2]: stopped in /usr/home/babaei/Desktop/jucipp/build\r\n\t*** Error code 1\r\n\r\n\tStop.\r\n\tmake[1]: stopped in /usr/home/babaei/Desktop/jucipp/build\r\n\t*** Error code 1\r\n\r\n\tStop.\r\n\tmake: stopped in /usr/home/babaei/Desktop/jucipp/build\r\n\r\nIt seems cmake picks up the wrong version of gtkmm library since I do have two different version of it installed at the same time (despite the fact that it says it picked up version 3 of the library):\r\n\r\n        $ pkg info | grep gtkmm\r\n        gtkmm24-2.24.4_2               C++ wrapper for Gtk+\r\n        gtkmm30-3.16.0                 C++ wrapper for Gtk+3\r\n\r\nI'm really excited about this brand new IDE and like to check it out, or even create a port for it. So, any help would be greatly appreciated."},"comment":{"url":"https://api.github.com/repos/cppit/jucipp/issues/comments/231673754","html_url":"https://github.com/cppit/jucipp/issues/253#issuecomment-231673754","issue_url":"https://api.github.com/repos/cppit/jucipp/issues/253","id":231673754,"user":{"login":"NuLL3rr0r","id":2454895,"avatar_url":"https://avatars.githubusercontent.com/u/2454895?v=3","gravatar_id":"","url":"https://api.github.com/users/NuLL3rr0r","html_url":"https://github.com/NuLL3rr0r","followers_url":"https://api.github.com/users/NuLL3rr0r/followers","following_url":"https://api.github.com/users/NuLL3rr0r/following{/other_user}","gists_url":"https://api.github.com/users/NuLL3rr0r/gists{/gist_id}","starred_url":"https://api.github.com/users/NuLL3rr0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuLL3rr0r/subscriptions","organizations_url":"https://api.github.com/users/NuLL3rr0r/orgs","repos_url":"https://api.github.com/users/NuLL3rr0r/repos","events_url":"https://api.github.com/users/NuLL3rr0r/events{/privacy}","received_events_url":"https://api.github.com/users/NuLL3rr0r/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T08:36:38Z","updated_at":"2016-07-11T08:36:38Z","body":"> > Or, is there a separate giomm package on FreeBSD? In that case, what version is your gio and giomm?\r\n\r\n> No, there is not:\r\n> [https://www.freebsd.org/cgi/ports.cgi?query=giomm&stype=name&sektion=all](https://www.freebsd.org/cgi/ports.cgi?query=giomm&stype=name&sektion=all)\r\n\r\n    $ pkg which /usr/local/include/giomm-2.4/giomm/file.h\r\n    /usr/local/include/giomm-2.4/giomm/file.h was installed by package glibmm-2.44.0,1"}}
{"actor":{"display_login":"NuLL3rr0r"}}