Processing under XP
Posted: 26 March 2010 05:46 AM   [ Ignore ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

If have a problem with the SDK running under XP and using Processing.
My SDK on Vista runs fine and I am happy, thnx a lot.
I installed the newest release of the driver and the SDK on my XP-laptop and I cant get the
processing example to run (The CLEey Test and all other .exe from the bin folder run).

When I try to run the processing example, I get an unsatisfied linkError: cl.eye.CLCamera.CLEyeGetCameraCount()
The processing outputWindow says: Could not find CLEYMulticam.dll (2 times).
If I use CLCamera.loadLibrary I get in addition: Could not find the CLEyeMulticam.dll (Custom path).

What can I do ?

Profile
 
 
Posted: 27 March 2010 12:28 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17

What is your system drive letter? Is it ‘C’?
In general you will get this error when Processing is unable to find the CLEyeMulticam.dll file. Try copying it to your Windows\system32 directory.

Profile
 
 
Posted: 27 March 2010 09:05 AM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

yes, system drive letter is C.
I copied CLEyeMulticam.dll to C:\WINDOWS\system32(and to several other places) : No change
Anything else I can do ?

Profile
 
 
Posted: 27 March 2010 09:21 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17
knutl - 27 March 2010 09:05 AM

yes, system drive letter is C.
I copied CLEyeMulticam.dll to C:\WINDOWS\system32(and to several other places) : No change
Anything else I can do ?

If your drive is C, it should just work. Did you copy the CLEyeMulticam folder in “C:\Program Files\Code Laboratories\CL-Eye Platform SDK\Samples\CLEyeMulticam\Java” to your processing “Libraries” folder?

Profile
 
 
Posted: 27 March 2010 09:36 AM   [ Ignore ]   [ # 4 ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

yes, I did that.
My Processing/libraries Folder has a cleyemulticam folder with everything from the Java folder in it.
Of course especially the library folder, that holds the cleyemulticam.jar file.
I now did the copy once again, just to make sure…but no change again.
I have no idea, whats wrong. As I sayed: Everything works fine on my Vista desktop.

Profile
 
 
Posted: 28 March 2010 05:36 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17
knutl - 27 March 2010 09:36 AM

yes, I did that.
My Processing/libraries Folder has a cleyemulticam folder with everything from the Java folder in it.
Of course especially the library folder, that holds the cleyemulticam.jar file.
I now did the copy once again, just to make sure…but no change again.
I have no idea, whats wrong. As I sayed: Everything works fine on my Vista desktop.

I would start by comparing what is different between your Vista and XP machine. We have tested processing examples with Multicam API on all three (XP, Vista, W7) OSs and it all works fine here.

Profile
 
 
Posted: 28 March 2010 09:40 PM   [ Ignore ]   [ # 6 ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

I installed everything now on a second xp machine, a desktop. There again: Everything works fine.
I re-installed everything on my xp-laptop again: Same negative result - dll not found.
Now I have no more ideas, what I can do on my XP laptop - I give up.
Thnx for your help.

Profile
 
 
Posted: 10 April 2010 01:20 AM   [ Ignore ]   [ # 7 ]
New Member
Rank
Total Posts:  23
Joined  2010-03-20

i have the same problem but with Windows7 64bit on a laptop.

The library is in processing libraries folder.
i’ve looked in the java code and it tries to find the DLL from
  private static String dllpathx32 = “C://Program Files//Code Laboratories//CL-Eye Platform SDK//Bin//CLEyeMulticam.dll”;
  private static String dllpathx64 = “C://Program Files (x86)//Code Laboratories//CL-Eye Platform SDK//Bin//CLEyeMulticam.dll”;
where i have installed CL SDK.

i have the copied the DLL to processing’s root folder, to the library’s folder, to a code folder inside the project’s folder.
basically i ‘ve tried it everywhere where processing would find it but it just does not work


i’ve tried re-compiling the java library and changing the dll path, even adding a new string with no path.. No luck!
it crashes on the first line it tries to use CLCamera.


any ideas?

Profile
 
 
Posted: 10 April 2010 02:31 AM   [ Ignore ]   [ # 8 ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

So I was wrong: It is NOT an XP issue, it also happens with Windows 7.
Basically I did everything you tried, except I did not re-compile the java lib.
Probably it would be better if you open up a new thread, because this one
is a misleading XP thread.

Profile
 
 
Posted: 10 April 2010 02:46 AM   [ Ignore ]   [ # 9 ]
New Member
Rank
Total Posts:  23
Joined  2010-03-20

honestly i don’t know what could it possibly be. its really weird.
I took your advice and made a new post. Hopefully we’ll find a solution for this.

Since the paths are fine and i’ve placed the dll file everywhere where it could be found i’m not sure the System.load from java is working. or maybe the dll file is in someway “strange” to it ??
long shot but it’s the only idea i can think of atm.

Profile
 
 
Posted: 10 April 2010 03:09 AM   [ Ignore ]   [ # 10 ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

I also have NO idea. And strange enough: I installed the SDK now on several PCs (2 with XP and one with Vista) and
it works on 2 of those perfect (the Vista and one XP). But I cant get it to work on the third one.

Lets see, if AlexP has solution.

Profile
 
 
Posted: 10 April 2010 03:30 AM   [ Ignore ]   [ # 11 ]
New Member
Rank
Total Posts:  23
Joined  2010-03-20

I have done a few tests but still had no luck

check the new thread: http://codelaboratories.com/forums/viewthread/223/

i know the dll file is found. that message telling you it wasn’t found is wrong.
i also get invalid memory access. there is something wrong with the dll file.. i hope thats it

Profile
 
 
Posted: 10 April 2010 03:59 AM   [ Ignore ]   [ # 12 ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

thnx for your work !! Looks as if this could point into the right direction.

Profile
 
 
Posted: 25 May 2010 11:32 AM   [ Ignore ]   [ # 13 ]
New Member
Rank
Total Posts:  23
Joined  2010-03-20

Alex, Have you checked the problem presented in this thread?
I’m still having the same problem.

the processing project crashes when trying to access the DLL.

As anyone else using Windows7 64bit been having this problem or got it working just fine ?

cheers,

Profile
 
 
Posted: 25 May 2010 11:35 PM   [ Ignore ]   [ # 14 ]
New Member
Rank
Total Posts:  23
Joined  2010-01-06

I am also having the problem still with XP and hope for ... something

Profile
 
 
Posted: 28 June 2010 11:59 PM   [ Ignore ]   [ # 15 ]
New Member
Rank
Total Posts:  7
Joined  2010-06-16

Has anyone solved this?

Profile
 
 
1 of 2
1
 


RSS 2.0     Atom Feed