Qt needs to be recompiled to get a static C runtime build. Start->Program Files->Qt by Nokia v4.7.2 (VS2008 OpenSource)->QT 4.7.2 Command Prompt c:\glew-1.5.8 should have 'include' and 'lib' directly under it.Ĭompiling Dependencies įor compilation I use the QT Development Command Prompt I.e eigen-eigen-0938af7840b0 should become c:\eigen2, with the files like COPYING and CMakeLists.txt directly under it. Rename and move sub-directories if needed. tgz can be extracted with tar -zxvf from the MingW shell, or Windows tools like 7-zip. I put all the dependencies in C:\ so for example, Type git clone git:///openscad/openscad.git This puts OpenSCAD source into C:\openscad\.Type cd c: to change the current directory.Open "Git Bash" (or MingW Shell) (the installer may have put a shortcut on your desktop).Go into CGAL-3.7\auxiliary\gmp\lib and copy gmp.lib to gmp-vc90-mt-s.lib, and mpfr.lib to mpfr-vc90-mt-s.lib (so the linker can find them in the final link of openscad.exe).Copy C:\win32_gmp_mpfr\mpfr\Win32\Release\mpfr.lib to CGAL-3.7\auxiliary\gmp\lib.Copy C:\win32_gmp_mpfr\gmp\Win32\Release\gmp.lib to CGAL-3.7\auxiliary\gmp\lib.Delete, or move to a temp folder, all ( libmpfr-4.lib is needed 7/19/11 - i didnt need it) files in CGAL-3.7\auxiliary\gmp\lib folder.Replace the mpfr and gmp libs in CGAL with the ones from win32_gmp_mpfr.h files in C:\win32_gmp_mpfr\mpfr\Win32\Release to CGAL-3.7\auxiliary\gmp\include h files in C:\win32_gmp_mpfr\gmp\Win32\Release to CGAL-3.7\auxiliary\gmp\include Delete, or move to a temp folder, all files in CGAL-3.7\auxiliary\gmp\include folder.h files in CGAL with the ones from win32_gmp_mpfr Extract downloaded win32_gmp_mpfr.zip file to C:\win32_gmp_mpfr\.Make sure you select the MSYS Basic System under components.Make sure CGAL_DIR environment checked.The installer wants you to put this in C:\Program Files\CGAL-3.7\ I used C:\CGAL-3.7\.Make sure mpfr and gmp precompiled libs is checked.Note its not a binary distribution, just an installer that installs the source.Please keep that in mind when compiling OpenSCAD with MSVC - there may be bugs due to the outdated version of CGAL required to use MSVC. Note - CGAL 3.9 fixes several bugs in earlier versions of CGAL, but CGAL 3.9 does not compile under MSVC without extensive patching.Check the 'multithreaded static runtime' checkbox only.Install to default location C:\Program Files\CMake 2.8.Check the 'Add cmake to the system path for the current user' checkbox.Click Run Git and included Unix tools from the Windows Command Prompt despite the big red letters warning you not to.Install to default location C:\Qt\4.7.2\. ![]() ![]() You can use a virtual-CD program like MagicDisc to mount the ISO file and install without using a CD.No need for siverlight or mssql express.
0 Comments
Leave a Reply. |