Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeBY68 authored Dec 25, 2023
1 parent 8b47472 commit f296350
Show file tree
Hide file tree
Showing 52 changed files with 19,110 additions and 0 deletions.
43 changes: 43 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
cmake_minimum_required(VERSION 2.8)

project(TextSLAM)
set(CMAKE_CXX_STANDARD 11)

# ceres
find_package(Ceres REQUIRED)
# opencv
#set(OpenCV_DIR /opt/ros/kinetic/share/OpenCV-3.3.1-dev)
find_package(OpenCV REQUIRED)
# Sophus
find_package(Sophus REQUIRED)

include_directories(
${PROJECT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/ceres
${CERES_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
${Sophus_INCLUDE_DIRS})


add_executable(${PROJECT_NAME} main.cpp
src/ORBextractor.cc
src/frame.cc
src/initializer.cc
src/keyframe.cc
src/map.cc
src/mapPts.cc
src/mapText.cc
src/optimizer.cc
src/setting.cc
src/system.cc
src/tool.cc
src/tracking.cc
src/loopClosing.cc
src/Sim3Solver.cc
src/Random.cpp
src/Timestamp.cpp)

TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${CERES_LIBRARIES} ${OpenCV_LIBS} ${QT_LIBRARIES} ${Sophus_LIBRARIES}
${EIGEN3_LIBS})
Loading

0 comments on commit f296350

Please sign in to comment.