![]() Linux apache-vm 5.4.Interested in using a shared library in your C or C++ application? Not sure how to build your application with the GCC compiler, such that it properly links the shared library? This article explains how to link a shared library to your application, built with the GCC toolchain. Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR ~/tmp/helloworld/dist$ echo ~/tmp/helloworld/dist$ uname -a Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR ~/tmp/helloworld/dist$ g++ -version This is free software see the source for copying conditions. Make: *** 错误 ~/tmp/helloworld/dist$ which ~/tmp/helloworld/dist$ which ~/tmp/helloworld/dist$ gcc -versionĬopyright (C) 2019 Free Software Foundation, Inc. See also "/home/apache/github/pico-sdk/build/elf2uf2/CMakeFiles/CMakeError.log ". See also "/home/apache/github/pico-sdk/build/elf2uf2/CMakeFiles/CMakeOutput.log ". Configuring incomplete, errors occurred ! Variable "CXX " or the CMake cache entry CMAKE_CXX_COMPILER to the full path Check for working C compiler: /usr/bin/cc - works Check for working C compiler: /usr/bin/cc The C compiler identification is GNU 9.3.0 Performing configure step for 'ELF2UF2Build ' Creating directories for 'ELF2UF2Build ' Scanning dependencies of target ELF2UF2Build Building ASM object src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/boot2_w25q080.S.obj Scanning dependencies of target bs2_default Build files have been written to: ~/github/pico-sdk/build$ make TinyUSB available at /home/apache/github/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040 adding USB support. 正克隆到 '/home/apache/github/pico-sdk/lib/tinyusb '. Build files have been written to: ~/github/pico-sdk/build$ cd ~/github/pico-sdk$ git submodule update -init TinyUSB submodule has not been initialized USB support will be unavailable Found Python3: /usr/bin/python3.8 (found version "3.8.2 ") found components: InterpreterĬMake Warning at src/rp2_common/tinyusb/CMakeLists.txt:10 (message): Using board configuration from /home/apache/github/pico-sdk/src/boards/include/boards/pico.h Found assembler: /usr/bin/arm-none-eabi-gccĭefaulting PICO target board to pico since not specified. ![]() The CXX compiler identification is GNU 9.2.1 The C compiler identification is GNU 9.2.1 PICO_GCC_TRIPLE defaulted to arm-none-eabi Defaulting build type to 'Release ' since not specified. PICO_SDK_PATH is /home/apache/github/pico-sdkĭefaulting PICO_PLATFORM to rp2040 since not specified.ĭefaulting PICO platform compiler to pico_arm_gcc since not specified. Make: *** ~/github$ cd ~/github/pico-sdk$ lsĬmake docs lib pico_sdk_init.cmake README.md testĬMakeLists.txt external LICENSE.TXT pico_sdk_version.cmake src ~/github/pico-sdk$ mkdir ~/github/pico-sdk$ cd ~/github/pico-sdk/build$ cmake. See also "/home/apache/github/pico-sdk/elf2uf2/CMakeFiles/CMakeError.log". See also "/home/apache/github/pico-sdk/elf2uf2/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! To the compiler, or to the compiler name if it is in the PATH. Variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path Tell CMake where to find the compiler by setting either the environment The CXX compiler identification is unknownĬMake Error at CMakeLists.txt:2 (project): Performing configure step for 'ELF2UF2Build' Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |