[Insight-developers] Compiling ITK 4.3.1 with VS 2008 Express 64bit (and Python buildings)
Matthias Seise
mseise at gmx.de
Mon Feb 25 11:20:17 EST 2013
It seems that the problem was the missing Win32 preprocessor
definition in the cmake configuration. Thus the openjpeg library
assumed a linux system... (It uses a lot of preprocessor code in
opj_malloc.h to determine the OS)
Since building takes a while I can tell you the result tomorrow.
Matthias
On 25 February 2013 07:44, Matthias Seise <mseise at gmx.de> wrote:
> Hi Brad,
>
> I got the release branch and it's still the same problem...
>
> Matthias
>
> On 24 February 2013 20:28, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
>> Hello,
>>
>> I don't specifically know which patch may have addressed this issue.
>>
>> There will likely be a 4.3.2 patch release in the coming months. The "release" branch in the git repository contains the current patches that would be in the patch release. It would be great if you could check this out, and let us know if it will build for your configuration.
>>
>> Thanks,
>> Brad
>>
>> On Feb 23, 2013, at 9:15 AM, Matthias Seise <mseise at gmail.com> wrote:
>>
>>> 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
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://kitware.com/products/protraining.php
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-developers
>>
More information about the Insight-developers
mailing list