I'm a master student working on my master thesis, which require to extract loudness and pitch data each second.
I did some research and found that loudness-scanner might be able to do that.
https://github.com/jiixyj/loudness-scanner
After installing, I typed in below command, but I kept seeing this command not found message.
MacBook-Air:loudness-scanner jhl$ loudness tag 00.1mp3
-bash: loudness: command not found
I believe it happened because loudness-scanner didn't successfully install on my laptop, so I went back to start installing again, then ran into below error message.
CMake Error at CMakeLists.txt:8 (include):
include could not find load file:
utils
CMake Error at CMakeLists.txt:26 (add_subdirectory):
add_subdirectory given source "ebur128/ebur128" which is not an existing
directory.
CMake Error at CMakeLists.txt:27 (add_subdirectory):
add_subdirectory given source "scanner" which is not an existing directory.
CMake Error at CMakeLists.txt:30 (to_yes_no):
Unknown CMake command "to_yes_no".
-- Configuring incomplete, errors occurred!
I guess I faced this issue because I'm all new to this and some file or program are missing and needed to be installed. But I'm not sure which are missing.
Please kindly help, thank you!
Related
I've tried on my windows PC and in wsl, but it doesn't work, and I'm using the Doxyfile.in it gives in eigen-3.4.0\doc
error: tag HTML_HEADER: header file '${Eigen_BINARY_DIR}/doc/eigendoxy_header.html' does not exist
It seems that it can't understand the Eigen_BINARY_DIR or something like that. Does it related to my OS? Do I need to try it in macOS?
I know where I'm wrong, I didn't process the file before using Doxygen, so I was confused by the difference between Doxyfile and Doxyfile.in and think it may related to my OS.
I tried to use CMake but there is still a problem...
I went to Eigen website and try to learn how to use CMake, I try cmake . in WSL(in eigen-3.4.0/doc) but it reports an error, which said:
CMake Error at CMakeLists.txt:14 (check_cxx_compiler_flag):
Unknown CMake command "check_cxx_compiler_flag".
-- Configuring incomplete, errors occurred!
See also "/mnt/c/eigen-3.4.0/doc/CMakeFiles/CMakeOutput.log".
I am working on a project on c++ and need to execute a CMakeLists.txt file to run it. I installed cmake, doxygen, cmake-curses-gui and make using sudo. Then I tried running the file.
The following is a part of the cmake code -
if (BUILD_DOC)
find_package(Doxygen)
configure_file(${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
${PROJECT_SOURCE_DIR}/doc/Doxyfile #ONLY)
add_custom_target(${PROJECT_NAME}_doc ALL ${DOXYGEN_EXECUTABLE}
${PROJECT_SOURCE_DIR}/doc/Doxyfile)
endif ()
Here, it gave me an error message saying that
CMake Error at CMakeLists.txt:77 (configure_file): configure_file
Problem configuring file
Just so that you know, line 77 is configure_file(${PROJECT_SOURCE_DIR}/doc/Doxyfile.in .
If I add AND DOXYGEN_FOUND to the if condition, it doesn't execute anything at all which means that it couldn't find a doxygen executable. But as I already told, I already installed doxygen.
I am new to cmake. So, could anyone please help me with this
Edit:
The OS I am using is Ubuntu 16.04
After I put if(DOXYGEN_FOUND) after the command find_package(doxygen) it executed, but I got the same cmake error in line 78 instead of line 77
Also, now since I got enough information from the comments, I just realized that my problem is more towards finding where the Doxyfile.in file lies than configuring the file. Could anyonee help me with it?
The error is clear
configure_file Problem configuring file
CMake's configure_file(<input> <output>) command is used to copy input file to ouput and replacing #VARIABLES# in input by the corresponding value.
configure_file(${PROJECT_SOURCE_DIR}/doc/Doxyfile.in ${PROJECT_SOURCE_DIR}/doc/Doxyfile #ONLY)
You have to find why this process failed:
Make sure ${PROJECT_SOURCE_DIR} contains the correct path to your project, and make sure the file Doxyfile.in is is the right folder (<project dir>/doc)
Make sure content of Doxyfile.in does not contains any syntax error, in particular with #VARIABLES# that needs to be replaced by their CMake value.
Note that this error has nothing to do with Doxygen on your system, and the fact that CMake actually found it or not.
I can't build assimp 3.2 anymore. Yesterday it worked but today it doesn't.
I am downloading assimp from here. Then I'm doing cmake CMakeLists.txt -G 'Unix Makefiles' and make as described in their INSTALL file. However when doing make I get the following error:
[ 84%] Performing configure step for 'gtest'
CMake Error at /home/gartenriese/Documents/assimp/assimp-3.2/test/gtest/src/gtest-stamp/gtest-configure.cmake:16 (message):
Command failed: 1
'/usr/bin/cmake' '-DCMAKE_BUILD_TYPE=' '-Dgtest_force_shared_crt=ON' '-Dgtest_disable_pthreads:BOOL=OFF' '-GUnix Makefiles' '/home/gartenriese/Documents/assimp/assimp-3.2/test/gtest/src/gtest'
See also
/home/gartenriese/Documents/assimp/assimp-3.2/test/gtest/src/gtest-stamp/gtest-configure-*.log
make[2]: *** [test/gtest/src/gtest-stamp/gtest-configure] Error 1
gtest-configure-out.log is empty, however gtest-configure-err.log says the following:
CMake Error: The source directory "/home/gartenriese/Documents/assimp/assimp-3.2/test/gtest/src/gtest" does not appear to contain CMakeLists.txt.
Any ideas? It worked yesterday and I did not change anything on my system globally.
EDIT:
I can build it with the option -DASSIMP_BUILD_TESTS=OFF added to the cmake command. However this is just a workaround and does not explain the issue.
Because project assimp used incorrect link to gtest repository
Currently cmake-modules/AddGTest.cmake used link to chromium repository which is deprecated and all code removed from it.
From README.md
This mirror has been deprecated.
The actual repository has moved to https://github.com/google/googletest/
So you should update link in AddGTest.cmake to point into Github repository.
UPDATE:
Pull request was already merged into assimp's master branch. So use it instead of repository from comments.
I am trying to cmake curlpp using Cmake version 3.4.1 and I get an error in cmake saying: " Error in configuration process [...]". So all I did is in cmake-gui open the curlpp source (version 0.7.3), selected the destination folder and chose mingw. Here is the output in the gui http://pastebin.com/1gKyqd32.
It said Configuring incomplete, errors occurred!
See also "C:/c++/libraries/curlpp_built/CMakeFiles/CMakeOutput.log".
CMakeOutput.log
I setup CMake correctly and I could compile glfw library.
Quoting the relevant part of the output
CMake Error at src/utilspp/CMakeLists.txt:4 (add_subdirectory):
add_subdirectory given source "singleton" which is not an existing
directory.
The project's CMakeLists.txt in src/utilspp is broken.
The bug is already reported in curlpp's issue tracker:
https://github.com/jpbarrette/curlpp/issues/7
You can work around this bug by removing line 4 from src/utilspp/CMakeLists.txt it should contain something like add_subdirectory(singleton). If you are lucky, everything works; but other errors might pop up.
Hi I'm trying to install ROS on my MAC using homebrew.While installation I got this message :
CMake Error at CMakeLists.txt:7 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one
Could not find a package configuration file provided by "Eigen3" with any
of the following names:
Eigen3Config.cmake
eigen3-config.cmake
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/Users/Jishnu/ros_catkin_ws/build_isolated/pcl_ros/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'pcl_ros':
Command '['/Users/Jishnu/ros_catkin_ws/install_isolated/env.sh', ' cmake', '/Users/Jishnu/ros_catkin_ws/src/perception_pcl/pcl_ros', '- DCATKIN_DEVEL_PREFIX=/Users/Jishnu/ros_catkin_ws/devel_isolated/pcl_ros', '-DCMAKE_INSTALL_PREFIX=/Users/Jishnu/ros_catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1
I'M a beginner in ROS, so could someone please help me out with this. I have checked if Eigen is installed, version 3.2.4 is already installed
This solved the problem for me.
It seems this has been resolved, but I'll share how I got this
working: Elsewhere in the ros build workspace I found a copy of
FindEigen3.cmake:
ros_catkin_ws$ cp
src/orocos_kinematics_dynamics/orocos_kdl/config/FindEigen3.cmake
src/perception_pcl/pcl_ros/cfg/ Then I removed the following from
CMakeLists:
find_package(Eigen 3 Required) Replacing it with these lines from the
orocos CMakeLists
find_package(Eigen 3 QUIET) if(NOT Eigen_FOUND)
include(${PROJ_SOURCE_DIR}/cfg/FindEigen3.cmake)
set(Eigen_INCLUDE_DIR ${EIGEN3_INCLUDE_DIR}) endif()
include_directories(${Eigen_INCLUDE_DIR}) To be perfectly honest, I
didn't change config -> cfg when I did my build, but it seems to have
worked.
What I did to solve such problem was:
Finding the current value of CMAKE_ROOT by print it out using message( WARNING ${CMAKE_ROOT}) in .cmake file
Make sure Modules/FindEigen3.cmake exists in that folder
If not, download a copy from https://github.com/RainerKuemmerle/g2o/blob/master/cmake_modules/FindEigen3.cmake