[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] no-build and no-shared library

From: Rashad M
Subject: Re: [Mingw-cross-env-list] no-build and no-shared library
Date: Sun, 20 Jul 2014 16:32:56 +0200

That was it.

$(PKG)_BUILD_SHARED line. after commenting it. build goes on

Now I have proj, libgeotiff, giflib, gta, and gdal shared libraries via MXE :)

And I am struggling with ITK.. shared libs

the error seems to be this:
/home/rashad/packages/mxe/tmp-itk-i686-pc-mingw32.shared/InsightToolkit-4.5.2/Modules/IO/TIFF/src/itkTIFFImageIO.cxx: In member function 'int itk::TIFFReaderInternal::Open(const char*)':
/home/rashad/packages/mxe/tmp-itk-i686-pc-mingw32.shared/InsightToolkit-4.5.2/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:74:20: error: aggregate 'itk::TIFFReaderInternal::Open(const char*)::_stat64 fs64' has incomplete type and cannot be defined
     struct _stat64 fs64;
/home/rashad/packages/mxe/tmp-itk-i686-pc-mingw32.shared/InsightToolkit-4.5.2/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:75:33: error: invalid use of incomplete type 'struct itk::TIFFReaderInternal::Open(const char*)::_stat64'
     if ( _stat64(filename, &fs64) )
/home/rashad/packages/mxe/tmp-itk-i686-pc-mingw32.shared/InsightToolkit-4.5.2/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:74:12: error: forward declaration of 'struct itk::TIFFReaderInternal::Open(const char*)::_stat64'
     struct _stat64 fs64;
make[2]: *** [Modules/IO/TIFF/src/CMakeFiles/ITKIOTIFF.dir/itkTIFFImageIO.cxx.obj] Error 1
make[1]: *** [Modules/IO/TIFF/src/CMakeFiles/ITKIOTIFF.dir/all] Error 2

On Sat, Jul 19, 2014 at 9:08 PM, Timothy Gu <address@hidden> wrote:
If you modify a package recipe it will automatically rebuild itself on the next make proj. Or you can remove usr/<target>/installed/proj. Also, I forgot to say that you need to remove the empty $(PKG)_BUILD_SHARED line if you want to enable it.

On Saturday, July 19, 2014, Rashad M <address@hidden> wrote:
Ok. I will give that a try but I have double rebuilding a existing no-build target

when i run 
make proj
it says:

[target]   i686-pc-mingw32.shared with 1 goal from command line
[no-build] proj

after i change src/proj.mk. it doesnt seems to show any rebuilding. make gives:
$ make proj
[target]   i686-pc-mingw32.shared with 1 goal from command line

do you know how to clean a package manually and also turn on verbose messages?

On Sat, Jul 19, 2014 at 4:24 PM, Timothy Gu <address@hidden> wrote:

They are not enabled because we didn't take a look at them yet. You can try hacking the .mk files (e.g. change --disable-shared --enable-static --build --target --prefix to $(MXE_CONFIGURE_OPTS)), and report back to us if you get any success.


Timothy Gu

Sent from my Nexus 7.

On Jul 18, 2014 5:29 AM, "Rashad M" <address@hidden> wrote:
Hi all,

Why there is no-build and no shared library enabled for some libraries example proj, libgeotiff.

If I want to enable them what is the procedure and also I want to clean only a specific target or rebuild after some change to .mk file

Thanks in advance.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]