The entire process of skyeye configuration on ubuntu

Source: Internet
Author: User
Article Title: configure the entire process of skyeye on ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

1. Download skyeye-1.3.0_rc1.tar.gz

2. Decompression: tar xzvf skyeye-1.3.0_rc1.tar.gz

3. cd skyeye-1.3.0_rc1

4../configure

A problem occurred during./configure.

The error message is that the c ++ compiler is missing, so apt-get intall g ++ solves the problem.

5. make lib: there is no error here, but it takes a long time

6. make is still a long time, and some problems have occurred.

Gui/x. cc: 89: error: expected constructor, destructor, or type conversion before '*' token

Gui/x. cc: 91: error: expected initializer before '*' token

Gui/x. cc: 92: error: 'colormap' does not name a type

Gui/x. cc: 101: error: 'window' does not name a type

Gui/x. cc: 102: error: 'gc 'does not name a type

Gui/x. cc: 107: error: expected initializer before '*' token

Gui/x. cc: 134: error: 'pixmap' does not name a type

Gui/x. cc: 137: error: 'pixmap' does not name a type

Gui/x. cc: 144: error: 'pixmap' does not name a type

Gui/x. cc: 301: error: variable or field 'xkeypress' declared void

Gui/x. cc: 301: error: 'keysym' was not declared in this scope

Gui/x. cc: 301: error: expected primary-expression before 'int'

Gui/x. cc: 325: error: 'colormap' was not declared in this scope

Gui/x. cc: 325: error: expected primary-expression before 'n' _ tries'

Gui/x. cc: 325: error: initializer expression list treated as compound expression

Gui/x. cc: 325: error: expected ',' or '; 'before' {'token

After apt-get install libxpm-dev is installed

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'pc'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'tgetflag'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'tgetent'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'up'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'puts'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'tgoto'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'tgetnum'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'bc'

/Home/andy/skyeye-1.3.0_rc1/common/. libs/libcommon. so: undefined reference to 'tgetstr'

Collect2: ld returned 1 exit status

Make [2]: *** [skyeye] Error 1

Make [2]: Leaving directory '/home/andy/skyeye-1.3.0_rc1'

Make [1]: *** [all-recursive] Error 1

Make [1]: Leaving directory '/home/andy/skyeye-1.3.0_rc1'

Make: *** [all] Error 2

According to region,

It is mainly because the termcap library file is missing and sudo apt-get install libncurses5-dev installation is executed in the terminal

7. sudo make install

Add sudo here because you need to write files to a directory, so you need the Administrator account

8. sudo make install_lib

OK

At this time, the following directory exists under/opt/skyeye /.

Bin conf include info lib testsuite

The binary program of skyeye is stored in the bin directory.

Mknandflashdump: used to create nandflash image files

Skyeye: skyeye command line Application

Skyeye-gui: skyeye graphics application

Uart_instance: The application called by skyeye. The function is to display serial output through an xterm terminal.

The conf directory stores some configuration files for supported target boards.

The include directory stores the header files used by the skyeye plug-in.

Info directory stores info-Format documents

The Lib directory stores the core library libcommon. so of skyeye and Other plug-ins with Dynamic Inventory.

The testsuite directory stores a simple test case.

9. skyeye

There is a directory arm_hello under/opt/skyeye/testsuite.

Skyeye? E vmlinux? C skyeye. conf start arm-linux

You can also copy skyeye under bin to/usr/bin, so that you can skip the directory.

9, start, this command is started, but there is a problem, the prompt that the configuration file skyeye. conf is not configured

In this case, Run "skyeye-> start-> skyeye-e arm_hello" under "/opt/skyeye/testsuite/arm_hello ".

The uart-instance form is displayed,

According to the skyeye user manual, enter run test. run is entered on the ubuntu terminal, not the uart-instance.

At this time, a bunch of helloworld will appear in uart-instance

Success !!!!!!!!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.