cvlab-epfl/EPnP

where libraries starter and garfield are?

sergorl opened this issue · 2 comments

Where I can find these libraries:

BAZAR_INC = `pkg-config starter --cflags` `pkg-config garfeild --cflags`
BIZAR_INC = `pkg-config garfield --cflags`

??? Google doesn't know such libraries...

Hello,
I do not see these libraries referenced anywhere here, it should be fine to ignore them.
https://github.com/cvlab-epfl/EPnP/blob/master/cpp/epnp.h
https://github.com/cvlab-epfl/EPnP/blob/master/cpp/epnp.cpp

Another problem however is that this code uses an old OpenCV API <cv.h> which has long been removed.

CMake script for this repo:

cmake_minimum_required(VERSION 3.15.0)
project(autocrane-core)
set(CMAKE_CXX_STANDARD 11)

find_package(OpenCV 4.0 REQUIRED)
message(STATUS "OpenCV headers at ${OpenCV_INCLUDE_DIRS}")
message(STATUS "OpenCV libraries: ${OpenCV_LIBS}")

include_directories(SYSTEM ${OpenCV_INCLUDE_DIRS})
add_executable(epnp epnp.cpp main.cpp)
target_link_libraries(epnp ${OpenCV_LIBS})