Hi Marcus, > Hi, > > I've been compiling OpenSG 1.8 a couple of times now, and found a few > small issues that I think could be improved: > > Use -O in the scons.bat file? (optimize python code)
hmm cool didn't know about this option could you measure any speed improvement? > OpenSG now compiles _with_ WIN32_LEAN_AND_MEAN defined. Previously it > "had" to be there to support htonl() (which is in winsock2.h, so you > could have used that instead). That might cut down on compile times a > little bit. > > Using /Zi instead of /Z7 works and produces smaller obj files. This puts > intermediate debuginfo in a vc70.idb/pdb file in the cvs root dir. On > link, it creates per-target pdb-files as usual. It seems to be working > even though debug/release builds use the same intermediate files. interesting but this won't work with -j 2. Is there any speed difference while creating the pdb files? > Always using /DEBUG as link flag (to create debug). There's really no > need for the dbgopt version, as the outputted files are pretty > equivalent (by ignoring the PDB's, dbgopt is equivalent to opt) possible but this creates always pdb files and this is really very slow and needs much harddisk space so I like to keep the special dbgopt build. > Change /FORCE:MULTIPLE (not needed) to /INCREMENTAL:NO (needed due to an > internal linker limit being reached by OSGSystem). I added the /FORCE:MULTIPLE to get rid of multiple defined symbol errors while linking the OSGWindowQT.lib are this errors fixed with /INCREMENTAL:NO? > Always define OSG_DEBUG_FCPTR for debug-versions? It doesn't impact perf > that much and is a great help. Add check to make sure client & lib is > compiled with same source? hmm yes this option is quite nice but a ugly HACK. If we add the define to the auto created OSGConfigured.h file we can eliminate any conflicts. Andreas > ... > > We should still plan on how to adress the larger compile/link time > issues, but I think the above makes life a bit easier anyway. > > Cheers > /Marcus > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
