Chronos > Software Dev

Chronos Cam App open source build discussion

<< < (3/6) > >>

tesla500:

--- Quote from: tretee on December 22, 2017, 08:35:03 AM ---Running the script conf.sh to setup the QT build generates an error. I tried to Google it, seems lots of people have fallen i this trap but failed to find a solution. I am sure it's fixable but also guess it will take a lot of time. Any chance you could update the readme with the steps required to build tslib for the Chronos apps processor or maybe even include the necessary files in the target rootfs so we don't have to build it.
The error ...
"The tslib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR and QMAKE_LIBDIR in
 /home/davor/work/qt-everywhere-opensource-src-4.8.7/mkspecs/qws/linux-omap2-g++.
"     

--- End quote ---

I knew there was a step missing from the instructions! You need to put tslib.h in /usr/include in your targetfs directory. Using the paths shown in the instructions, that would be ~/Work/chronos-sdk/targetfs/usr/include. We forgot to include that on the filesystem shipped with the camera.

File is attached.



--- Quote from: tretee on December 22, 2017, 06:07:51 PM ---Hooking up the mini USB to a Linux machine to get an ETH interface works fine. The camera responds to ping.
But
"You can then log into the camera using root/<no password>"
user=root, password=<nothing just press enter>
Generates an "Access denied" response.

I am using Putty as my terminal program.

--- End quote ---

The camera uses an old version of SSH, and only supports a deprecated (insecure) key exchange algorithm. You need to use the following command to connect to the camera with SSH from modern systems:

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 [email protected]

tretee:
Thank you.
QT builds fine now and I can connect to the camera via SSH.
Next obstacle.
When trying to build the Camera app in QT creator I get an error in video.h originating from line 42 where OMX_Types.h is included.
I can't find the file so I assume that is a legitimate error and not the usual path problem.

 

tesla500:

--- Quote from: tretee on December 23, 2017, 09:06:52 AM ---Thank you.
QT builds fine now and I can connect to the camera via SSH.
Next obstacle.
When trying to build the Camera app in QT creator I get an error in video.h originating from line 42 where OMX_Types.h is included.
I can't find the file so I assume that is a legitimate error and not the usual path problem.

--- End quote ---

You've copied the contents of the boot MicroSD card to the targetfs folder, right? There are some header files in there that are needed. Also, what OS are you using as your build host?

tretee:
Yes I did copy the content of the SD card ROOTFS partion to the ...../targetfs/  folder.
Where on the SD card can I find the missing header files? I already looked in the most obvious places and did a search. 

My host machine runs Ubuntu 16.04 LTS

tesla500:
Did you copy from the Linux EXT3 partition? I can make up a tar with the entire filesystem on it if needed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version