자유롭게 질의 및 응답을 할 수 있는 게시판입니다. 개발자 여러분의 답변이 큰 도움이 됩니다.
- 제품설치/등록 오류 문의: 설치/등록 Q&A 이용 (제품 구매 고객 한정)
C++ Builder cmake 테스트가 안됩니다.
2018.08.10 09:54
cmake를 테스트 중입니다.
그동안 실력이 모자라 컴파일을 못한 소스들을 이용해 볼려고 하는데 쉽지가 않습니다.
아래 내용을 보면 권한 문제 인것 같은데 어떻게 하면 됩나요?
------------------------------------------------------------------------------------------------------------------------------
Running with debug output on.
-- The C compiler identification is Embarcadero 7.30.36015
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCompilerId.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCCompiler.cmake
[1] D:/project/CMakeLists.txt
-- The CXX compiler identification is Embarcadero 7.30.36015
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCompilerId.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCXXCompiler.cmake
[1] D:/project/CMakeLists.txt
-- Check for working C compiler: D:/Program Files/Embarcadero/Studio/19.0/bin/bcc32x.exe
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCompilerCommon.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
CMake Warning (dev) at D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:37 (try_compile):
Policy CMP0066 is not set: Honor per-config flags in try_compile()
source-file signature. Run "cmake --help-policy CMP0066" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
For compatibility with older versions of CMake, try_compile is not honoring
caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the
test project.
Call Stack (most recent call first):
CMakeLists.txt:45 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
Called from: [2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
-- Check for working C compiler: D:/Program Files/Embarcadero/Studio/19.0/bin/bcc32x.exe -- broken
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCompilerCommon.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
CMake Error at D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"D:/Program Files/Embarcadero/Studio/19.0/bin/bcc32x.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/project/CMakeFiles/CMakeTmp
Run Build Command:"make" "cmTC_efee7\fast"
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
make -f CMakeFiles\cmTC_efee7.dir\build.make -l -o CMakeFiles\cmTC_efee7.dir\build
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
Fatal: 'Files\Embarcadero\Studio\19.0\bin\make.exe' does not exist - don't know how to make it
** error 1 ** deleting cmTC_efee7\fast
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:45 (project)
Called from: [2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
-- Configuring incomplete, errors occurred!
See also "D:/project/CMakeFiles/CMakeOutput.log".
See also "D:/project/CMakeFiles/CMakeError.log".
C++ Builder cmake 테스트가 안됩니다.
2018.08.10 09:54
cmake를 테스트 중입니다.
그동안 실력이 모자라 컴파일을 못한 소스들을 이용해 볼려고 하는데 쉽지가 않습니다.
아래 내용을 보면 권한 문제 인것 같은데 어떻게 하면 됩나요?
------------------------------------------------------------------------------------------------------------------------------
Running with debug output on.
-- The C compiler identification is Embarcadero 7.30.36015
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCompilerId.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCCompiler.cmake
[1] D:/project/CMakeLists.txt
-- The CXX compiler identification is Embarcadero 7.30.36015
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCompilerId.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeDetermineCXXCompiler.cmake
[1] D:/project/CMakeLists.txt
-- Check for working C compiler: D:/Program Files/Embarcadero/Studio/19.0/bin/bcc32x.exe
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCompilerCommon.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
CMake Warning (dev) at D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:37 (try_compile):
Policy CMP0066 is not set: Honor per-config flags in try_compile()
source-file signature. Run "cmake --help-policy CMP0066" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
For compatibility with older versions of CMake, try_compile is not honoring
caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the
test project.
Call Stack (most recent call first):
CMakeLists.txt:45 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
Called from: [2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
-- Check for working C compiler: D:/Program Files/Embarcadero/Studio/19.0/bin/bcc32x.exe -- broken
Called from: [3] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCompilerCommon.cmake
[2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
CMake Error at D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"D:/Program Files/Embarcadero/Studio/19.0/bin/bcc32x.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/project/CMakeFiles/CMakeTmp
Run Build Command:"make" "cmTC_efee7\fast"
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
make -f CMakeFiles\cmTC_efee7.dir\build.make -l -o CMakeFiles\cmTC_efee7.dir\build
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
Fatal: 'Files\Embarcadero\Studio\19.0\bin\make.exe' does not exist - don't know how to make it
** error 1 ** deleting cmTC_efee7\fast
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:45 (project)
Called from: [2] D:/Program Files (x86)/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake
[1] D:/project/CMakeLists.txt
-- Configuring incomplete, errors occurred!
See also "D:/project/CMakeFiles/CMakeOutput.log".
See also "D:/project/CMakeFiles/CMakeError.log".
다음 기술문서 링크들을 참고해 보시기 바랍니다.
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Using_CMake_with_C%2B%2B_Builder
https://community.embarcadero.com/blogs/entry/using-cmake-with-the-free-embarcadero-c-compiler
위 2번째 링크의 샘플을 참고해 시도해 보셔서 문제 파악 후 본인 프로젝트를 진행해 보시면 좋을 것 같습니다.