Error "not a symbol in the load table" when calling a C function.
book
Article ID: KB0080751
calendar_today
Updated On:
Products
Versions
Spotfire S+
All supported versions
Description
Customer gets the error Message:
Problem in .C("byindexv",: "byindexv" is not a symbol in the load table), while calling subroutine byindexv.
Issue/Introduction
Error "not a symbol in the load table" when calling a C function.
Environment
Product: TIBCO Spotfire S+
Version: All supported versions
OS: Windows
--------------------
Resolution
This error message indicates that the C code is not loaded in the S+ session. The .dll that was created needs to be loaded into the S+ session in order to resolve this error message. The following is information from the Application Developer's Guide:
The next step is load the S.dll into Spotfire S+, and there are several ways to load it. After starting Spotfire S+, you can do the following:
• Explicitly load the S.dll with the dyn.open function: dyn.open(“__path__to__ar__/ar/S.dll”)
• or declare the ar project directory a Spotfire S+ chapter and attach it: Open the dialog from File -> Chapters -> Attach/Create Chapter and then use the Browse button to navigate to your ar project directory. Click the OK button, which creates a .Data subdirectory in ar, attach the directory, and load the S.dll into Spotfire S+.
In some cases, a .dll could be located in a user-created library and attaching that library will allow the code to run.