Porting IPD Toolbox to Linux
Harald Galda, Dr. Eng. (J)
haraldgalda at yahoo.com
Thu Mar 10 18:56:41 CET 2011
Dear Antoine,
I suggest the following steps:
1. Two subdirectories should be created inside
IPD/8.0/sci_gateway/cpp/lib/
These directories can be named "Linux32" and "Linux64" for example.
2. The library files of OpenCV 2.1 should be copied to the directories mentioned
above.
3. A function should be called that can tell whether 32 bit Linux or 64 bit
Linux is used in
builder_gateway_cpp.sce
which resides in
IPD/8.0/sci_gateway/cpp/lib/
The function getdebuginfo() might be used for this purpose.
4. The library path should be set to Linux32 or Linux64 (depends on the
architecture) in
builder_gateway.sce
// The code to be modified starts here.
if getos() == 'Windows' then
LibraryPath = '-LIBPATH:""' + CPPGateWayPath + 'lib';
if win64() then
Architecture = 'x64';
else
Architecture = 'x86';
end;
LibraryPath = LibraryPath + filesep() + Architecture +'""';
else
// To do: setting library path for Linux
end;
// The code to be modified ends here.
Best regards
Harald Galda
----- Ursprüngliche Mail ----
Von: Antoine Monmayrant <antoine.monmayrant at laas.fr>
An: users at lists.scilab.org
Gesendet: Mittwoch, den 9. März 2011, 21:57:47 Uhr
Betreff: Re: AW: [scilab-Users] Finding continuous parts in a mask (ie a binary
matrix)
Thank you for your quick reaction.
Any idea of what it would take to port it to 64bit linux?
Antoine
More information about the users
mailing list