Jump to content

    
Sign in to follow this  
jenya7

gpiod.h file not found

Recommended Posts

На старой малине мой Qt проект работал.

Получил новую малину - установил линукс и Qt - открываю проект а он ругается - gpiod.h file not found.

Делаю - sudo apt-get install gpiod libgpiod-dev - вроде как что то устанавливается но проект все равно не видит gpiod.h.

Я уже не помню что я делал в прошлый раз, может где то надо путь к хидеру прописать?

 

 

присмотревшись повнимательней вижу

Quote

pi@raspberrypi:~ $ sudo apt-get  install gpiod

Reading package lists...
Done
Building dependency tree       

Reading state information... Done

The following additional packages will be installed:
  libgpiod2

The following NEW packages will be installed:
  gpiod libgpiod2
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 42.9 kB of archives.
After this operation, 176 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libgpiod2 armhf 1.2-3+rpi1
  Temporary failure resolving 'raspbian.raspberrypi.org'

Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf gpiod armhf 1.2-3+rpi1
  Temporary failure resolving 'raspbian.raspberrypi.org'

E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libg/libgpiod/libgpiod2_1.2-3+rpi1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org'

E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libg/libgpiod/gpiod_1.2-3+rpi1_armhf.deb Temporary failure resolving 'raspbian.raspberrypi.org'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

Это значит что библиотека не установилась?

 

Извиняюсь. Просто сеть упала. Когда вернулась все установилось нормально.

Edited by jenya7

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this