Glade compilation process

zhaozj2021-02-16  54

Glade compilation

Glade I always want to speak her as "VB" under Linux, I really have a good program. Unfortunately, I have never used her experience through the program. Until yesterday, I successfully compiled. Now, write this process and share it. The steps are as follows: 1. Start GLADE-2 (of course, it is the latest version. This is not said, there is a Chinese interface) draw a graphical interface. Save it after the event of proper control, suppose our save path is: Project / Project1. Click the button "Build". This will generate a file we need to be compiled. Exit GLADE-2. Second, compile. Use the terminal to enter the Project / Project1 directory. Run ./autogen.sh This can generate the configure file, run ./configure Generate makefile Next Make Check Check it. Make INSTALL This is forcibly abort if an error error occurs. Even if it is successful. Enter the src directory and see a green file. It is the ELF file we generated. ./program_name is OK. Of course, the current program does not have a point, there is only one interface. Because no things are added to the callback function. It is the src / callbacks.c file. In the SRC directory, you can modify two files. Callbacks.c and main.c These are not moved, which will affect the operation of Glade. Sometimes Glade will override your modified files. Finally, I wish you good luck.

转载请注明原文地址:https://www.9cbs.com/read-26376.html

New Post(0)