Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LabVIEW SDK library not building correctly #623

Open
Rory-Power opened this issue May 3, 2024 · 0 comments
Open

LabVIEW SDK library not building correctly #623

Rory-Power opened this issue May 3, 2024 · 0 comments

Comments

@Rory-Power
Copy link

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
  1. Which programming language/tool do you use?
    LabVIEW (2021, 64-bit)

  2. Which operating system do you use?
    Windows 10

  3. Which USB serial converter do you use?
    U2D2

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

  5. 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:

  • stdio.h
  • stdint.h

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant