darknet-nnpack icon indicating copy to clipboard operation
darknet-nnpack copied to clipboard

qmkl error during make: *** No targets specified and no makefile found. Stop.

Open VictorTagayun opened this issue 6 years ago • 6 comments

@ Install qmkl

sudo apt-get install flex
git clone https://github.com/Terminus-IMRC/qpu-assembler2
cd qpu-assembler2
cmake .
make

I got this error

pi@raspberrypi:~/qmkl $ make
make: *** No targets specified and no makefile found.  Stop.

VictorTagayun avatar Nov 05 '18 14:11 VictorTagayun

Actually, I did not notice the error on

cmake .

CMake Error at CMakeLists.txt:22 (message):
  qasm2 not found.  Install it from
  https://github.com/Terminus-IMRC/qpu-assembler2


-- Configuring incomplete, errors occurred!
See also "/home/pi/qmkl/CMakeFiles/CMakeOutput.log".

Follow, clone and make https://github.com/Terminus-IMRC/qpu-assembler2 and install flex.

sudo apt-get install flex

Then got this 2nd error

pi@raspberrypi:~/qmkl $ cmake .
CMake Error at CMakeLists.txt:27 (message):
  qbin2hex not found.  Install it from
  https://github.com/Terminus-IMRC/qpu-bin-to-hex


-- Configuring incomplete, errors occurred!
See also "/home/pi/qmkl/CMakeFiles/CMakeOutput.log".

Follow and clone and make https://github.com/Terminus-IMRC/qpu-bin-to-hex

The last error I cannot solve anymore.

pi@raspberrypi:~/qmkl $ cmake .
-- Checking for module 'libmailbox>=2.0.0'
--
CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
  CMakeLists.txt:52 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/pi/qmkl/CMakeFiles/CMakeOutput.log".

I did this on fresh Raspbian. Were you able to try on fresh Raspbian?

VictorTagayun avatar Nov 11 '18 15:11 VictorTagayun

same error! did you fix it?

Favi0 avatar Jan 17 '19 07:01 Favi0

Anyone?

VictorTagayun avatar Jan 17 '19 21:01 VictorTagayun

you guys must install two more things. mailbox and librpimemmgr.

kei97103 avatar Jan 18 '19 08:01 kei97103

is it important to install this after all? doesnt run faster using the CPU and not the GPU?

Favi0 avatar Jan 18 '19 10:01 Favi0

same issue

pi@raspberrypi:~/qmkl $ sudo cmake .
CMake Error at CMakeLists.txt:22 (message):
  qasm2 not found.  Install it from
  https://github.com/Terminus-IMRC/qpu-assembler2


-- Configuring incomplete, errors occurred!
See also "/home/pi/qmkl/CMakeFiles/CMakeOutput.log".

Have qpu-assembler2 installed with no error.

mgei avatar May 20 '19 19:05 mgei