Configure the Eon SDK in vc6.0

Source: Internet
Author: User

The configuration of vc6.0 and Eon SDK on the network is almost zero. This is my own experience ......

The configuration of VC and Eon sdks is similar to that of other sdks (such as opencv.

First, install vc6.0 and then the Eon SDK. This sequence cannot be changed. Otherwise, it fails!

Then, start vc6.0 and click "new". For example, two new wizards, Eon Moudle wizard and Eon node wizard, will appear.

 

If two new wizards are displayed, you have installed the Eon SDK, And the configuration is followed.

Configuration method: (assume that the Eon SDK installation directory is c: \ Program Files \ Eon reality \ Eon SDK)

Tool --- option --- directory

Select 'executable file' and add c: \ Program Files \ Eon reality \ Eon SDK \ development files \ executable

Select 'include files' and add c: \ Program Files \ Eon reality \ Eon SDK \ development files \ include.

Select 'library files' and add c: \ Program Files \ Eon reality \ Eon SDK \ development files \ Lib.

The preceding configuration is permanent and does not need to be configured every time you create a project.

 

Finally, how to use two Wizard:

Run Eon Moudle wizard first, select it, enter the project name, and click "OK". A lot of files will be generated like MFC.CodeAnd directly run. Eon automatically embeds its own code into the VC framework.

First, compile and click "run". A debugging dialog box for selecting the executable file name appears. At this time, select an executable file. For testing, click the arrow in the dialog box and select ActiveX control test container. An interface is displayed. You can also select default web browser.

 

After the project is successfully created, close the project and re-open it to compile and pass.

 

 

Choose Eon node wizard and click OK. The following

 

InIn the "Eon node attribute settings" dialog box, you can set the name of the node to be created and the node group to be created. In the methods section, set some special feature attributes for the Eon node. These features are not required by the Eon node. If you select these attributes, the system will createSource codeThe framework will add the corresponding code.

(1) Update.If this option is selected, data is refreshed once every frame of the node during system operation.The SDK will add the update () function in the generated source code framework and be called in the rendering of each frame in the scenario.

(2) issensor.Set sensor properties. When this attribute is selected, the system regards the node as a sensor, allowing the node to receive an inbound event(Eventout ).

(3) eventsprocessed.This function is executed at each frame of the system when an incoming event is received.

(4) serialize.It is used for saving and reading node data types.

After setting the node property parameters, select OK,The Eon SDK will automatically generateProgramFramework code, directly add code to the program framework, you can create nodes according to user requirements.

After the project is created, close the project and open it again.

Compile the project,VC automatically registers for the node. HKEY_LOCAL_MACHINE-> Software->

Eon reality-> Eon-> 6.0-> popup-> agent to find the new node.

 

OK. The basic usage is described here first. Next, we will introduce how to use the SDK.

 

Good luck ---------------- Yaung

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.