Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use WindML in RTP in UGL

Shulou Source: shulou.com Published: 2022-06-01 09:44:45 09月26日 Update

This article mainly introduces how to use WindML in RTP in UGL. It is very detailed and has certain reference value. Friends who are interested must finish reading it.

If you want to use WindML, you need to compile the source code into a library. The kernel mode is compiled with DKM, and the user mode is compiled with RTP.

Open Workbench and create a RTP:

Give it a name and choose the appropriate build spec. In the Windows system, the build spec of Simulator uses SIMPENTIUMxxx_RTP,xxx as the compiler, so it is no problem to choose gnu or diab. In addition, partners who like to study the code can use the default Debug Mode.

Other options, just use default values.

Then create a new Middleware Component

Select the appropriate Middleware. As you can see, this is also done if you want to compile other Middleware, such as DCOM, OPC, and so on.

After the RTP is created, Workbench automatically opens the Configuration page of WindML-config.windml

Now you can use WindML in RTP. Build a VIP first.

Open the Kernel Configuration of VIP and add components INCLUDE_WINDML, INCLUDE_HOST_WINDML_GRAPHICS, and INCLUDE_RTP

Build this VIP, start Simulator Connection, and try an example, such as winBall () or ugldemo ()

After adding the code for WindML, you can execute the UGL application in RTP

The above is all the contents of the article "how to use WindML in RTP in UGL". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Compile select fit code content guys buddies articles values examples interests kernels names namely more source code users knowledge systems components Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux macOS Shulou Technology Huawei vpn