User Tools

Site Tools

한국어

comfilepi:create_a_linux_project:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
comfilepi:create_a_linux_project:index [2023/01/25 15:15]
COMFILE Technology
comfilepi:create_a_linux_project:index [2023/03/13 13:27] (current)
COMFILE Technology [Specify the Library Depenencies in the Project's Properties]
Line 4: Line 4:
  
 This method can be used for much more than console applications,​ including Qt, GTK+, and even OpenGL to name a few.  The demonstration that follows illustrates that development process for very simple GTK+ GUI application. This method can be used for much more than console applications,​ including Qt, GTK+, and even OpenGL to name a few.  The demonstration that follows illustrates that development process for very simple GTK+ GUI application.
 +
 +To utilize this example, please be sure to install the GTK development tooling to the ComfilePi panel PC using the command ''​sudo apt install libgtk-3-dev''​.
  
 {{:​comfilepi:​create_a_linux_project:​helloworld.zip|Download the source code}} for this demonstration. {{:​comfilepi:​create_a_linux_project:​helloworld.zip|Download the source code}} for this demonstration.
Line 74: Line 76:
 Those library dependencies can be obtained by running <​html><​code>​pkg-config --libs gtk+-3.0</​code></​html>​ on the ComfilePi. Those library dependencies can be obtained by running <​html><​code>​pkg-config --libs gtk+-3.0</​code></​html>​ on the ComfilePi.
  
 +If you encounter any Intellisense errors, try synchronizing Visual Studio'​s copy of the ComfilePi'​s header files in //​Tools-->​Options-->​Cross Platform-->​Connection Manager-->​Remote Headers Intellisense Manager// by selecting the appropriate connection and pressing the //​Download//​ or //Update// button.
  
 +{{ :​comfilepi:​create_a_linux_project:​intellisense.png }}
 ===== Deploy, Build, and Degug ===== ===== Deploy, Build, and Degug =====
  
Line 86: Line 90:
   * [[https://​www.gtk.org/​docs/​|GTK Documentation]]   * [[https://​www.gtk.org/​docs/​|GTK Documentation]]
   * Install GTK examples with `sudo apt install gtk-3-examples`. ​ The examples will be installed to ///​usr/​share/​doc/​gtk-3-examples/​examples//​   * Install GTK examples with `sudo apt install gtk-3-examples`. ​ The examples will be installed to ///​usr/​share/​doc/​gtk-3-examples/​examples//​
-  * Use the [[https://​glade.gnome.org/​|Glade]] to create a GUI using a WYSIWYG designer+  * Use the [[https://​glade.gnome.org/​|Glade]] ​on a Linux PC to create a GUI using a WYSIWYG designer. \\ {{ :​comfilepi:​create_a_linux_project:​glade-main-page.png }}
  
comfilepi/create_a_linux_project/index.1674627312.txt.gz · Last modified: 2023/01/25 15:15 by COMFILE Technology