help > RE: Overwrite libtiff in Matlab to run IO toolbox
Aug 9, 2011  12:08 PM | Hanchuan Peng
RE: Overwrite libtiff in Matlab to run IO toolbox
on Windows you can use mingw or some other compilers.

mingw itself is 32bit, we have not tested any 64bit mingw variants so far.

why not simply use Matlab on a Linux or Mac system? since we don't release BrainAligner for Windows, and you could produce the displacement files, it seems you do have such OSs.

-hanchuan

Originally posted by Thomas Templier:
Hello,

I'd like also to use the V3D IO toolbox and have the libtiff problem (windows 7)

I get the message when compiling the mex files :
>> makeosmex_rawfile_io
loadRaw2Stack_c.cpp
loadRaw2Stack_c.cpp(20) : fatal error C1083: Cannot open include file: 'strings.h': No such file or directory
 
  C:\PROGRA~1\MATLAB\R2010B\BIN\MEX.PL: Error: Compile of 'loadRaw2Stack_c.cpp' failed.
 
??? Error using ==> mex at 208
Unable to complete successfully.

Error in ==> makeosmex_rawfile_io at 8
mex loadRaw2Stack_c.cpp mg_image_lib.cpp mg_utilities.cpp -ltiff

The libtiff version I have is :
>> versionString = Tiff.getVersion()

versionString =

LIBTIFF, Version 3.7.1
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.

So I've downloaded the 3.8.2 from sourceforge and installed it. http://sourceforge.net/projects/gnuwin32...

In my matlab/bin/ I have the file libtiff.dll  (so no libtiff.3.dylib)
In the libtiff I've just installed I have libtiff3.dll

I've tried to remove the old and replace with the old : no success.
I've tried to remove the old and set the path of matlab to the new one : no success.

Could someone tell me what I should do ?  (I have read the explanation but I have no experience with symbolic links on windows, but there is another way with setting the path in matlab)

Thank You
Best Regards
Thomas

Threaded View

TitleAuthorDate
Fernando Amat Jul 16, 2010
Hanchuan Peng Jul 17, 2010
John Roberts May 24, 2012
Thomas Templier Aug 9, 2011
RE: Overwrite libtiff in Matlab to run IO toolbox
Hanchuan Peng Aug 9, 2011
Thomas Templier Aug 9, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 11, 2011