When I'm trying to launch the "XAM Store Content Sample" (java version) from Eclipse, I've got the following error:
"XAM Error occured: xam/vim not found(1011)". As the error speaks for itself, the vim module is not found.
I have already set the environement variable "XAM_VIM_PATH" to the path were the VIM module is located (in my case: "C:\XAM\VIM\lib32").
I try to connect using the url: "snia-xam://centera_vim!184.108.40.206?C:\\XAM\\PEA\\us3armTest1_rdqeDcwh.pea".
Am I doing something wrong ?
Solved! Go to Solution.
If I put the libraries in the windwos System32 directory, it works. But is there a way to not have to do this ?
David - try adding the directory containing the libraries to your Windows PATH env var or your Eclipse project paths.
Regards, Graham L. Stuart
Centera SDK Architect
I'm new in Centera. I'm tryng to run the examples wich I downloaded from the centera. I run centera api examples with no problems, but the xam examples not. I don't know what my mistake. I configured a new project in Eclipse copying the .jars to my lib and configuring my build path and copying the .dlls in the lib32 folder to my system32 directory in windows.
The message is:
XAM Error occured: xam/vim not found(1011)
The xri is:
My OS is:
Windows 7 32 bits
This is likely to be an eclipse configuration issue in terms of loading / locating the required libraries at run / compile time. Note that the XAM SDK is a separate download to the Centera SDK so you need to download them and have distinct environment for both (all there are DLLs with common names to both, they cannot be used interchangeably).
However, you state that you are using Windows 7. This is not supported, so I am afraid I cannot offer any further assistance.
Hi, thanks for the fast reply!
I succeed with Centera API and everthing works in my windows enviroment, but now I try to run examples in Linux inviroment. I downloaded Centera_SDK_Linux-gcc3.3 and when I try to run example, I get this message:
$ /usr/java/jdk1.5.0_13/bin/java -cp ../lib/FPLibrary.jar:. QueryCluster
Exception in thread "main" java.lang.UnsatisfiedLinkError: setLastError
at com.filepool.natives.FPLibraryNative.setLastError(Native Method)
at com.filepool.fplibrary.FPLibraryException.retrieveErrorString(Unknown Source)
at com.filepool.fplibrary.FPLibraryException.<init>(Unknown Source)
at com.filepool.fplibrary.FPPool.RegisterApplication(Unknown Source)
Is this a problem with gcc or any library in Linux?
My problem was a Path configuration for linux libraries. I configured properly $LD_LIBRARY_PATH and now It's works!