wiki:Docs/825gen2/Dev/825Gen2SimProjectReference

Version 3 (modified by Don Wilson, 5 hours ago) ( diff )

--

Simulator Project Settings Reference

Debug-ARM825-SIM build configuration

Compiler and Linker

If the properties sheet has "Cross Settings" section set:

Prefix: <blank>

Tool SettingsCommand
Cross G++ Compilerg++
Cross GCC Compiler 1gcc
Cross G++ Linkerg++
Cross GCC Assembler 1as

1 "Cross GCC Compiler" and "Cross GCC Assembler" items may not be present in all projects.

If the properties sheet does not have "Cross Settings" section:

Tool SettingsCommand
GCC C++ Compilerg++
GCC C Compiler 1gcc
GCC C++ Linkerg++
GCC Assembler 1as

1 "GCC C Compiler" and "GCC Assembler" items may not be present in all projects.

Preprocessor

Defined symbolsDescription
DEBUG
ARM64=1
SIM825=1

Includes

IncludesDescription
"${workspace_loc:/lib825ev/inc}" 1Main 825 library
"${workspace_loc:/lib825lang/inc}" 2825 Multi language
"${workspace_loc:/lib825sql/inc}" 3825 SQLite
"${workspace_loc:/lib825db/inc}" 4825 SQLite/MySQL
/usr/include/freetype2
/usr/include/pixman-1/
/usr/include/gstreamer-1.0/
/usr/include/glib-2.0/
/usr/lib64/glib-2.0/include
/usr/include/cairo
/usr/include/mysql

1 Older apps may use 825 instead of 825ev. In this case change the include to: "${workspace_loc:/lib825/inc}"

2 825lang is used for newer 825 Gen2 apps. This is not needed for recompile of Legacy 825 apps.

3 Older recompiled apps may instead use sql3_7_9. To use sql3_7_9 library change include path "${workspace_loc:/libsql3_7_9/inc}".

4 For newer apps lib825db may be used instead of lib825sql to allow for SQLite and MySQL database support.

Libraries

LibraryDescription
825ev 1Main 825 library
825lang 2825 Multi language
825sql 3825 SQLite
825db 4825 SQLite/MySQL
sqlite3 3 or 4825 SQLite
mysqlclient 4MySQL client
${UI_LIBS}
${CAIRO_SIM_LIBS}
${GLIB_LIBS}
${PRT_SIM_LIBS} 5(PRT_SIM_LIBS new 2025-03-05)
curl 6libcurl
gstreamer-1.0 7gstreamer library

1 Older apps may use 825 instead of 825ev.

2 825lang is used for newer 825 Gen2 apps. This is not needed for recompile of Legacy 825 apps.

3 For newer apps it is preferred to use 825sql and sqlite3 for dynamically linked SQLite shared object that is already on 825 Gen2. Older recompiled apps may instead use sql3_7_9 which is statically linked.

4 For even newer apps to allow support for SQLite and MySQL use 825db, sqlite3, and mysqlclient. Some code changes are needed.

5 If VM is not updated to have PRT_SIM_LIBS environment variable instead use individual lines: cups, json-c, esmtp, ssl, crypto

6 Include curl if the app retrieves images from IP cameras or data from the internet using libcurl.

7 Include gstreamer-1.0 if the app displays images or video, or captures images or video from USB webcams using the gstreamer library.


Library search path
${workspace_loc:/lib825ev/Debug-ARM825-SIM} 1
${workspace_loc:/lib825lang/Debug-ARM825-SIM} 2
${workspace_loc:/lib825sql/Debug-ARM825-SIM} 3
${workspace_loc:/lib825db/Debug-ARM825-SIM} 4

1 If the older lib825 is used change search path to "${workspace_loc:/lib825/Debug-ARM825-SIM}".

2 The lib825lang search path is not needed if not using lib825lang.

3 If sql3_7_9 library is used change search path to "${workspace_loc:/libsql3_7_9/Debug-ARM825-SIM}".

4 If 825db library is used set this search path instead of the lib825sql search path.

See Also

The 825 Gen2 Project Reference provides helpful information to get 825 Gen2 app simulation up and running quickly.

Note: See TracWiki for help on using the wiki.