ROBOTIS-GIT / DynamixelSDK

ROBOTIS Dynamixel SDK (Protocol1.0/2.0)
http://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_sdk/overview/
Apache License 2.0
464 stars 410 forks source link

LabVIEW SDK library not building correctly #623

Open Rory-Power opened 6 months ago

Rory-Power commented 6 months ago

ISSUE TEMPLATE ver. 1.2.0

Please fill this template for more accurate and prompt support.

  1. Which DYNAMIXEL SDK version do you use?

    • ex) 3.7.31
  2. Which programming language/tool do you use? LabVIEW (2021, 64-bit)

  3. Which operating system do you use? Windows 10

  4. Which USB serial converter do you use? U2D2

  5. Which DYNAMIXEL do you use? AX-12W

  6. Have you searched the issue from the closed issue threads?

Yes

  1. Please describe the issue in detail

I am trying to build the library in LabVIEW following the instructions provided. Unfortunately only a subset of the functions can be wrapped (see attached screenshot) Capture

I can take the library creation to completion but given that many functions are not implemented in LabVIEW, I cannot run the example VIs. LabVIEW gives the following error for the functions that fail to import.

"The function cannot be imported into LabVIEW. This might be caused by one of the following problems:

The function is not declared in the header file but is exported in the library.

Check the header file to make sure it contains declarations of the function.

Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = stdcall" or "NIAPIDefined = 1"). WINDLLEXPORT;_MSC_VER;APPLE;GNUC;linux__;

The following header file was not found in the specified header file or one of the referenced header files:

To fix, click the Back button to go to the previous page and add the header file path to the Include Paths list."

  1. How can we reproduce the issue?

Try to build the SDK library in LabVIEW (I am using LabVIEW 2021, 64-bit version)

Thanks in advance for your help!