|
From: Lukas J M. <luk...@gm...> - 2017-01-11 13:52:37
|
Thanks, I will try mylibsofa first. Appreciate the response! Am 10.01.2017 um 10:05 schrieb Hagen Jaeger: > > Hi Lukas, > > I managed to build it on Windows with the MinGW Compiler. Works like a > charm for reading data. I didn't try writing data, but I think most > things should work. > > The problem is, that you have to link against several libraries. If you > build the .sofa-library on windows, everything seems to work, but the > linking process against the pre-built linux libraries fails. My way to > get things work: > > Download the pre-built HDF5 (with szip and zlib), curl and netcdf > libraries for windows. They're avilable at > hdfgroup.org,unidata.ucar.edu/netcdf and curl.haxx.se/dlwiz/ on the WWW. > Build the NetCDF C++ interface on top of the pre-built hdf5 and netcdf > libraries (works with MinGW and cmake to manage build options / > dependency paths). Change the .sofa-project so that it uses these > libraries and the headers instead of the static GCC libs+headers in the > dependencies folder of the .sofa-project. Build the SOFA-library on top > of these and include all the pre-built binaries in your project (you > need to do so, because these are shared libraries) > > Maybe you have to change some include paths a.s.o., you have to be very > patient to get things to work right. I can provide my project folder, > but I work with QtCreator IDE (+mixed Cmake/Qmake), so I don't know if > it will help or even more confuse you... > > As you mentioned, the workload to get things work is very high. But it > is possible (for testing purposes on top of pre-built binaries). > > I think the best way to only read .sofa-HRIR-files is to give the > mylibsofa reader a chance. Someone posted it a few weeks ago, > unfortunalety, I can't find the link to the repo. Can someone repost > this message, please? If I remember correctly, this project has no or > only one external dependency and is a good candidate to get an easy > build process with minGW / VS compiler. > > Best regards, Hagen > > ------------------------------------------------------------------------ > *Von:* Lukas J Müllner <luk...@gm...> > *Gesendet:* Dienstag, 10. Januar 2017 09:10 > *An:* sof...@li... > *Betreff:* [SOFA-devel] Update on Windows build? > > Dear list, > > is there any update on a Windows build for the C++ API? > > I'd like to read and process SOFA HRTF sets, but building the library > from source with all its dependencies very likely exceeds my abilities. > > Regards, > Lukas > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > SOFAcoustics-devel mailing list > SOF...@li... > https://lists.sourceforge.net/lists/listinfo/sofacoustics-devel |