Comments (5)
Hi @mrjogo,
just to avoid possible confusion, was the library successfully compiled?
from clandmark.
Yes, using default CMake options.
I could be missing a step to set up CMake after installing CLandmark using make install
. Using this trivial CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
project(test_clandmark)
find_package(clandmark REQUIRED)
MESSAGE(STATUS "CLANDMARK_INCLUDE_DIRS: " ${CLANDMARK_INCLUDE_DIRS})
MESSAGE(STATUS "CLANDMARK_LIBRARIES: " ${CLANDMARK_LIBRARIES})
Creates the following output (you can see the variables aren't set):
$ cmake ..
-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- 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
-- CLANDMARK_INCLUDE_DIRS:
-- CLANDMARK_LIBRARIES:
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ruddick/Desktop/test_clandmark/build
Thanks!
from clandmark.
And do you see clandmark_DIR
and flandmark_DIR
variables in CMake?
If anything fails, you can specify the include directories and libraries manually by adding the libclandmark/ folder to the includes and both clandmark and flandmark dynamic libraries...
from clandmark.
I output all the CMake variables from the above CMakeLists.txt, and here were the clandmark ones:
-- clandmark_CONFIG=/usr/local/lib/cmake/clandmark/clandmarkConfig.cmake
-- clandmark_CONSIDERED_CONFIGS=/usr/local/lib/cmake/clandmark/clandmarkConfig.cmake
-- clandmark_CONSIDERED_VERSIONS=1.5
-- clandmark_DIR=/usr/local/lib/cmake/clandmark
-- clandmark_FOUND=1
-- clandmark_VERSION=1.5
-- clandmark_VERSION_COUNT=2
-- clandmark_VERSION_MAJOR=1
-- clandmark_VERSION_MINOR=5
-- clandmark_VERSION_PATCH=0
-- clandmark_VERSION_TWEAK=0
Interestingly, when I add find_package(flandmark REQUIRED)
, I get the following error, despite flandmark also having been installed:
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findflandmark.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"flandmark", but CMake did not find one.
Could not find a package configuration file provided by "flandmark" with
any of the following names:
flandmarkConfig.cmake
flandmark-config.cmake
Add the installation prefix of "flandmark" to CMAKE_PREFIX_PATH or set
"flandmark_DIR" to a directory containing one of the above files. If
"flandmark" provides a separate development package or SDK, be sure it has
been installed.
I can certainly work around this, but it seems that something's going wrong with the install (I'm afraid I'm not familiar enough with CMake or your library to diagnose what).
from clandmark.
Ok, thanks for the error messages, I will try to fix this.
from clandmark.
Related Issues (20)
- Running Clandmark webcam example HOT 15
- Truecaller_api
- Tru
- Truecaller_api HOT 1
- matlab interface HOT 2
- matlab interface HOT 5
- missing -lopencv_imgcodecs for libopencv 3.1.0 HOT 3
- Using code in video processing,how can I speed up it? HOT 2
- Error in `./video_input': double free or corruption (out): 0x0000000000b56020 ***Aborted (core dumped) HOT 1
- Face Rectangle size HOT 11
- Relocation error when compiling Python interface on Ubuntu HOT 23
- cannot openfile CDPM.xml HOT 9
- Building python_binding HOT 2
- Ask some questions for using "C2F-DPM.xml" HOT 5
- How to build a new face model based on Rhesus monkey ?
- Matlab interface on linux
- Can I use this lib to detect smile ? HOT 2
- Using clandmark in Android app with native c++ HOT 6
- Question for unstable landmark points according to new input frames.
- Multi-view face landmark extraction in Python HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clandmark.