I want to read and write minf files in a windows program, compiled with mingw gcc.
How can I do that?
Compile the minf library under windows
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Hi,
Are you asking for compilation instructions, or for programming help on how to read .minf files ?
- to compile, read the general compilation instructions here. Tell us if you find something outdated there (we don't update these pages regularly). You need to install Python, Msys and a few external libs: libsigc++ and libxml2 before trying to compile cartobase on Windows. Only the lowest-level cartobase library is strictly necessary to read .minf files
- to use the library to read .minf files: at low-level, use a carto::PythonReader to read a carto::Object dictionary - see the API doc at http://brainvisa.info/libs-stable/cartobase/index.html. The generic Object/GenericObject API offers iterators, getPtoperty/setProperty methods to retreive or set properties in the minf dictionary, etc.
Denis
Are you asking for compilation instructions, or for programming help on how to read .minf files ?
- to compile, read the general compilation instructions here. Tell us if you find something outdated there (we don't update these pages regularly). You need to install Python, Msys and a few external libs: libsigc++ and libxml2 before trying to compile cartobase on Windows. Only the lowest-level cartobase library is strictly necessary to read .minf files
- to use the library to read .minf files: at low-level, use a carto::PythonReader to read a carto::Object dictionary - see the API doc at http://brainvisa.info/libs-stable/cartobase/index.html. The generic Object/GenericObject API offers iterators, getPtoperty/setProperty methods to retreive or set properties in the minf dictionary, etc.
Denis
- Yann Cointepas
- Posts: 316
- Joined: Tue Jan 20, 2004 2:56 pm
- Location: Neurospin, Saint Aubin, France
- Contact:
I am afraid not. Once the compilation environement is configured, we use the same (home made) tools to compile on all systes. However, Windows requires the installation of many libraries (including Qt 3.x which is non free, see http://www.trolltech.com).
I set up a Windows computer for compilation a few month ago. During this process, I wrote a document describing the installation steps I used. This document has only be done for internal use but I am ready to share it if it can help.
I set up a Windows computer for compilation a few month ago. During this process, I wrote a document describing the installation steps I used. This document has only be done for internal use but I am ready to share it if it can help.
- Yann Cointepas
- Posts: 316
- Joined: Tue Jan 20, 2004 2:56 pm
- Location: Neurospin, Saint Aubin, France
- Contact: