[Insight-developers] Compiling ITK 4.3.1 with VS 2008 Express 64bit (and Python buildings)

Matthias Seise mseise at gmail.com
Sat Feb 23 09:15:11 EST 2013


Hi ITK Developers,

I'll try moving to ITK 4.3 (from 4.2) and get the following Compiler 
errors (Using VS 2008 Express, Win7 64 bit, try to build python bindings 
for 2.7.2 :

Creating library 
C:\Entwicklungsbibliotheken\itk_v43\build\lib\Release\itkTestDriver.lib 
and object 
C:\Entwicklungsbibliotheken\itk_v43\build\lib\Release\itkTestDriver.exp
2>itkopenjpeg-4.3.lib(tcd.obj) : error LNK2019: unresolved external 
symbol posix_memalign referenced in function opj_aligned_malloc
2>itkopenjpeg-4.3.lib(dwt.obj) : error LNK2001: unresolved external 
symbol posix_memalign
2>itkopenjpeg-4.3.lib(t1.obj) : error LNK2001: unresolved external 
symbol posix_memalign
2>C:\Entwicklungsbibliotheken\itk_v43\build\bin\Release\itkTestDriver.exe : 
fatal error LNK1120: 1 unresolved externals

Through Google I found that the same problem occured in CDASH on 9th 
February - but seemes to be resolved.
Any idea how that was done? (If possible I don't want to switch to the 
ITK developer version...)

Thanks,

Matthias


More information about the Insight-developers mailing list