Product: TIBCO Spotfire®
Error "not a symbol in the load table" when calling a C function.
Customer gets the error Message:
Problem in .C("byindexv",: "byindexv" is not a symbol in the load table), while calling subroutine byindexv.
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:
• 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.