Open Sheepy3 opened 9 months ago
Same problem Orange Pi Zero 3 (Orange Pi 1.0.2 Jammy with Linux 6.1.31-sun50iw)
Exactly the same. Have you found a solution? @Sheepy3
nope. still looking for one.
I found the solution... It is necessary fix board name on the setup.py... a quick fix is to add this line:
BOARD = "orangepizero2-h616"
The orange pi zero 3 has the same pinout as the orange pi zero 2
Exactly the same.
root@DietPi:~/wiringOP-Python# sudo python3 setup.py install running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing wiringpi.egg-info/PKG-INFO writing dependency_links to wiringpi.egg-info/dependency_links.txt writing top-level names to wiringpi.egg-info/top_level.txt reading manifest file 'wiringpi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'wiringpi.egg-info/SOURCES.txt' installing library code to build/bdist.linux-aarch64/egg running install_lib running build_py running build_ext building '_wiringpi' extension swigging wiringpi.i to wiringpi_wrap.c swig -python -threads -o wiringpi_wrap.c wiringpi.i aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -IwiringOP -IwiringOP/wiringPi -IwiringOP/devLib -I/usr/include/python3.11 -c fixUndefFunc.c -o build/temp.linux-aarch64-cpython-311/fixUndefFunc.o "" -DCONFIG_ORANGEPI aarch64-linux-gnu-gcc: warning: : linker input file unused because linking not done aarch64-linux-gnu-gcc: error: : linker input file not found: No such file or directory error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
sudo python3 setup.py install
returns