Commit Graph

19 Commits (master)

Author SHA1 Message Date
Torsten Paul 7d863d2bf2 Updates to build on MSYS2. 2014-12-20 23:09:03 +01:00
Ivo Noorhoff 61e6178d1b In this commit i'll change just the Qt project, c and header files to get OpenSCAD
building and working on Windows 7 compiled with Visual Studio Express 2012.

A couple of things needed changing :
* MSVC 2012 has no trunc or round, i have added those to mathc99 and included mathc99 to the files needed.
The implementations were taken from boost.
* MSVC 2012 stl does now allow accessing out of bounds elements in std:vector as an array, so "chain->objects[i]" will
fail in "OpenCSGRenderer::renderCSGChain". Whatever the platform, it will me a good idea to change this
code to something that does not trigger undefined behavior.
* MSVC 2012 cannot figure out the types involved in "if (file_size ==  80 + 4 + 50*facenum) {", i have added
a cast to force it to "if (file_size ==  static_cast<std::streamoff>(80 + 4 + 50*facenum)) {".

The next round would be regression testing and debugging and possibly more changes to the OpenSCAD main code.

The round after that would be changing the .pro and .pri files to create correct visual studio solutions.
2013-07-28 13:42:35 +02:00
Don Bright 08952ee216 windows - library path find, also windows build fixes 2013-05-26 20:24:53 -05:00
don bright dec26f84dd initial steps towards support of clang compiler 2012-07-20 15:23:16 -05:00
Marius Kintel 6aa1a6d4c8 Some more build system cleaning 2011-12-15 05:17:04 +01:00
Marius Kintel b74bb392af generalized MACOSX_DEPLOY_DIR into the platform-independent OPENSCAD_LIBRARIES 2011-12-15 04:59:15 +01:00
Don Bright 5f58255bcf integrate Brad Pitcher's cross compile linux->win32-mingw qmake stuff 2011-10-25 19:10:28 -05:00
don 44d1436d47 fix no-rounding-math flag for windows G++ build in cgal.pri 2011-10-22 13:38:53 +00:00
Marius Kintel c9b95ff06b FIXME for reenabling -frounding-math for Windows 2011-10-16 18:55:35 +02:00
don bright a1c698f422 enable build of cgalpngtest under windowsXP 2011-10-10 18:01:51 -05:00
Marius Kintel c807f9bbd1 Windows build fixes from Kliment Yanev 2011-06-05 19:55:50 +02:00
Marius Kintel 69a9311faf Readded -lmpfr for Unix 2011-04-06 17:17:12 +02:00
Marius Kintel 3c77e2a8b6 Small steps towards making this buildable on VS2008 2011-04-06 15:04:08 +02:00
meta 9f1c837e15 update build files 2011-01-25 00:21:36 +01:00
meta 94748bb8d2 update qmake file for visual C++ builds 2011-01-21 22:06:50 +01:00
kintel db3e447809 Use DEPLOYDIR independant of deploy config
git-svn-id: http://svn.clifford.at/openscad/trunk@542 b57f626f-c46c-0410-a088-ec61d464b74c
2010-05-10 17:43:42 +00:00
kintel 0f9802ec3a Improved Mac OS X deployment - hopefully this doesn't break builds on other platforms
git-svn-id: http://svn.clifford.at/openscad/trunk@529 b57f626f-c46c-0410-a088-ec61d464b74c
2010-05-07 16:24:26 +00:00
kintel 334f15c0d6 Minor build system fixes
git-svn-id: http://svn.clifford.at/openscad/trunk@492 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-31 00:25:04 +00:00
kintel 9b3d816122 resource and build system update
git-svn-id: http://svn.clifford.at/openscad/trunk@366 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:27:59 +00:00