Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

issues with build #66

Open
derrick-xwp opened this issue Mar 27, 2021 · 0 comments
Open

issues with build #66

derrick-xwp opened this issue Mar 27, 2021 · 0 comments

Comments

@derrick-xwp
Copy link

I am on windows and add some files locally without building as followings,

the cmakelist.txt are modified as :
project("DeepSDF")
cmake_minimum_required(VERSION 3.0)

find_package(Eigen3 REQUIRED)
#find_package(nanoflann REQUIRED)
#find_package(Pangolin REQUIRED)

add_subdirectory(third-party/cnpy)

set(SOURCES
src/ShaderProgram.cpp
src/Utils.cpp)

add_executable(PreprocessMesh src/PreprocessMesh.cpp ${SOURCES})
target_include_directories(PreprocessMesh PRIVATE third-party/cnpy)
target_link_libraries(PreprocessMesh PRIVATE cnpy Eigen3::Eigen)
target_compile_features(PreprocessMesh PRIVATE cxx_std_14)
set_target_properties(PreprocessMesh PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")

add_executable(SampleVisibleMeshSurface src/SampleVisibleMeshSurface.cpp ${SOURCES})
target_include_directories(SampleVisibleMeshSurface PRIVATE third-party/cnpy)
target_link_libraries(SampleVisibleMeshSurface PRIVATE cnpy Eigen3::Eigen)
target_compile_features(SampleVisibleMeshSurface PRIVATE cxx_std_14)
set_target_properties(SampleVisibleMeshSurface PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")

The cmake .. goes through withou errors,

but make produce nothing:
make: *** No targets specified and no makefile found. Stop.

THe cpp files are modified as:
#include "CLI11.hpp"
#include "C:/third_party_tools/Pangolin/include/pangolin/pangolin/geometry/geometry.h"
#include "C:/third_party_tools/Pangolin/include/pangolin/pangolingeometry/glgeometry.h"
#include "C:/third_party_tools/Pangolin/include/pangolin/pangolin/gl/gl.h"
#include "C:/third_party_tools/Pangolin/include/pangolin/pangolin/pangolin.h"

Do you known where I am wrong?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant