Thoroughly solve the problem of Kylix3 installation use under RedHat8 (installation, font display, BCB compilation)

zhaozj2021-02-17  62

Since the launch of Kylix3, since its good operating interface and the development of BCB and Delphi have been loved by many Linux developers (especially from Windows Turning to Linux). However, according to Borland's official announcement, Kylix3 cannot support RedHat 8, which is undoubtedly a little lost, but huh, huh, it is always :)

There are three in redhat 8 to install Kylix, we will solve them one by one:

1. First, it is a problem with installation;

In Redhat 8, install Kylix3 as root is probably the problem that is most often asked. About this problem, there are many answers on the Internet, and the answers have the following:

A, use -m parameters;

B. Install in other users of non-root.

2, then, after the installation is complete, start the BCB or the display problem of font when Delphi;

It is easy to install Kylix, open the BCB or Delphi, and the result! ! % ^ $ # ^% $ ^, What is going on, the interface is seventeen, and it will not be clear, and the expectations that ignite will become disappointed. Don't worry, the mountain people have a good trick, in fact, it is very simple, as follows:

Modify the StartBCB and StartDelph files, where you join two lines:

Lc_all = "en_us"

LANG = "zh_cn.gb2312"

Then re-run StartBCB and StartDelphi, huh, isn't it? :)

3. Problems when compiling programs in BCB;

Since there is everything OK, we will write a small program to try it ... The program is finished, and you will try it to try "Compile". Well, God, there are so many inexplicable mistakes! ! Do we have a hard work? ? Don't worry, this problem is still a way to solve :) The previous event 9CBS has an article introduces how to solve this problem, the specific method is to replace four questions. But what I introduced today is more simple, more perfect :)

The solution is as follows:

In the setting of the BCB, modify the incrude path and the LIB path, place the / usr / include and / usr / lib to the front of the include path and the LIB path:

Include path:

/ usr / include: (other path)

LIB path:

/ usr / lib: (other path)

It's so simple, now I really all OK, enjoy your Kylix!

PS, a simple article in front, only explains the BCB compilation problem, now it is a full Raiders, you don't want me to say :)

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

New Post(0)