09-14-2009 06:13 AM
Hi;
I am developing a LabVIEW binding for Fast Artificial Neural Network (FANN) library using LabVIEW Import Shared Library (.DLL). This library can be found here. My problem is, the wizard cannot convert all functions into corresponding VIs. One of the error is
"FANN_EXTERNAL struct fann *FANN_API fann_create_from_file(const char *configuration_file);
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 predefined symbols. 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").
FANN_DLL_EXPORTS;FIXEDFANN;_INC_WINDOWS;_MSC_EXTENSIONS;_MSC_VER;__GNUC__;__cplusplus;"
Can somebody tell me what is the problem. I am not good in C.
Below I attached the configuration for Import Shared Library(picture) and the source code for FANN Library. I have removed some of the source code which are not related as this forum limit the attachment file size.
Thanks in advance
09-14-2009 06:37 AM
duplicate post:
http://forums.ni.com/ni/board/message?board.id=170&thread.id=440448