<< return to Pixycam.com

Pixymon does not install per pixy2 instructions

I installed all dependencies and ran the git command to download pixymon, as per instructions on your web site.

The next instruction calls for changing to ‘scripts’ directory but the directory is not there.

Again, this is for the newest pixy2.

Hi Tony,
Our bad – please do another pull on the repository and the script should be there. Let me know if you have any problems.

Edward

Thanks for your reply.

Trying to install pixymon for the pixy2 on linux mint.

Just went through your install directions from the top, making sure all dependencies were installed, grabbing the source files using git, then running the build script. The script completed with errors:

~/pixy2/scripts $ ./build_*
Creating build folder…
Starting build…
Building for linux
make: Entering directory ‘/home/tony/pixy2/build/pixymon/src/host/pixymon’
/usr/lib/x86_64-linux-gnu/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic configdialog.ui -o ui_configdialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic about.ui -o ui_about.h
g++ -c -m64 -pipe -Wno-unused-parameter -O2 -Wall -W -D_REENTRANT -D__LINUX__ -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g+±64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I…/…/common/inc -I/usr/include/libusb-1.0 -I…/…/…/device/main_m4/inc -I…/…/…/device/libpixy_m4/inc -I. -I. -o main.o main.cpp
g++ -c -m64 -pipe -Wno-unused-parameter -O2 -Wall -W -D_REENTRANT -D__LINUX__ -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g+±64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I…/…/common/inc -I/usr/include/libusb-1.0 -I…/…/…/device/main_m4/inc -I…/…/…/device/libpixy_m4/inc -I. -I. -o mainwindow.o mainwindow.cpp
mainwindow.cpp: In constructor ‘MainWindow::MainWindow(int, char**, QWidget*)’:
mainwindow.cpp:91:24: error: ‘class QMenu’ has no member named ‘setToolTipsVisible’
m_ui->menuProgram->setToolTipsVisible(true);
^
Makefile:376: recipe for target ‘mainwindow.o’ failed
make: *** [mainwindow.o] Error 1
make: Leaving directory ‘/home/tony/pixy2/build/pixymon/src/host/pixymon’
cp: cannot stat ‘src/host/pixymon/PixyMon’: No such file or directory
strip: ‘bin/PixyMon’: No such file

Not sure what to do next–all my computers are linux so I need a good linux install.

Thanks again for your help.

Edward the same for me but the documentation shows that we must run this command git clone https://github.com/charmedlabs/pixy2.git but in script only appear this file build_pixymon_src.sh
and then when i run the command it shows:
[email protected]:~/pixy2 $ cd scripts
[email protected]:~/pixy2/scripts $ dir
build_pixymon_src.sh
[email protected]:~/pixy2/scripts $ ./build_pixymon_src.sh
Creating build folder…
Starting build…
Building for linux
./buildpixymon.sh: line 15: qmake: command not found
make: Entering directory ‘/home/pi/pixy2/build/pixymon/src/host/pixymon’
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory ‘/home/pi/pixy2/build/pixymon/src/host/pixymon’
cp: cannot stat ‘src/host/pixymon/PixyMon’: No such file or directory
strip: ‘bin/PixyMon’: No such file

help please

by the way i made another pull before…

Hi Luis,
Sorry about that. We’re playing catch-up on the documentation. PixyMon requires qt5 now (instead of qt4). To install qt5, do an apt-get install of the qt5 packages:

sudo apt-get install qt5-default
sudo apt-get install qt5-qmake
sudo apt-get install qtbase5-dev-tools

thanks

Edward

1 Like

I am having a similar problem I think. I have all dependencies including qt5 but the script throws this error:
bash: ./build_all.sh: /bin/bash^M: bad interpreter: No such file or directory

Hi Sylvain,
Please do another clone (or pull) to get the latest changes. There was a change in the windows-unix line endings that got checked in.

Let me know what you find.

Edward

Hello,
I can’t install pixymon on my Raspberry pi 3 .
pixy2

Hi Hamdi,

can you post the complete output log from entering the install commands? It would be helpful to see the verbose errors.

Thanks,
Jesse

Hi. I’ve been having the same problem. Here’s what I get when I try to build PixyMon.

########################################################################################

Building Pixymon…

