SDK + x64
Posted: 15 February 2010 08:05 AM   [ Ignore ]
New Member
Rank
Total Posts:  5
Joined  2010-01-29

I try to compile your SDK samples in VS2008 with X64 but I think the CLEyeMulticam.lib is not 64bit compatibly
It is possible to get a x64 lib?

Profile
 
 
Posted: 15 February 2010 05:20 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17
Thomas - 15 February 2010 08:05 AM

I try to compile your SDK samples in VS2008 with X64 but I think the CLEyeMulticam.lib is not 64bit compatibly
It is possible to get a x64 lib?

The CLEyeMulticam.dll is 32-bit and you should compile the samples via included .sln files. Why are you compiling it as x64? What are the benefits of having it run as x64 process?

Profile
 
 
Posted: 16 February 2010 12:08 AM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  5
Joined  2010-01-29

The benefit to use it in a x64 openCL process is you are able to use more than 4GB Ram.

Profile
 
 
Posted: 17 February 2010 02:11 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17
Thomas - 16 February 2010 12:08 AM

The benefit to use it in a x64 openCL process is you are able to use more than 4GB Ram.

Thomas, thanks for suggestion, we will consider this in the future release of the SDK.

Profile
 
 
Posted: 17 February 2010 02:25 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  585
Joined  2009-09-17
Thomas - 15 February 2010 08:05 AM

I try to compile your SDK samples in VS2008 with X64 but I think the CLEyeMulticam.lib is not 64bit compatibly
It is possible to get a x64 lib?

Another way of doing this is by dynamically loading the functions from CLEyeMulticam.dll in your x64 process by using LoadLibrary and GetProcAddress Windows API.

Something like this:

// Your x64 process

// define function type
typedef int (__clecl *tCLEyeGetCameraCount)();
typedef GUID (__clecl *tCLEyeGetCameraUUID)(int);

// load CLEyeMulticam.dll
HMODULE hDLLLoadLibrary("CLEyeMulticam");

// get the CLEyeGetCameraCount function address
tCLEyeGetCameraCount pCLEyeGetCameraCount = (tCLEyeGetCameraCount)GetProcAddress(hDLL"CLEyeGetCameraCount");
// get the CLEyeGetCameraUUID function address
tCLEyeGetCameraUUID pCLEyeGetCameraUUID = (tCLEyeGetCameraUUID)GetProcAddress(hDLL"CLEyeGetCameraUUID");

// call CLEyeGetCameraCount
int camCount pCLEyeGetCameraCount(); 

Hope this helps.

Profile
 
 
Posted: 17 February 2010 02:05 PM   [ Ignore ]   [ # 5 ]
Jr. Member
RankRank
Total Posts:  47
Joined  2010-02-15

Thanks for the info on how to get this running. I am working with a 64 bit OpenCL process as well.

Profile
 
 
Posted: 21 July 2010 08:10 AM   [ Ignore ]   [ # 6 ]
New Member
Rank
Total Posts:  1
Joined  2010-02-12

That won’t work. There’s no way to load a 32-bit module into a 64-bit process space. So the loadLibrary call will already return NULL trying to load a 32-bit library.

So besides e.g. using COM for IPC and a delegate 32-bit process there is no way to access the CL-Eye SDK within a 64 bit setup.

Are there any plans on providing a 64-bit SDK?
That would be so great and would make us sure customers of the platform…

Cheers,
Nils

Profile
 
 
Posted: 22 September 2010 09:10 AM   [ Ignore ]   [ # 7 ]
New Member
Rank
Total Posts:  3
Joined  2010-05-02

Just cross-linking this topic to a similar thread: http://codelaboratories.com/forums/viewthread/281/

Profile
 
 
 
 


RSS 2.0     Atom Feed