| 57 | | **Debug-ARM825-SIM build configuration** |
| 58 | | |
| 59 | | === Compiler and Linker === |
| 60 | | |
| 61 | | If the properties sheet has "Cross Settings" section set: |
| 62 | | |
| 63 | | Prefix: **<blank>** |
| 64 | | |
| 65 | | ||=Tool Settings=||=Command=|| |
| 66 | | ||Cross G++ Compiler||g++|| |
| 67 | | ||Cross GCC Compiler ,,1,,||gcc|| |
| 68 | | ||Cross G++ Linker||g++|| |
| 69 | | ||Cross GCC Assembler ,,1,,||as|| |
| 70 | | |
| 71 | | ,,1,, "Cross GCC Compiler" and "Cross GCC Assembler" items may not be present in all projects. |
| 72 | | |
| 73 | | If the properties sheet does not have "Cross Settings" section: |
| 74 | | |
| 75 | | ||=Tool Settings=||=Command=|| |
| 76 | | ||GCC C++ Compiler||g++|| |
| 77 | | ||GCC C Compiler ,,1,,||gcc|| |
| 78 | | ||GCC C++ Linker||g++|| |
| 79 | | ||GCC Assembler ,,1,,||as|| |
| 80 | | |
| 81 | | ,,1,, "GCC C Compiler" and "GCC Assembler" items may not be present in all projects. |
| 82 | | |
| 83 | | === Preprocessor === |
| 84 | | |
| 85 | | ||=Defined symbols=||=Description=|| |
| 86 | | ||DEBUG|| || |
| 87 | | ||ARM64=1|| || |
| 88 | | ||SIM825=1|| || |
| 89 | | |
| 90 | | === Includes === |
| 91 | | |
| 92 | | ||=Includes=||=Description=|| |
| 93 | | ||"${workspace_loc:/lib825ev/inc}" ,,1,,||Main 825 library|| |
| 94 | | ||"${workspace_loc:/lib825lang/inc}" ,,2,,||825 Multi language|| |
| 95 | | ||"${workspace_loc:/lib825sql/inc}" ,,3,,||825 SQLite|| |
| 96 | | ||"${workspace_loc:/lib825db/inc}" ,,4,,||825 SQLite/MySQL|| |
| 97 | | ||/usr/include/freetype2|| || |
| 98 | | ||/usr/include/pixman-1/|| || |
| 99 | | ||/usr/include/gstreamer-1.0/|| || |
| 100 | | ||/usr/include/glib-2.0/|| || |
| 101 | | ||/usr/lib64/glib-2.0/include|| || |
| 102 | | ||/usr/include/cairo|| || |
| 103 | | ||/usr/include/mysql|| || |
| 104 | | |
| 105 | | ,,1,, Older apps may use //825// instead of //825ev//. In this case change the include to: "${workspace_loc:/lib825/inc}" |
| 106 | | |
| 107 | | ,,2,, //825lang// is used for newer 825 Gen2 apps. This is not needed for recompile of Legacy 825 apps. |
| 108 | | |
| 109 | | ,,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}". |
| 110 | | |
| 111 | | ,,4,, For newer apps //lib825db// may be used instead of //lib825sql// to allow for SQLite and MySQL database support. |
| 112 | | |
| 113 | | === Libraries === |
| 114 | | |
| 115 | | ||=Library=||=Description=|| |
| 116 | | ||825ev ,,1,,||Main 825 library|| |
| 117 | | ||825lang ,,2,,||825 Multi language|| |
| 118 | | ||825sql ,,3,,||825 SQLite|| |
| 119 | | ||825db ,,4,,||825 SQLite/MySQL|| |
| 120 | | ||sqlite3 ,,3 or 4,,||825 SQLite|| |
| 121 | | ||mysqlclient ,,4,,||MySQL client|| |
| 122 | | ||${UI_LIBS}|| || |
| 123 | | ||${CAIRO_SIM_LIBS}|| || |
| 124 | | ||${GLIB_LIBS}|| || |
| 125 | | ||${PRT_SIM_LIBS} ,,5,,||(PRT_SIM_LIBS new 2025-03-05)|| |
| 126 | | ||curl ,,6,,||libcurl|| |
| 127 | | ||gstreamer-1.0 ,,7,,||gstreamer library|| |
| 128 | | |
| 129 | | ,,1,, Older apps may use //825// instead of //825ev//. |
| 130 | | |
| 131 | | ,,2,, //825lang// is used for newer 825 Gen2 apps. This is not needed for recompile of Legacy 825 apps. |
| 132 | | |
| 133 | | ,,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. |
| 134 | | |
| 135 | | ,,4,, For even newer apps to allow support for SQLite and MySQL use //825db//, //sqlite3//, and //mysqlclient//. Some code changes are needed. |
| 136 | | |
| 137 | | ,,5,, If VM is not updated to have PRT_SIM_LIBS environment variable instead use individual lines: cups, json-c, esmtp, ssl, crypto |
| 138 | | |
| 139 | | ,,6,, Include //curl// if the app retrieves images from IP cameras or data from the internet using libcurl. |
| 140 | | |
| 141 | | ,,7,, Include //gstreamer-1.0// if the app displays images or video, or captures images or video from USB webcams using the //gstreamer// library. |
| 142 | | |
| 143 | | [[br]] |
| 144 | | |
| 145 | | ||=Library search path=|| |
| 146 | | ||${workspace_loc:/lib825ev/Debug-ARM825-SIM} ,,1,,|| |
| 147 | | ||${workspace_loc:/lib825lang/Debug-ARM825-SIM} ,,2,,|| |
| 148 | | ||${workspace_loc:/lib825sql/Debug-ARM825-SIM} ,,3,,|| |
| 149 | | ||${workspace_loc:/lib825db/Debug-ARM825-SIM} ,,4,,|| |
| 150 | | |
| 151 | | ,,1,, If the older //lib825// is used change search path to "${workspace_loc:/lib825/Debug-ARM825-SIM}". |
| 152 | | |
| 153 | | ,,2,, The //lib825lang// search path is not needed if not using //lib825lang//. |
| 154 | | |
| 155 | | ,,3,, If //sql3_7_9// library is used change search path to "${workspace_loc:/libsql3_7_9/Debug-ARM825-SIM}". |
| 156 | | |
| 157 | | ,,4,, If //825db// library is used set this search path instead of the lib825sql search path. |
| | 57 | The [wiki:825Gen2SimProjectReference 825 Gen2 Simulator Project Reference] provides helpful information to get 825 Gen2 app simulation up and running quickly. |