########################################################################################
Linux raspberrypi 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux
mkdir: cannot create directory ‘…/build’: File exists
mkdir: cannot create directory ‘…/build/pixymon/’: File exists
Creating build folder…
Starting build…
rm: cannot remove ‘./PixyMon’: No such file or directory
++ uname

  • unamestr=Linux
  • [[ Linux == \L\i\n\u\x ]]
  • platform=linux
  • echo Building for linux
    Building for linux
  • cd src/host/pixymon
  • [[ linux == \l\i\n\u\x ]]
  • qmake pixymon.pro
    Info: creating stash file /home/pi/pixy2/build/pixymon/src/host/pixymon/.qmake.stash
    Project ERROR: Unknown module(s) in QT: core gui widgets xml network
  • make -w
    make: Entering directory ‘/home/pi/pixy2/build/pixymon/src/host/pixymon’
    make: *** No targets specified and no makefile found. Stop.
    make: Leaving directory ‘/home/pi/pixy2/build/pixymon/src/host/pixymon’
  • cd …/…/…
  • cp src/host/pixymon/PixyMon .
    cp: cannot stat ‘src/host/pixymon/PixyMon’: No such file or directory
  • strip PixyMon
    strip: ‘PixyMon’: No such file
  • cp src/host/pixymon/pixyflash.bin.hdr .
  • rm -rdf src
  • rm buildpixymon.sh
  • [[ linux == \m\a\c ]]
    FAILURE

Hello,
It looks like you haven’t installed Qt. Be sure to follow the guide here:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:installing_pixymon_on_linux

especially when it instructs you to install a package, e.g. sudo apt-get.

Edward

Thank you for the reply! I actually did already did all of this but I did get this message when I ran qt5-default with sudo apt-get.

[email protected]:~ $ sudo apt-get install qt5-default
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package qt5-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘qt5-default’ has no installation candidate

Hello,
Hmm, are you running an older version of Raspbian?

What do you get if you run “cat /etc/os-release”?

Edward

Hello, I’m having trouble with the build script too, i’m on debian 11. I tried all the solutions above already. here’s what i get when i run it:

########################################################################################

Building Pixymon…

########################################################################################
Linux omen-kach 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
mkdir: cannot create directory ‘…/build’: File exists
mkdir: cannot create directory ‘…/build/pixymon/’: File exists
Creating build folder…
Starting build…
rm: cannot remove ‘./PixyMon’: No such file or directory
++ uname

  • unamestr=Linux
  • [[ Linux == \L\i\n\u\x ]]
  • platform=linux
  • echo Building for linux
    Building for linux
  • cd src/host/pixymon
  • [[ linux == \l\i\n\u\x ]]
  • qmake pixymon.pro
    Info: creating stash file /home/kach/pixy2/build/pixymon/src/host/pixymon/.qmake.stash
    Project ERROR: Unknown module(s) in QT: core gui widgets xml network
  • make -w
    make: Entering directory ‘/home/kach/pixy2/build/pixymon/src/host/pixymon’
    make: *** No targets specified and no makefile found. Stop.
    make: Leaving directory ‘/home/kach/pixy2/build/pixymon/src/host/pixymon’
  • cd …/…/…
  • cp src/host/pixymon/PixyMon .
    cp: cannot stat ‘src/host/pixymon/PixyMon’: No such file or directory
  • strip PixyMon
    strip: ‘PixyMon’: No such file
  • cp src/host/pixymon/pixyflash.bin.hdr .
  • rm -rdf src
  • rm buildpixymon.sh
  • [[ linux == \m\a\c ]]
    FAILURE

Hello,
It looks like you haven’t installed Qt. Be sure to follow the guide here:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:installing_pixymon_on_linux

especially when it instructs you to install a package, e.g. sudo apt-get. In particular, what happens when you run the commands in the guide below?

sudo apt-get install qt5-default

sudo apt-get install qt5-qmake

sudo apt-get install qtbase5-dev-tools

Edward

Hello, thanks for your reply, here’s what i get:

~$ sudo apt-get install qt5-default
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package qt5-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘qt5-default’ has no installation candidate

~$ sudo apt-get install qt5-qmake
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
qt5-qmake is already the newest version (5.15.2+dfsg-9).
The following packages were automatically installed and are no longer required:
gconf-service gconf2-common libgconf-2-4
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

~$ sudo apt-get install qtbase5-dev-tools
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
qtbase5-dev-tools is already the newest version (5.15.2+dfsg-9).
The following packages were automatically installed and are no longer required:
gconf-service gconf2-common libgconf-2-4
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

i figured it out using this: https://askubuntu.com/questions/1320562/how-do-i-download-qt5-default-for-ubuntu-20-04-lts thanks for your help anyway