Hi Johannes,

I think it would be great if you post cmake files for all these packages
somewhere.

Thanks,
Aashish


On Wed, Jul 1, 2009 at 2:37 AM, Johannes Brunen <jbru...@datasolid.de>wrote:

> Hello Gerrit,
>
> "Gerrit Voß" <vo...@vossg.org> schrieb im
> Newsbeitrag news:1246422106.3445.21.ca...@feynman.camtech.ntu.edu.sg...
> >
> > ok, I did the changes, could you check if they make sense for you.
> > Small warning of which you most likely are aware, you have to start
> > with a blank/empty cache to get these changes pulled in correctly as
> > the compiler settings are manipulated only once in the very beginning.
> >
> Thanks and ok.
>
> > I also updated the boost handling so the cmake file should respect
> > Boost_USE_STATIC_LIBS as set.
> >
> Great.
>
> > Another small warning I stumbled across,
> > the std cmake boost find mechanism only react to these settings
> > (static + mt) the very first time, once Boost has been found changing
> > these flags/options does not change which boost libraries are used.
> > So you have to delete/clean the cache to get changes in.
> >
> I did not understand that completely.
>
> > PDB file are generated for all targets but I made the install optional
> > (OSG_INSTALL_PDB_FILES). I also added an option
> > (OSG_USE_SEPARATE_LIBDIRS) so you can choose  where the libs are placed
> > during the install, the general lib dir or a target specific subdir. I
> > still keep both .lib and .dll files in the lib dir, windows seems more
> > to tend to install the .dll file in the bin dir. Would you prefer the
> > bin dir or is the lib dir ok ?
> >
> Personally, I would prefer the bin dir for the dll files. This is how I
> treat all other libs.
>
> > If you have anything else let me know. One open issue is custom
> > compiler flags.
> >
> I did follow your suggestion and implemented the settings of the flags in
> my
> controller script. This work pretty fine.
>
> > I'm also not sure all the 3rd party libs are handled correctly for
> > all variants. I'll try to check this but it will take a second as
> > windows builds are so slow ;( And I have to build the 3rd party
> > lib variants ;(
> >
> I do have builds of all the 3rd party libs of the current versions for the
> 32Bit and 64Bit windows platform. If there is any interest I could provide
> these. Below is a list of the libraries I did manage to build with the
> standard CMake settings (debug[suffix 'D']+release) plus the following
> compiler settings which I use consistently on all my builds.
>
>    -D_CRT_SECURE_NO_DEPRECATE
>    -D_CRT_SECURE_NO_WARNINGS
>    -D_CRT_NONSTDC_NO_DEPRECATE
>    -D_SECURE_SCL=0
>    -D_SCL_SECURE_NO_WARNINGS
>    -D_SCL_SECURE_NO_DEPRECATE
>
> List:
> ===
> boost:    1.39.0     BJam    www.boost.org
>
> zlib:       1.2.3       CMake   www.zlib.net
>
> http://pecl2.php.net/downloads/php-windows-builds/
>
> bzip2:      1.0.5       Cmake   http://www.bzip.org/
>
> http://pecl2.php.net/downloads/php-windows-builds/
>
> jpeg:       6b          Cmake   http://www.jpeg.org/
>
> ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/jpegsr6.zip
>
> http://pecl2.php.net/downloads/php-windows-builds/
>
> tiff:       3.8.2       Cmake
> http://de.wikipedia.org/wiki/Tagged_Image_File_Format
>                                http://www.remotesensing.org/libtiff/
>
> ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.8.2.zip
>
> freetype:   2.3.9       Cmake   http://www.freetype.org/
>
> http://sourceforge.net/project/showfiles.php?group_id=3157
>
> http://pecl2.php.net/downloads/php-windows-builds/
>
> png:        1.2.36      Cmake   http://www.libpng.org/pub/png/
>
> http://sourceforge.net/project/showfiles.php?group_id=5624
>
> http://pecl2.php.net/downloads/php-windows-builds/
>
> sqlite:     3.6.16      Cmake   http://www.sqlite.org/
>
> http://www.sqlite.org/sqlite-amalgamation-3_6_14_2.zip
>
> quat:       07.20       Cmake   quat library is part of vrpn
>                                http://www.cs.unc.edu/Research/vrpn/
>
> ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/vrpn_07_20.zip
>
> http://www.mat.ucsb.edu/projects/dii/browser/projects/Linux/quat/
>
> vrpn:       07.20       Cmake   http://www.cs.unc.edu/Research/vrpn/
>
> ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/vrpn_07_20.zip
>
> JasPer:     1.900.1     Cmake   
> http://www.ece.uvic.ca/~mdadams/jasper/<http://www.ece.uvic.ca/%7Emdadams/jasper/>
>
> freeglut:   2.6.0       Cmake   http://freeglut.sourceforge.net/
>                                http://sourceforge.net/projects/freeglut/
>
> libsdl:     1.2.13      Cmake   http://www.libsdl.org/
>
> fftw:       3.2.1       Cmake   http://www.fftw.org/
>
> tinyxml:    2.5.3       Cmake   http://www.grinninglizard.com/tinyxml/
>                                http://sourceforge.net/projects/tinyxml/
>
> pcre:       7.9         Cmake   http://www.pcre.org/
>
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.zip
>
> collada:    1.4 dom 2.2 Cmake
>
> https://collada.org/mediawiki/index.php/COLLADA_-_Digital_Asset_and_FX_Exchange_Schema
>            1.5 dom 2.2 Cmake
> http://sourceforge.net/project/showfiles.php?group_id=157838
>                                http://en.wikipedia.org/wiki/COLLADA
>
> expat:      2.0.1       Cmake   http://expat.sourceforge.net/
>
> vtk:        5.4.2       Cmake   http://www.vtk.org/
>                                http://www.kitware.com/
>
> iconv:      1.12        Cmake
> http://pecl2.php.net/downloads/php-windows-builds/
>                                http://www.gnu.org/software/libiconv/
>                                http://de.wikipedia.org/wiki/Iconv
>
> libxml2:    2.7.3       Cmake
> http://pecl2.php.net/downloads/php-windows-builds/
>                                ftp://xmlsoft.org/libxml2/
>
> libxslt:    1.1.23      Cmake
> http://pecl2.php.net/downloads/php-windows-builds/
>                                ftp://xmlsoft.org/libxml2/
>
>
> ilmbase:    1.0.1       self    http://www.openexr.com/
> OpenEXR:    1.6.1       self    http://www.openexr.com/
>                                http://ampasctl.sourceforge.net/
>                                I started with the following package to
> build vc9 32/64 libraries
>                                Openexr_from_CVS.20081031.7z.zip taken from
>
> http://hebbut.net/Public.Offerings/OpenEXR.html
>
> gdal:       1.6.1       self    http://www.gdal.org/
>
> http://trac.osgeo.org/gdal/wiki/Release/1.6.1-News
>                                http://vbkto.dyndns.org:1280/sdk/
>
> The cmake scripts are only work on windows. I do not have experience with
> platform independent builds. As I stated the builds are controlled by a
> simple cygwin script to allow automation.
>
> Best,
> Johannes
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to