libsrtp icon indicating copy to clipboard operation
libsrtp copied to clipboard

cross compilation not working on commit ID: bd0f27ec0e299ad101a396dde3f7c90d48efc8fc

Open shiv50084 opened this issue 3 years ago • 3 comments

Its showing a compilation error. When cross compiling for mips arch its showing an cmake error:


CMake Error at CMakeLists.txt:245 (set_target_properties): set_target_properties called with incorrect number of arguments.

-- Configuring incomplete, errors occurred! See also "/home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libsrtp/build/src/project_libsrtp-build/CMakeFiles/CMakeOutput.log". See also "/home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libsrtp/build/src/project_libsrtp-build/CMakeFiles/CMakeError.log". CMakeFiles/project_libsrtp.dir/build.make:106: recipe for target 'build/src/project_libsrtp-stamp/project_libsrtp-configure' failed make[2]: *** [build/src/project_libsrtp-stamp/project_libsrtp-configure] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/project_libsrtp.dir/all' failed Makefile:83: recipe for target 'all' failed make[1]: *** [CMakeFiles/project_libsrtp.dir/all] Error 2 make: *** [all] Error 2 CMake Error at CMake/Utilities.cmake:72 (message): CMake step for libsrtp failed: 2 Call Stack (most recent call first): CMakeLists.txt:131 (build_dependency)

-- Configuring incomplete, errors occurred! See also "/home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/mips_build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop.


shiv50084 avatar Aug 27 '21 11:08 shiv50084

Hi, I think this is related to the cmake version, in master this is now set to: cmake_minimum_required(VERSION 3.12) What version are us using and are you able to upgrade ?

pabuhler avatar Aug 27 '21 12:08 pabuhler

my cmake version cmake version 3.8.2

this is cross-compiled cmake. I am not able to update.

Can you please help for this?

but on commit ID: bd0f27ec0e299ad101a396dde3f7c90d48efc8fc

cmake version is cmake_minimum_required(VERSION 3.2)

shiv50084 avatar Aug 27 '21 12:08 shiv50084

Yes it should have been bumped up earlier but was missed. Can you just modify the CMakeLists.txt file locally ? You could just comment out that line. We do not plan to support multiple CMake version unless it is absolutely needed.

pabuhler avatar Aug 27 '21 13:08 pabuhler

@shiv50084 I am closes this for now as it has been awhile. Please reopen if there is some thing that can be done.

pabuhler avatar Dec 15 '22 04:12 pabuhler