[Dcmlib] Compiling simple application under windows
Luca Picello
luca.picello at libero.it
Wed Jul 6 19:50:44 CEST 2005
gdcmConfigure.h is automatically generated after cmake build process.
cmake generates makefiles for msvc.net platform (as well as for other
compilers) so all you have to do is select the source gdcm directory and
an output directory (ie: c:\gdcm.bin) and select "build for" visual
studio 7 .net
it should work ( I do not use Micro$oft stuffs so I can't be sure).
then go into the c:\gdcm.bin folder and run make from command line.
good luck,
Luca
Derek Magee wrote:
> I'm trying to compile a very simple application under MSVC.NET and I
> get the error message:
>
> c:\Creatis\gdcm\include\gdcm\gdcmCommon.h(22) : fatal error C1083:
> Cannot open include file: 'gdcmConfigure.h': No such file or directory
>
> Which is logical, as this file doesn't exist anywhere in the windows
> (v1.0) distribution (or the unix one for that matter). Presumably this
> is automatically created, but how? I've tried CMake on the sources and
> it throws up errors.
>
> Thanks a lot
>
> Derek
>
> P.S. The program is simply:
>
> #include <gdcmDirList.h>
>
> int main(int argc, char* argv[])
> {
> return 0;
> }
>
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger 7.0 today!
> http://messenger.msn.co.uk
>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
> .
>
More information about the Dcmlib
mailing list