Commit Graph

12 Commits (master)

Author SHA1 Message Date
Marius Kintel f25ad73ea5 Put back some stuff necessary for building on non-MSVC platforms for now 2013-08-19 23:27:30 -04: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 31c88a434b merge branch to get windows "library path" working. tweak build system,
eliminate several compiler warnings.
2013-05-25 22:37:26 -05:00
Marius Kintel ba20c0e800 Modified parse to allow overloading of variables in local blocks. Also did some minor cleanups while at it. Test cases missing 2013-04-26 18:32:19 -04:00
don bright 2230b3c448 qmake-macx last detected on eigen. (unix=1 on osx). clarify comments. 2012-12-29 17:10:52 -06:00
don bright ad45e8a8c5 detect netbsd / freebsd after linux not before, for bison/flex. 2012-12-23 17:14:58 -06:00
don bright 43e1d6150d download and build bison if needed. detect better on BSD 2012-12-21 02:18:21 +01:00
don bright 277c762912 changes to enable building on NetBSD 2012-01-03 18:21:28 +01:00
Marius Kintel 02457d7b6d bison fix 2011-12-17 18:04:09 +01:00
Marius Kintel b74bb392af generalized MACOSX_DEPLOY_DIR into the platform-independent OPENSCAD_LIBRARIES 2011-12-15 04:59:15 +01: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