Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Programator St Link V2 - nie jest widoczny w STM32 CubeProgrammer
#3
0
Doszedłem do polecenia cmake . i wyrzuciło mi:

Kod:
linux@linux-Lenovo-IdeaPad-L340-15API:~/stm32/stlink$ cmake .
-- The C compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/linux/stm32/stlink/CMakeFiles/CMakeTmp
   
    Run Build Command(s):/usr/bin/make cmTC_ff1c9/fast && /usr/bin/make -f CMakeFiles/cmTC_ff1c9.dir/build.make CMakeFiles/cmTC_ff1c9.dir/build
    make[1]: Wejście do katalogu '/home/linux/stm32/stlink/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_ff1c9.dir/testCCompiler.c.o
    /usr/bin/cc    -o CMakeFiles/cmTC_ff1c9.dir/testCCompiler.c.o  -c /home/linux/stm32/stlink/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_ff1c9
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ff1c9.dir/link.txt --verbose=1
    /usr/bin/cc      CMakeFiles/cmTC_ff1c9.dir/testCCompiler.c.o  -o cmTC_ff1c9
    /usr/bin/ld: cannot find Scrt1.o: Nie ma takiego pliku ani katalogu
    /usr/bin/ld: cannot find crti.o: Nie ma takiego pliku ani katalogu
    collect2: error: ld returned 1 exit status
    make[1]: *** [CMakeFiles/cmTC_ff1c9.dir/build.make:87: cmTC_ff1c9] Błąd 1
    make[1]: Opuszczenie katalogu '/home/linux/stm32/stlink/CMakeFiles/CMakeTmp'
    make: *** [Makefile:121: cmTC_ff1c9/fast] Błąd 2
   
  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:17 (project)


-- Configuring incomplete, errors occurred!
See also "/home/linux/stm32/stlink/CMakeFiles/CMakeOutput.log".
See also "/home/linux/stm32/stlink/CMakeFiles/CMakeError.log".
linux@linux-Lenovo-IdeaPad-L340-15API:~/stm32/stlink$


a po wpisaniu polecenia "make":

Kod:
linux@linux-Lenovo-IdeaPad-L340-15API:~/stm32/stlink$ make
[RELEASE]
make[1]: *** Nie podano obiektów i nie znaleziono makefile. Stop.
make: *** [Makefile:34: release] Błąd 2
linux@linux-Lenovo-IdeaPad-L340-15API:~/stm32/stlink$


Co jest nie "teges"?
Odpowiedz


Wiadomości w tym wątku
RE: problem z USB w Wine - przez dedito - 25-04-2021, 11:22
RE: problem z USB w Wine - przez emil4 - 25-04-2021, 12:21
RE: problem z USB w Wine - przez dedito - 25-04-2021, 12:29
RE: problem z USB w Wine - przez emil4 - 25-04-2021, 12:56
RE: problem z USB w Wine - przez dedito - 25-04-2021, 13:02
RE: problem z USB w Wine - przez emil4 - 25-04-2021, 13:14
RE: problem z USB w Wine - przez dedito - 25-04-2021, 13:18
RE: problem z USB w Wine - przez emil4 - 25-04-2021, 13:31
RE: problem z USB w Wine - przez dedito - 25-04-2021, 13:51

Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości