-
Notifications
You must be signed in to change notification settings - Fork 82
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
Compile error #160
Comments
Please could you write the steps you have followed in order to reproduce this issue? |
Follow this https://micro-xrce-dds.docs.eprosima.com/en/latest/installation.html.
|
Please install client and agent in separate folders:
and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
~/env/Micro-XRCE-DDS-Client/build$ make
Scanning dependencies of target microcdr
[ 6%] Creating directories for 'microcdr'
[ 12%] Performing download step (git clone) for 'microcdr'
Cloning into 'microcdr'...
Note: checking out 'v1.2.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 6c9a88f... Release v1.2.0 (#52)
[ 18%] No patch step for 'microcdr'
[ 25%] Performing update step for 'microcdr'
[ 31%] Performing configure step for 'microcdr'
loading initial cache file /home/pv/env/Micro-XRCE-DDS-Client/build/microcdr/tmp/microcdr-cache-.cmake
-- Setting build type to 'Release' as none was specified.
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pv/env/Micro-XRCE-DDS-Client/build/microcdr/src/microcdr-build
[ 37%] Performing build step for 'microcdr'
Scanning dependencies of target ucdr
[ 12%] Creating directories for 'ucdr'
[ 25%] No download step for 'ucdr'
[ 37%] No patch step for 'ucdr'
[ 50%] No update step for 'ucdr'
[ 62%] Performing configure step for 'ucdr'
loading initial cache file /home/pv/env/Micro-XRCE-DDS-Client/build/microcdr/src/microcdr-build/ucdr-prefix/tmp/ucdr-cache-Release.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pv/env/Micro-XRCE-DDS-Client/build/microcdr/src/microcdr-build
[ 75%] Performing build step for 'ucdr'
Scanning dependencies of target microcdr
[ 16%] Building C object CMakeFiles/microcdr.dir/src/c/common.c.o
[ 33%] Building C object CMakeFiles/microcdr.dir/src/c/types/basic.c.o
[ 50%] Building C object CMakeFiles/microcdr.dir/src/c/types/string.c.o
[ 66%] Building C object CMakeFiles/microcdr.dir/src/c/types/array.c.o
[ 83%] Building C object CMakeFiles/microcdr.dir/src/c/types/sequence.c.o
[100%] Linking C static library libmicrocdr.a
[100%] Built target microcdr
No install step for 'ucdr'
Completed 'ucdr'
Built target ucdr
[ 43%] Performing install step for 'microcdr'
[100%] Built target microcdr
Install the project...
-- Install configuration: "Release"
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/lib/libmicrocdr.a
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/include/ucdr
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/include/ucdr/microcdr.h
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/include/ucdr/visibility.h
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/include/ucdr/config.h
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/share/microcdr/cmake/microcdrTargets.cmake
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/share/microcdr/cmake/microcdrTargets-release.cmake
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/share/microcdr/cmake/microcdrConfig.cmake
-- Installing: /home/pv/env/Micro-XRCE-DDS-Client/build/temp_install/microcdr-1.2.0/share/microcdr/cmake/microcdrConfigVersion.cmake
[ 50%] Completed 'microcdr'
[ 50%] Built target microcdr
Scanning dependencies of target uclient
[ 56%] Creating directories for 'uclient'
[ 62%] No download step for 'uclient'
[ 68%] No patch step for 'uclient'
[ 75%] No update step for 'uclient'
[ 81%] Performing configure step for 'uclient'
loading initial cache file /home/pv/env/Micro-XRCE-DDS-Client/build/uclient-prefix/tmp/uclient-cache-.cmake
-- Setting build type to 'Release' as none was specified.
CMake Error at CMakeLists.txt:106 (find_package):
By not providing "Findmicrocdr.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "microcdr",
but CMake did not find one.
Could not find a package configuration file provided by "microcdr"
(requested version 1.2.0) with any of the following names:
Add the installation prefix of "microcdr" to CMAKE_PREFIX_PATH or set
"microcdr_DIR" to a directory containing one of the above files. If
"microcdr" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "/home/pv/env/Micro-XRCE-DDS-Client/build/CMakeFiles/CMakeOutput.log".
CMakeFiles/uclient.dir/build.make:107: recipe for target 'uclient-prefix/src/uclient-stamp/uclient-configure' failed
make[2]: *** [uclient-prefix/src/uclient-stamp/uclient-configure] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/uclient.dir/all' failed
make[1]: *** [CMakeFiles/uclient.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: