Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake .. fails #18

Open
nerkn opened this issue Feb 3, 2022 · 3 comments
Open

cmake .. fails #18

nerkn opened this issue Feb 3, 2022 · 3 comments

Comments

@nerkn
Copy link

nerkn commented Feb 3, 2022

Hi,
I think CmakeList.txt file has been removed, and "cmake .." returns

CMake Error at CMakeLists.txt:28 (find_package):
By not providing "Findoatpp.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "oatpp", but
CMake did not find one.

Could not find a package configuration file provided by "oatpp" (requested
version 1.3.0) with any of the following names:

oatppConfig.cmake
oatpp-config.cmake

Add the installation prefix of "oatpp" to CMAKE_PREFIX_PATH or set
"oatpp_DIR" to a directory containing one of the above files. If "oatpp"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "/home/n/Dropbox/robot/opencv/oat/oatpp/CMakeFiles/CMakeOutput.log"

@lganzzzo
Copy link
Member

lganzzzo commented Feb 9, 2022

Hello @nerkn ,

Most probably you don't have oatpp installed on your computer.

You should first install oatpp and other required oatpp modules for this example.
Then, you'll be able to build and run this example

@cyang-catalogicsoftware

Hi, The same error occurs in the execution of this script

image

@lganzzzo
Copy link
Member

Hello @cyang-catalogicsoftware ,

Please install each of oatpp modules separately.
Most probably they haven't installed - please check if you get something like "access denied" or some permission error when running make install.
In this case you'll just have to run make install command with sudo - sudo make install

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

No branches or pull requests

3 participants