Closed oriagranat9 closed 5 years ago
What version of GCC do you have installed?
gcc (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04) 7.3.0
Hm, my guess is there's something weird with the newer version of gcc. I believe allwpilib is using gcc 7.x this year, so probably once this repo gets upgraded for 2019 then this issue will go away. I wouldn't expect that until at least December.
you where correct downgrading from ubuntu 18 to 16 solved this issue
I ran into this earlier this year as well. Upstream have disabled this by default for the next season, so once we update it should be usable again. https://github.com/wpilibsuite/allwpilib/pull/1172
In the interim, you should be able to build and install robotpy-cscore 2019.0.0a0.
I just tried that (2019.0.0a0) on an ARM ODROID-XU4, and got: src/_cscore.cpp:8:10: fatal error: cscore_oo.h: No such file or directory
My command was: pip3 install robotpy-cscore==2019.0.0a0
Recent install of Ubuntu 18.04 for the ODROID. gcc is gcc (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04) 7.3.0
Oh, darn. Looks like we forgot to update the MANIFEST.in. Gimme a minute.
The 2019.0.0a1 on PyPI should build now.
2019.0.0 release will fix this, give it a whirl and let us know.
Just updated on my ODROID-XU4 and it worked fine. Thanks.
Hi, I am trying to install on RaspberryPi and I am getting following error.
I tried pip3 install robotpy-cscore==2019.0.0a01 and it failed after few hours
ython3.5m -c src/_cscore.cpp -o build/temp.linux-armv7l-3.5/src/_cscore.o -DVERSION_INFO="2019.0.0a1" -s -g0 -std=c++14 -fvisibility=hidden -D_GNU_SOURCE cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ arm-linux-gnueabihf-gcc: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-6/README.Bugs for instructions. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 4
Failed building wheel for robotpy-cscore Running setup.py clean for robotpy-cscore Failed to build robotpy-cscore Could not build wheels for {} which use PEP 517 and cannot be installed directly (cv) pi@OpenCV:~ $
while trying to install robotpy-cscore using pip3 on an odroid xu4 i get this message: