discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Compile OpenSCAD on Windows?

S
Scalpel78
Sat, Dec 13, 2014 6:56 PM

Hi, I want to try to compile OpenSCAD for Windows, and came across two pages
in the Documentation section on the openscad.org site related to Windows.
Seems like it's been a while since they were updated, though.

This page
(https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Windows)
mentions that you need Visual Studio 2008, and references an old QT.

Has anyone tried using Visual Studio 2013? Are any of the current developers
using Windows?

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi, I want to try to compile OpenSCAD for Windows, and came across two pages in the Documentation section on the openscad.org site related to Windows. Seems like it's been a while since they were updated, though. This page (https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Windows) mentions that you need Visual Studio 2008, and references an old QT. Has anyone tried using Visual Studio 2013? Are any of the current developers using Windows? -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Dec 13, 2014 7:29 PM

Hi!

On 12/13/2014 07:56 PM, Scalpel78 wrote:

Has anyone tried using Visual Studio 2013? Are any of the current developers
using Windows?

No, unfortunately at this point there's no active developer working on Windows.
I'm doing the Windows builds but that's cross-compiling using MXE on Linux, so
any help would be awesome. Especially tracking down issues that only happen on
Windows is quite hard right now.
Currently the biggest help is MichaelAtOz putting lots of time into testing on
Windows, that's extremely helpful as otherwise Windows specific problems could
go unnoticed for quite some time.

Getting a native build on Windows is probably a bit of a challenge first as
nobody got as far as a fully working version. I think there are some threads
on both Github and the forum, the first I found is:

https://github.com/openscad/openscad/issues/431

I guess the first step would be to get the libraries compiled (maybe with some
replacements as mentioned in the issue discussion above).

The plan is to maybe make text() optional, that would mean the first try could
skip fontconfig, freetype and harfbuzz.

ciao,
Torsten.

Hi! On 12/13/2014 07:56 PM, Scalpel78 wrote: > Has anyone tried using Visual Studio 2013? Are any of the current developers > using Windows? > No, unfortunately at this point there's no active developer working on Windows. I'm doing the Windows builds but that's cross-compiling using MXE on Linux, so any help would be awesome. Especially tracking down issues that only happen on Windows is quite hard right now. Currently the biggest help is MichaelAtOz putting lots of time into testing on Windows, that's extremely helpful as otherwise Windows specific problems could go unnoticed for quite some time. Getting a native build on Windows is probably a bit of a challenge first as nobody got as far as a fully working version. I think there are some threads on both Github and the forum, the first I found is: https://github.com/openscad/openscad/issues/431 I guess the first step would be to get the libraries compiled (maybe with some replacements as mentioned in the issue discussion above). The plan is to maybe make text() optional, that would mean the first try could skip fontconfig, freetype and harfbuzz. ciao, Torsten.
S
Scalpel78
Sat, Dec 13, 2014 8:30 PM

Ah, that's too bad.

I'm a descent C# programmer, but have very little experience with C++ and
the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested in
getting OpenSCAD compiled on Windows we could attempt it together. On my own
I'm afraid I'm just not capable.

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10518.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Ah, that's too bad. I'm a descent C# programmer, but have very little experience with C++ and the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested in getting OpenSCAD compiled on Windows we could attempt it together. On my own I'm afraid I'm just not capable. -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10518.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Dec 13, 2014 9:05 PM

On 12/13/2014 09:30 PM, Scalpel78 wrote:

the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested in
getting OpenSCAD compiled on Windows we could attempt it together. On my own
I'm afraid I'm just not capable.

I can help with my Windows 7 VM. OpenGL is not working there, but getting
the build environment up and running should be possible. I'm just not
interested in doing that for myself as I'm not planning to do development
on Windows in my spare time.
If someone else wants to join the effort, that would be great.

I guess there's two options to start. Either using MinGW / MSYS or using
the community edition of Visual Studio. At least from license point of
view that seems usable (but I might be wrong, I'm still confused after
reading though their mumbo-jumbo announcement).

In my opinion the first try could be VS2013 as that is probably more
attractive than a command line only MinGW build.

Right now, I don't know what the best option is, but we did talk about
that in the past, and the most promising idea was to provide a dev-package
as download with the pre-compiled dependencies.

So we could start with getting CGAL and it's dependencies (boost, gmp,
mpfr, ...?) compiled and maybe a simple test program running.
The github issue mentions that replacing gmp with mpir might help.

ciao,
Torsten.

On 12/13/2014 09:30 PM, Scalpel78 wrote: > the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested in > getting OpenSCAD compiled on Windows we could attempt it together. On my own > I'm afraid I'm just not capable. > I can help with my Windows 7 VM. OpenGL is not working there, but getting the build environment up and running should be possible. I'm just not interested in doing that for myself as I'm not planning to do development on Windows in my spare time. If someone else wants to join the effort, that would be great. I guess there's two options to start. Either using MinGW / MSYS or using the community edition of Visual Studio. At least from license point of view that seems usable (but I might be wrong, I'm still confused after reading though their mumbo-jumbo announcement). In my opinion the first try could be VS2013 as that is probably more attractive than a command line only MinGW build. Right now, I don't know what the best option is, but we did talk about that in the past, and the most promising idea was to provide a dev-package as download with the pre-compiled dependencies. So we could start with getting CGAL and it's dependencies (boost, gmp, mpfr, ...?) compiled and maybe a simple test program running. The github issue mentions that replacing gmp with mpir might help. ciao, Torsten.
T
tdeagan
Sat, Dec 13, 2014 9:27 PM

tp3 wrote

On 12/13/2014 09:30 PM, Scalpel78 wrote:

the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested
in
getting OpenSCAD compiled on Windows we could attempt it together. On my
own
I'm afraid I'm just not capable.

I can help with my Windows 7 VM. OpenGL is not working there, but getting
the build environment up and running should be possible. I'm just not
interested in doing that for myself as I'm not planning to do development
on Windows in my spare time.
If someone else wants to join the effort, that would be great.

I'd be interested in seeing what I can do to help.  I have an MSDN license
and have Visual Studio 2008 through 2013 already installed (VS2013 is a
weirdly different beast in a lot of ways.)

I'll start seeing if I can get the environment set up.  I'm primarily using
the SSIS and CLR db environments doing C# and VB at the moment, but there
shouldn't be any reason why I can't configure this (he says after spending
almost two weeks getting the new WCF-based Database Tools to add a stinking
web service reference in VS 2013...)

I'll start and report back.

--Tim

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10520.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

tp3 wrote > On 12/13/2014 09:30 PM, Scalpel78 wrote: >> the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested >> in >> getting OpenSCAD compiled on Windows we could attempt it together. On my >> own >> I'm afraid I'm just not capable. >> > I can help with my Windows 7 VM. OpenGL is not working there, but getting > the build environment up and running should be possible. I'm just not > interested in doing that for myself as I'm not planning to do development > on Windows in my spare time. > If someone else wants to join the effort, that would be great. I'd be interested in seeing what I can do to help. I have an MSDN license and have Visual Studio 2008 through 2013 already installed (VS2013 is a weirdly different beast in a lot of ways.) I'll start seeing if I can get the environment set up. I'm primarily using the SSIS and CLR db environments doing C# and VB at the moment, but there shouldn't be any reason why I can't configure this (he says after spending almost two weeks getting the new WCF-based Database Tools to add a stinking web service reference in VS 2013...) I'll start and report back. --Tim -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10520.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Sat, Dec 13, 2014 9:35 PM

It seems to me that the Qt Visual Studio Addin is only available for a paid
version of Qt...? Then I began to think about perhaps just use the QT
Creator IDE that ships with Qt? Is there any reason why that shouldn't work
with OpenSCAD?

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10521.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

It seems to me that the Qt Visual Studio Addin is only available for a paid version of Qt...? Then I began to think about perhaps just use the QT Creator IDE that ships with Qt? Is there any reason why that shouldn't work with OpenSCAD? -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10521.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Dec 13, 2014 9:47 PM

On 12/13/2014 10:35 PM, Scalpel78 wrote:

It seems to me that the Qt Visual Studio Addin is only available for a paid
version of Qt...? Then I began to think about perhaps just use the QT
Creator IDE that ships with Qt? Is there any reason why that shouldn't work
with OpenSCAD?

I think that should work too. What compiler is that using? I'm actually
using NetBeans and just run the GUI Designer when I need to edit the *.ui
files.

The GUI Designer should be included in the Qt download and that's all what's
needed. Maybe the add-in saves a click here and there when working on the GUI,
but OpenSCAD does not have too much GUI anyway ;).

ciao,
Torsten.

On 12/13/2014 10:35 PM, Scalpel78 wrote: > It seems to me that the Qt Visual Studio Addin is only available for a paid > version of Qt...? Then I began to think about perhaps just use the QT > Creator IDE that ships with Qt? Is there any reason why that shouldn't work > with OpenSCAD? > I think that should work too. What compiler is that using? I'm actually using NetBeans and just run the GUI Designer when I need to edit the *.ui files. The GUI Designer should be included in the Qt download and that's all what's needed. Maybe the add-in saves a click here and there when working on the GUI, but OpenSCAD does not have too much GUI anyway ;). ciao, Torsten.
S
Scalpel78
Sat, Dec 13, 2014 11:04 PM

tp3 wrote

I think that should work too. What compiler is that using?

Here is the configuration from my machine.
http://forum.openscad.org/file/n10524/QTCompilers.png
Seems like it uses MinGW491's g++.exe

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10524.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

tp3 wrote > I think that should work too. What compiler is that using? Here is the configuration from my machine. <http://forum.openscad.org/file/n10524/QTCompilers.png> Seems like it uses MinGW491's g++.exe -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10524.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Dec 13, 2014 11:33 PM

On 12/14/2014 12:04 AM, Scalpel78 wrote:

tp3 wrote

I think that should work too. What compiler is that using?

Here is the configuration from my machine.
http://forum.openscad.org/file/n10524/QTCompilers.png
Seems like it uses MinGW491's g++.exe

Hmm, that might make things easier as that's essentially the same
we use with MXE.
I wonder if we can just build the libs with MXE on Linux and drop
them into Qt Creator on Windows?

ciao,
Torsten.

On 12/14/2014 12:04 AM, Scalpel78 wrote: > tp3 wrote >> I think that should work too. What compiler is that using? > > Here is the configuration from my machine. > <http://forum.openscad.org/file/n10524/QTCompilers.png> > Seems like it uses MinGW491's g++.exe > Hmm, that might make things easier as that's essentially the same we use with MXE. I wonder if we can just build the libs with MXE on Linux and drop them into Qt Creator on Windows? ciao, Torsten.
RR
Robert Rapplea
Sun, Dec 14, 2014 2:59 AM

I'm an experienced C++ programmer in the Windows environment, but my time is
wretchedly constricted at the moment. Nonetheless, if you could use some
guidance I'd be willing to pitch in.

On 12/13/2014 1:30 PM, Scalpel78 wrote:

Ah, that's too bad.

I'm a descent C# programmer, but have very little experience with C++ and
the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested in
getting OpenSCAD compiled on Windows we could attempt it together. On my own
I'm afraid I'm just not capable.

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10518.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I'm an experienced C++ programmer in the Windows environment, but my time is wretchedly constricted at the moment. Nonetheless, if you could use some guidance I'd be willing to pitch in. On 12/13/2014 1:30 PM, Scalpel78 wrote: > Ah, that's too bad. > > I'm a descent C# programmer, but have very little experience with C++ and > the Qt/Ming/etc toolchain. Perhaps if someone else was also interrested in > getting OpenSCAD compiled on Windows we could attempt it together. On my own > I'm afraid I'm just not capable. > > > > -- > View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10518.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
S
Scalpel78
Sun, Dec 14, 2014 10:30 AM

I think it would be really valuable for the OpenSCAD project if we managed to
come up with a step-by-step guide on how to do development and testing on
Windows machines.

I'm sure there are very skilled programmers out there which would contribute
to the OpenSCAD source if it was easy to get started.

The Wiki could use a new and updated page on how to set up the development
environment in Windows. I don't think it really matters if it uses Qt
Creator or Visual Studio, as long as it it a working guide as to how to get
started.

I can start work on such a page, and can be a guinnea pig when it comes to
following the instructions, but when it comes to the nitty gritty details on
figuring out which parameters to use, which header files to copy where etc,
I'm not capable of figuring that out myself.

But if we can cooperate on what do download, which libraries are needed, how
to compile them and how to configure Qt Creator, then I'm in.

The goal for me would be to end up with a functional wiki-page, which then
can be used to attract new experienced developers on the Windows platform -
thus making my new favorite CAD software better :)

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10527.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I think it would be really valuable for the OpenSCAD project if we managed to come up with a step-by-step guide on how to do development and testing on Windows machines. I'm sure there are very skilled programmers out there which would contribute to the OpenSCAD source if it was easy to get started. The Wiki could use a new and updated page on how to set up the development environment in Windows. I don't think it really matters if it uses Qt Creator or Visual Studio, as long as it it a working guide as to how to get started. I can start work on such a page, and can be a guinnea pig when it comes to following the instructions, but when it comes to the nitty gritty details on figuring out which parameters to use, which header files to copy where etc, I'm not capable of figuring that out myself. But if we can cooperate on what do download, which libraries are needed, how to compile them and how to configure Qt Creator, then I'm in. The goal for me would be to end up with a functional wiki-page, which then can be used to attract new experienced developers on the Windows platform - thus making my new favorite CAD software better :) -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10527.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Sun, Dec 14, 2014 11:45 AM

I've started on a new Wiki-page here:
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows

Feel free to add information!

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10528.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I've started on a new Wiki-page here: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows Feel free to add information! -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10528.html Sent from the OpenSCAD mailing list archive at Nabble.com.
T
tdeagan
Sun, Dec 14, 2014 5:18 PM

I've got a fresh Win8.1 machine that I'm setting up per the new model.

First issue that Ive noticed in installing Qt is that there are a LOT of
choices about what gets installed, both version and component.  I'm starting
with the most recent version of Qt, 5.4 and probably a big overkill on
additional components.  Download is taking 8+ hours.

We'll want to figure out what the minimal install is at some point, and I
have no doubt that either Qt or some number of its associated tools or
addons (e.g. MinGW) will have to be downgraded.

I'm keeping notes, hopefully the right ones!
--t

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10529.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I've got a fresh Win8.1 machine that I'm setting up per the new model. First issue that Ive noticed in installing Qt is that there are a LOT of choices about what gets installed, both version and component. I'm starting with the most recent version of Qt, 5.4 and probably a big overkill on additional components. Download is taking 8+ hours. We'll want to figure out what the minimal install is at some point, and I have no doubt that either Qt or some number of its associated tools or addons (e.g. MinGW) will have to be downgraded. I'm keeping notes, hopefully the right ones! --t -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10529.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Dec 14, 2014 5:22 PM

On 12/14/2014 06:18 PM, tdeagan wrote:

We'll want to figure out what the minimal install is at some point, and I
have no doubt that either Qt or some number of its associated tools or
addons (e.g. MinGW) will have to be downgraded.

Maybe MSYS2 is the easiest way to get everything running. This includes
qtcreator and most of the libraries. Actually only OpenCSG and QScintilla
are missing.

=> https://msys2.github.io/

Using the MXE builds with the Qt download does not work as they seem to
use different configuration regarding C++ exceptions so the libraries built
with MXE are not compatible with the MinGW shipped with Qt Creator.

ciao,
Torsten.

On 12/14/2014 06:18 PM, tdeagan wrote: > We'll want to figure out what the minimal install is at some point, and I > have no doubt that either Qt or some number of its associated tools or > addons (e.g. MinGW) will have to be downgraded. > Maybe MSYS2 is the easiest way to get everything running. This includes qtcreator and most of the libraries. Actually only OpenCSG and QScintilla are missing. => https://msys2.github.io/ Using the MXE builds with the Qt download does not work as they seem to use different configuration regarding C++ exceptions so the libraries built with MXE are not compatible with the MinGW shipped with Qt Creator. ciao, Torsten.
M
mx
Sun, Dec 14, 2014 5:58 PM

Did you manage to load the .pro file with QtCreator on Windows?
When I tried this a while ago QtCreator couldn't load the file.

Also I feel like I must warn you. It will be a lot easier to setup a
secondary/virtual linux pc. Getting all these dependencies configured and
compiled on Windows... I tried but ... lost patience


lazy.scad - http://www.thingiverse.com/thing:512443

View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10531.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Did you manage to load the .pro file with QtCreator on Windows? When I tried this a while ago QtCreator couldn't load the file. Also I feel like I must warn you. It will be a lot easier to setup a secondary/virtual linux pc. Getting all these dependencies configured and compiled on Windows... I tried but ... lost patience ----- lazy.scad - http://www.thingiverse.com/thing:512443 -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10531.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Dec 14, 2014 6:05 PM

On 12/14/2014 06:58 PM, mx wrote:

Did you manage to load the .pro file with QtCreator on Windows?
When I tried this a while ago QtCreator couldn't load the file.

Yes, there's a small change needed in version.pri:

It jumps into the Unix branch and executes date with the Unix parameters
causing it to wait for user input.

Changing:
win32-msvc*:!mingw-cross-env

To:
win*:!mingw-cross-env {

prevents that.

Otherwise I've just hacked the include/lib path into openscad.pro to see
if it's compiling.
That works so far that the welcome screen comes up, but when trying to
open the main window it terminates with a Qt error:

QWidget: Must construct a QApplication before a QWidget

ciao,
Torsten.

On 12/14/2014 06:58 PM, mx wrote: > Did you manage to load the .pro file with QtCreator on Windows? > When I tried this a while ago QtCreator couldn't load the file. > Yes, there's a small change needed in version.pri: It jumps into the Unix branch and executes date with the Unix parameters causing it to wait for user input. Changing: win32-msvc*:!mingw-cross-env To: win*:!mingw-cross-env { prevents that. Otherwise I've just hacked the include/lib path into openscad.pro to see if it's compiling. That works so far that the welcome screen comes up, but when trying to open the main window it terminates with a Qt error: QWidget: Must construct a QApplication before a QWidget ciao, Torsten.
S
Scalpel78
Sun, Dec 14, 2014 7:19 PM

Torsten, I made that first change, and now it properly lists files in the Qt
Creator project tree. But what is that other change you refer to as "I've
just hacked the include/lib path into openscad.pro to see
if it's compiling." ?

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10534.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Torsten, I made that first change, and now it properly lists files in the Qt Creator project tree. But what is that other change you refer to as "I've just hacked the include/lib path into openscad.pro to see if it's compiling." ? -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10534.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Dec 14, 2014 7:42 PM

On 12/14/2014 08:19 PM, Scalpel78 wrote:

Torsten, I made that first change, and now it properly lists files in the Qt
Creator project tree. But what is that other change you refer to as "I've
just hacked the include/lib path into openscad.pro to see
if it's compiling." ?

In Release mode it works now. I guess we do something wrong which does not
trigger the qFatal() on other platforms. So that's maybe a real issue and
not a problem with the native Windows build environment.

Install MSYS2 (I've used the 64 bit version)

  • libs

$ pacman -Sy
$ pacman -S mingw-w64-x86_64-qt-creator
$ pacman -S mingw-w64-x86_64-boost
$ pacman -S mingw-w64-x86_64-cgal
$ pacman -S mingw-w64-x86_64-éigen3
$ pacman -S mingw-w64-x86_64-glew

  • QScintilla

$ unzip QScintilla-gpl-2.8.4.zip
$ cd QScintilla-gpl-2.8.4/Qt4Qt5
$ /c/msys64/mingw64/bin/qmake.exe
$ export PATH="$PATH:/c/msys64/mingw64/bin"
$ mingw32-make.exe
$ mingw32-make.exe install

  • OpenCSG

$ tar xvf OpenCSG-1.4.0.tar.gz
$ cd OpenCSG-1.4.0/src
change LIBS in src.pro: LIBS += -lglew32
$ qmake
$ mingw32-make.exe
$ mingw32-make.exe install
^ This installs to /usr/local - I've copied the files to the normal
lib folder (C:\msys64\mingw64\lib)


All that needs to the respective qmake files... but here it is just hardcoded
in openscad.pro... nothing that should go into any documentation.

win* {
FLEXSOURCES = src/lexer.l

  • BISONSOURCES = src/parser.y
  • BISONSOURCES = src\parser.y
  • QMAKE_CXXFLAGS += -DNOGDI -DGLEW_STATIC -DOPENSCAD_QTGUI -Wa,--hash-size=2048 -O2
  • QMAKE_CXXFLAGS += -I/c/msys64/mingw64/include
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/eigen3"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/freetype2"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/harfbuzz"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/glib-2.0"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/lib/glib-2.0/include"
  • QMAKE_LFLAGS += -I/mingw64/lib
  • LIBS += -lintl -lglib-2.0 -lCGAL -lglew32 -lfontconfig -lfreetype -lharfbuzz -lmpfr -lgmp
    } else {

Add boost libs

isEmpty(BOOST_LINK_FLAGS):win* {
  • BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1 -llibboost_program_options-vc90-mt-s-1_46_1
    -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1 -llibboost_regex-vc90-mt-s-1_46_1
  • DEFINES += BOOST_STATIC
  • DEFINES += BOOST_THREAD_USE_LIB
  • DEFINES += Boost_USE_STATIC_LIBS
  • #BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1 -llibboost_program_options-vc90-mt-s-1_46_1
    -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1 -llibboost_regex-vc90-mt-s-1_46_1
  • BOOST_LINK_FLAGS = -lboost_thread-mt -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_regex-mt
    }

Comment out one line in glew.pri

win32:LIBS += -lglew32s

Comment out two lines in cgal.pri

win*: QMAKE_INCDIR += $$CGAL_DIR/auxiliary/gmp/include

LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc110-mt-gd

On 12/14/2014 08:19 PM, Scalpel78 wrote: > Torsten, I made that first change, and now it properly lists files in the Qt > Creator project tree. But what is that other change you refer to as "I've > just hacked the include/lib path into openscad.pro to see > if it's compiling." ? > In Release mode it works now. I guess we do something wrong which does not trigger the qFatal() on other platforms. So that's maybe a real issue and not a problem with the native Windows build environment. Install MSYS2 (I've used the 64 bit version) * libs $ pacman -Sy $ pacman -S mingw-w64-x86_64-qt-creator $ pacman -S mingw-w64-x86_64-boost $ pacman -S mingw-w64-x86_64-cgal $ pacman -S mingw-w64-x86_64-éigen3 $ pacman -S mingw-w64-x86_64-glew * QScintilla $ unzip QScintilla-gpl-2.8.4.zip $ cd QScintilla-gpl-2.8.4/Qt4Qt5 $ /c/msys64/mingw64/bin/qmake.exe $ export PATH="$PATH:/c/msys64/mingw64/bin" $ mingw32-make.exe $ mingw32-make.exe install * OpenCSG $ tar xvf OpenCSG-1.4.0.tar.gz $ cd OpenCSG-1.4.0/src change LIBS in src.pro: LIBS += -lglew32 $ qmake $ mingw32-make.exe $ mingw32-make.exe install ^ This installs to /usr/local - I've copied the files to the normal lib folder (C:\msys64\mingw64\lib) ------ All that needs to the respective qmake files... but here it is just hardcoded in openscad.pro... nothing that should go into any documentation. win* { FLEXSOURCES = src/lexer.l - BISONSOURCES = src/parser.y + BISONSOURCES = src\\parser.y + QMAKE_CXXFLAGS += -DNOGDI -DGLEW_STATIC -DOPENSCAD_QTGUI -Wa,--hash-size=2048 -O2 + QMAKE_CXXFLAGS += -I/c/msys64/mingw64/include + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/eigen3" + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/freetype2" + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/harfbuzz" + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/glib-2.0" + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/lib/glib-2.0/include" + QMAKE_LFLAGS += -I/mingw64/lib + LIBS += -lintl -lglib-2.0 -lCGAL -lglew32 -lfontconfig -lfreetype -lharfbuzz -lmpfr -lgmp } else { Add boost libs isEmpty(BOOST_LINK_FLAGS):win* { - BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1 -llibboost_program_options-vc90-mt-s-1_46_1 -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1 -llibboost_regex-vc90-mt-s-1_46_1 + DEFINES += BOOST_STATIC + DEFINES += BOOST_THREAD_USE_LIB + DEFINES += Boost_USE_STATIC_LIBS + #BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1 -llibboost_program_options-vc90-mt-s-1_46_1 -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1 -llibboost_regex-vc90-mt-s-1_46_1 + BOOST_LINK_FLAGS = -lboost_thread-mt -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_regex-mt } Comment out one line in glew.pri # win32:LIBS += -lglew32s Comment out two lines in cgal.pri # win*: QMAKE_INCDIR += $$CGAL_DIR/auxiliary/gmp/include # LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc110-mt-gd
RR
Robert Rapplea
Sun, Dec 14, 2014 8:01 PM

"I have no doubt that either Qt or some number of its associated tools or addons
(e.g. MinGW) will have to be downgraded. "

On this point, everything we include needs to be tagged with a version and/or
build number. The world of Java is really good about this with Maven and C# has
NuGet, but I don't know if there's an equivalent for C++.

On 12/14/2014 10:18 AM, tdeagan wrote:

I've got a fresh Win8.1 machine that I'm setting up per the new model.

First issue that Ive noticed in installing Qt is that there are a LOT of
choices about what gets installed, both version and component.  I'm starting
with the most recent version of Qt, 5.4 and probably a big overkill on
additional components.  Download is taking 8+ hours.

We'll want to figure out what the minimal install is at some point, and I
have no doubt that either Qt or some number of its associated tools or
addons (e.g. MinGW) will have to be downgraded.

I'm keeping notes, hopefully the right ones!
--t

"I have no doubt that either Qt or some number of its associated tools or addons (e.g. MinGW) will have to be downgraded. " On this point, everything we include needs to be tagged with a version and/or build number. The world of Java is really good about this with Maven and C# has NuGet, but I don't know if there's an equivalent for C++. On 12/14/2014 10:18 AM, tdeagan wrote: > I've got a fresh Win8.1 machine that I'm setting up per the new model. > > First issue that Ive noticed in installing Qt is that there are a LOT of > choices about what gets installed, both version and component. I'm starting > with the most recent version of Qt, 5.4 and probably a big overkill on > additional components. Download is taking 8+ hours. > > We'll want to figure out what the minimal install is at some point, and I > have no doubt that either Qt or some number of its associated tools or > addons (e.g. MinGW) will have to be downgraded. > > I'm keeping notes, hopefully the right ones! > --t > > > > >
T
tdeagan
Mon, Dec 15, 2014 5:16 AM

mx wrote

Also I feel like I must warn you. It will be a lot easier to setup a
secondary/virtual linux pc. Getting all these dependencies configured and
compiled on Windows... I tried but ... lost patience

Ha!  I didn't take your */warning /*near seriously enough!  There are
definitely ominous omens surrounding this effort.  While installing msys2 on
my 'fresh' laptop it seemed to oddly hang during the download.  Then,
moments later, while printing an ornament for my festivus pole, I managed to
knock a can of hairspray off the shelf crashing it into the keyboard of the
laptop.  A really good solid kinetic transfer of energy.

The laptop worked for a little while, it hung, it worked, it hung hard, it
crashed.  It boots to recovery mode, recovery mode crashes.  It reboots and
boot manager denies the existence of any bootable media.  (and joy of joys,
it's a UEFI box, so futzing with the boot is a real can of fun  ).

Oh well, I wanted an SSD for the box in any case and now I'll get an early
christmas present.  If I'd known that setting up the environment for
building OpenSCAD in Windows involved starting from a virgin hard drive on
up, I might have hesitated...

But the motto that's gotten me through 20 years of software & hardware
development has always been "How hard can it be?"  So on to another learning
experience!

Cheers,
--tim

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10542.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

mx wrote > Also I feel like I must warn you. It will be a lot easier to setup a > secondary/virtual linux pc. Getting all these dependencies configured and > compiled on Windows... I tried but ... lost patience Ha! I didn't take your */warning /*near seriously enough! There are definitely ominous omens surrounding this effort. While installing msys2 on my 'fresh' laptop it seemed to oddly hang during the download. Then, moments later, while printing an ornament for my festivus pole, I managed to knock a can of hairspray off the shelf crashing it into the keyboard of the laptop. A really good solid kinetic transfer of energy. The laptop worked for a little while, it hung, it worked, it hung hard, it crashed. It boots to recovery mode, recovery mode crashes. It reboots and boot manager denies the existence of any bootable media. (and joy of joys, it's a UEFI box, so futzing with the boot is a real can of fun ). Oh well, I wanted an SSD for the box in any case and now I'll get an early christmas present. If I'd known that setting up the environment for building OpenSCAD in Windows involved starting from a virgin hard drive on up, I might have hesitated... But the motto that's gotten me through 20 years of software & hardware development has always been "How hard can it be?" So on to another learning experience! Cheers, --tim -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10542.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Mon, Dec 15, 2014 7:18 AM

The ghost of Christmas, you must have been naughty this year, or nice if you
wished for a SSD.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10543.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

The ghost of Christmas, you must have been naughty this year, or nice if you wished for a SSD. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10543.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Tue, Dec 16, 2014 10:44 PM

Following tp3's description I've come to compiling OpenCSG. When I run
mingw32-make.exe it fails with this:

main.cpp:38:21: fatal error: GL/glut.h: No such file or directory
#include <GL/glut.h>
^
compilation terminated.
Makefile:122: recipe for target 'main.o' failed
mingw32-make[1]: *** [main.o] Error 1
mingw32-make[1]: Leaving directory
'C:/msys64/home/Frode/OpenCSG-1.4.0/example'
Makefile:64: recipe for target 'sub-example-make_first' failed
mingw32-make: *** [sub-example-make_first] Error 2

Am I missing a prerequisite?

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10567.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Following tp3's description I've come to compiling OpenCSG. When I run mingw32-make.exe it fails with this: main.cpp:38:21: fatal error: GL/glut.h: No such file or directory #include <GL/glut.h> ^ compilation terminated. Makefile:122: recipe for target 'main.o' failed mingw32-make[1]: *** [main.o] Error 1 mingw32-make[1]: Leaving directory 'C:/msys64/home/Frode/OpenCSG-1.4.0/example' Makefile:64: recipe for target 'sub-example-make_first' failed mingw32-make: *** [sub-example-make_first] Error 2 Am I missing a prerequisite? -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10567.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Wed, Dec 17, 2014 6:17 PM

I got one step further after manually changing the files mentioned in that
.patch file.

Torsten, I don't quite understand what to do with the following. Could you
clarify what you mean here?

tp3 wrote

All that needs to the respective qmake files... but here it is just
hardcoded
in openscad.pro... nothing that should go into any documentation.

win* {
FLEXSOURCES = src/lexer.l

  • BISONSOURCES = src/parser.y
  • BISONSOURCES = src\parser.y
  • QMAKE_CXXFLAGS += -DNOGDI -DGLEW_STATIC -DOPENSCAD_QTGUI
    -Wa,--hash-size=2048 -O2
  • QMAKE_CXXFLAGS += -I/c/msys64/mingw64/include
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/eigen3"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/freetype2"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/harfbuzz"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/glib-2.0"
  • QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/lib/glib-2.0/include"
  • QMAKE_LFLAGS += -I/mingw64/lib
  • LIBS += -lintl -lglib-2.0 -lCGAL -lglew32 -lfontconfig -lfreetype
    -lharfbuzz -lmpfr -lgmp
    } else {

Add boost libs

 isEmpty(BOOST_LINK_FLAGS):win* {
  • BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1
    -llibboost_program_options-vc90-mt-s-1_46_1
    -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1
    -llibboost_regex-vc90-mt-s-1_46_1
  • DEFINES += BOOST_STATIC
  • DEFINES += BOOST_THREAD_USE_LIB
  • DEFINES += Boost_USE_STATIC_LIBS
  • #BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1
    -llibboost_program_options-vc90-mt-s-1_46_1
    -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1
    -llibboost_regex-vc90-mt-s-1_46_1
  • BOOST_LINK_FLAGS = -lboost_thread-mt -lboost_program_options-mt
    -lboost_filesystem-mt -lboost_system-mt -lboost_regex-mt
    }

Comment out one line in glew.pri

win32:LIBS += -lglew32s

Comment out two lines in cgal.pri

win*: QMAKE_INCDIR += $$CGAL_DIR/auxiliary/gmp/include

LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc110-mt-gd

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10589.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I got one step further after manually changing the files mentioned in that .patch file. Torsten, I don't quite understand what to do with the following. Could you clarify what you mean here? tp3 wrote > > All that needs to the respective qmake files... but here it is just > hardcoded > in openscad.pro... nothing that should go into any documentation. > > win* { > FLEXSOURCES = src/lexer.l > - BISONSOURCES = src/parser.y > + BISONSOURCES = src\\parser.y > + QMAKE_CXXFLAGS += -DNOGDI -DGLEW_STATIC -DOPENSCAD_QTGUI > -Wa,--hash-size=2048 -O2 > + QMAKE_CXXFLAGS += -I/c/msys64/mingw64/include > + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/eigen3" > + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/freetype2" > + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/harfbuzz" > + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/include/glib-2.0" > + QMAKE_CXXFLAGS += -I"c:/msys64/mingw64/lib/glib-2.0/include" > + QMAKE_LFLAGS += -I/mingw64/lib > + LIBS += -lintl -lglib-2.0 -lCGAL -lglew32 -lfontconfig -lfreetype > -lharfbuzz -lmpfr -lgmp > } else { > > Add boost libs > > isEmpty(BOOST_LINK_FLAGS):win* { > - BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1 > -llibboost_program_options-vc90-mt-s-1_46_1 > -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1 > -llibboost_regex-vc90-mt-s-1_46_1 > + DEFINES += BOOST_STATIC > + DEFINES += BOOST_THREAD_USE_LIB > + DEFINES += Boost_USE_STATIC_LIBS > + #BOOST_LINK_FLAGS = -llibboost_thread-vc90-mt-s-1_46_1 > -llibboost_program_options-vc90-mt-s-1_46_1 > -llibboost_filesystem-vc90-mt-s-1_46_1 -llibboost_system-vc90-mt-s-1_46_1 > -llibboost_regex-vc90-mt-s-1_46_1 > + BOOST_LINK_FLAGS = -lboost_thread-mt -lboost_program_options-mt > -lboost_filesystem-mt -lboost_system-mt -lboost_regex-mt > } > > Comment out one line in glew.pri > > # win32:LIBS += -lglew32s > > Comment out two lines in cgal.pri > > # win*: QMAKE_INCDIR += $$CGAL_DIR/auxiliary/gmp/include > > # LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc110-mt-gd -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10589.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Wed, Dec 17, 2014 6:25 PM

On 12/17/2014 07:17 PM, Scalpel78 wrote:

I got one step further after manually changing the files mentioned in that
.patch file.

Hmm, right, I guess I missed the OpenCSG build script modification in my
log.

Torsten, I don't quite understand what to do with the following. Could you
clarify what you mean here?

You mean the changes to the qmake files?

It's always mentioning the file, e.g. openscad.pro (main qmake file) or
glew.pri/boost.pri/... (imported by openscad.pro).

Essentially remove the lines starting with "-" and add those with "+".
It's basically a diff of the OpenSCAD directory after doing the changes
against the original github source.

ciao,
Torsten.

On 12/17/2014 07:17 PM, Scalpel78 wrote: > I got one step further after manually changing the files mentioned in that > .patch file. > Hmm, right, I guess I missed the OpenCSG build script modification in my log. > Torsten, I don't quite understand what to do with the following. Could you > clarify what you mean here? > You mean the changes to the qmake files? It's always mentioning the file, e.g. openscad.pro (main qmake file) or glew.pri/boost.pri/... (imported by openscad.pro). Essentially remove the lines starting with "-" and add those with "+". It's basically a diff of the OpenSCAD directory after doing the changes against the original github source. ciao, Torsten.
S
Scalpel78
Wed, Dec 17, 2014 8:46 PM

Right, got it.

I've made all the changes, and have opened the project in Qt Creator. When
building I get:

21:42:05: Running steps for project openscad...
21:42:05: Configuration unchanged, skipping qmake step.
21:42:05: Starting: "C:\msys64\mingw64\bin\mingw32-make.exe"
C:/msys64/mingw64/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory
'C:/openscad/build-openscad-Desktop_Qt_5_3_MinGW_w64_64bit_MSYS2-Debug'
flex -P lexer -o../openscad/src/lexer.lexer.cpp ../openscad/src/lexer.l
flex: can't open lexer
Makefile.Debug:562: recipe for target '../openscad/src/lexer.lexer.cpp'
failed
mingw32-make[1]: *** [../openscad/src/lexer.lexer.cpp] Error 1
mingw32-make[1]: Leaving directory
'C:/openscad/build-openscad-Desktop_Qt_5_3_MinGW_w64_64bit_MSYS2-Debug'
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
21:42:06: The process "C:\msys64\mingw64\bin\mingw32-make.exe" exited with
code 2.
Error while building/deploying project openscad (kit: Desktop Qt 5.3
MinGW-w64 64bit (MSYS2))
When executing step "Make"
21:42:06: Elapsed time: 00:01.

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10602.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Right, got it. I've made all the changes, and have opened the project in Qt Creator. When building I get: 21:42:05: Running steps for project openscad... 21:42:05: Configuration unchanged, skipping qmake step. 21:42:05: Starting: "C:\msys64\mingw64\bin\mingw32-make.exe" C:/msys64/mingw64/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory 'C:/openscad/build-openscad-Desktop_Qt_5_3_MinGW_w64_64bit_MSYS2-Debug' flex -P lexer -o../openscad/src/lexer.lexer.cpp ../openscad/src/lexer.l flex: can't open lexer Makefile.Debug:562: recipe for target '../openscad/src/lexer.lexer.cpp' failed mingw32-make[1]: *** [../openscad/src/lexer.lexer.cpp] Error 1 mingw32-make[1]: Leaving directory 'C:/openscad/build-openscad-Desktop_Qt_5_3_MinGW_w64_64bit_MSYS2-Debug' Makefile:34: recipe for target 'debug' failed mingw32-make: *** [debug] Error 2 21:42:06: The process "C:\msys64\mingw64\bin\mingw32-make.exe" exited with code 2. Error while building/deploying project openscad (kit: Desktop Qt 5.3 MinGW-w64 64bit (MSYS2)) When executing step "Make" 21:42:06: Elapsed time: 00:01. -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10602.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Wed, Dec 17, 2014 8:52 PM

On 12/17/2014 09:46 PM, Scalpel78 wrote:

mingw32-make[1]: Entering directory
'C:/openscad/build-openscad-Desktop_Qt_5_3_MinGW_w64_64bit_MSYS2-Debug'
flex -P lexer -o../openscad/src/lexer.lexer.cpp ../openscad/src/lexer.l
flex: can't open lexer
Makefile.Debug:562: recipe for target '../openscad/src/lexer.lexer.cpp'
failed

That looks like it's not finding the file as it's doing an out-of-source
build (which I think is the default).

What's the project setting "General -> Shadow build"?

That should just point to the folder with the OpenSCAD source.

ciao,
Torsten.

On 12/17/2014 09:46 PM, Scalpel78 wrote: > mingw32-make[1]: Entering directory > 'C:/openscad/build-openscad-Desktop_Qt_5_3_MinGW_w64_64bit_MSYS2-Debug' > flex -P lexer -o../openscad/src/lexer.lexer.cpp ../openscad/src/lexer.l > flex: can't open lexer > Makefile.Debug:562: recipe for target '../openscad/src/lexer.lexer.cpp' > failed > That looks like it's not finding the file as it's doing an out-of-source build (which I think is the default). What's the project setting "General -> Shadow build"? That should just point to the folder with the OpenSCAD source. ciao, Torsten.
S
Scalpel78
Wed, Dec 17, 2014 9:40 PM

The sourcecode is downloaded from GIT into C:\openscad\openscad

The Shadow build checkbox is on, and I've tried changing the path to both
C:\openscad\openscad and C:\openscad\openscad\src, but on both cases it
fails on "flex: can't open lexer".

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10604.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

The sourcecode is downloaded from GIT into C:\openscad\openscad The Shadow build checkbox is on, and I've tried changing the path to both C:\openscad\openscad and C:\openscad\openscad\src, but on both cases it fails on "flex: can't open lexer". -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10604.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Thu, Dec 18, 2014 5:04 PM

Hi,

Is the Windows build page (https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows) updated with your latest fixes?

-Marius

Hi, Is the Windows build page (https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows) updated with your latest fixes? -Marius
S
Scalpel78
Thu, Dec 18, 2014 6:02 PM

Yes, that page is up-to-date with the setup I have used.

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10611.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Yes, that page is up-to-date with the setup I have used. -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10611.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
mx
Thu, Dec 18, 2014 6:35 PM

What flex version do you have installed?


lazy.scad - http://www.thingiverse.com/thing:512443

View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10612.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

What flex version do you have installed? ----- lazy.scad - http://www.thingiverse.com/thing:512443 -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10612.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Thu, Dec 18, 2014 7:12 PM

$ flex --version
flex 2.5.39

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10613.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

$ flex --version flex 2.5.39 -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10613.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
mx
Thu, Dec 18, 2014 8:36 PM

Then I don't know, that one should do fine.


lazy.scad - http://www.thingiverse.com/thing:512443

View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10614.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Then I don't know, that one should do fine. ----- lazy.scad - http://www.thingiverse.com/thing:512443 -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10614.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Thu, Dec 18, 2014 9:26 PM

On Dec 18, 2014, at 13:02 PM, Scalpel78 frode@lillerud.no wrote:

Yes, that page is up-to-date with the setup I have used.

Looks like the OpenCSG fixes didn’t make it to that page. It still tries to build examples and link with GLUT.

-Marius

On Dec 18, 2014, at 13:02 PM, Scalpel78 <frode@lillerud.no> wrote: > Yes, that page is up-to-date with the setup I have used. > Looks like the OpenCSG fixes didn’t make it to that page. It still tries to build examples and link with GLUT. -Marius
S
Scalpel78
Fri, Dec 19, 2014 6:25 PM

Right, I forgot to document that part. But I did it manually on my machine,
so I don't think that causes that 'lexer' error.

Is there an easy way to apply the .patch file to avoid having to make each
change manually?

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10643.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Right, I forgot to document that part. But I did it manually on my machine, so I don't think that causes that 'lexer' error. Is there an easy way to apply the .patch file to avoid having to make each change manually? -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10643.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Fri, Dec 19, 2014 6:30 PM

On 12/19/2014 07:25 PM, Scalpel78 wrote:

Is there an easy way to apply the .patch file to avoid having to make each
change manually?

Yes, if you have the OpenSCAD sources cloned and made the changes, you can
generate the full diff using "git diff > file.patch".

This could then be applied by "patch -p1 < file.patch" again on clean sources.

ciao,
Torsten.

On 12/19/2014 07:25 PM, Scalpel78 wrote: > Is there an easy way to apply the .patch file to avoid having to make each > change manually? > Yes, if you have the OpenSCAD sources cloned and made the changes, you can generate the full diff using "git diff > file.patch". This could then be applied by "patch -p1 < file.patch" again on clean sources. ciao, Torsten.
S
Scalpel78
Fri, Dec 19, 2014 7:09 PM

I got one step further by running the flex command in msys2 bash:

$ flex -P lexer -o src/lexer.lexer.cpp src/lexer.l

That ran without errors.

Now when I try to build in Qt Creator I get this error:

20:03:01: Starting: "C:\msys64\mingw64\bin\mingw32-make.exe"
C:/msys64/mingw64/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/openscad/openscad'
bison -d -p parser -o src/parser_yacc.cpp src/parser.y && if [[ -e
src/parser_yacc.hpp ]] ; then mv src/parser_yacc.hpp src/parser_yacc.h ; fi
0 [main] sh 5524 sync_with_child: child 5184(0x164) died before
initialization with status code 0xC0000142
25 [main] sh 5524 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
Makefile.Debug:568: recipe for target 'src/parser_yacc.cpp' failed
mingw32-make[1]: *** [src/parser_yacc.cpp] Error 128
mingw32-make[1]: Leaving directory 'C:/openscad/openscad'
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
20:03:04: The process "C:\msys64\mingw64\bin\mingw32-make.exe" exited with
code 2.
Error while building/deploying project openscad (kit: Desktop Qt 5.3
MinGW-w64 64bit (MSYS2))
When executing step "Make"
20:03:04: Elapsed time: 00:03.

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10645.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I got one step further by running the flex command in msys2 bash: $ flex -P lexer -o src/lexer.lexer.cpp src/lexer.l That ran without errors. Now when I try to build in Qt Creator I get this error: 20:03:01: Starting: "C:\msys64\mingw64\bin\mingw32-make.exe" C:/msys64/mingw64/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory 'C:/openscad/openscad' bison -d -p parser -o src/parser_yacc.cpp src/parser.y && if [[ -e src/parser_yacc.hpp ]] ; then mv src/parser_yacc.hpp src/parser_yacc.h ; fi 0 [main] sh 5524 sync_with_child: child 5184(0x164) died before initialization with status code 0xC0000142 25 [main] sh 5524 sync_with_child: *** child state waiting for longjmp /usr/bin/sh: fork: Resource temporarily unavailable Makefile.Debug:568: recipe for target 'src/parser_yacc.cpp' failed mingw32-make[1]: *** [src/parser_yacc.cpp] Error 128 mingw32-make[1]: Leaving directory 'C:/openscad/openscad' Makefile:34: recipe for target 'debug' failed mingw32-make: *** [debug] Error 2 20:03:04: The process "C:\msys64\mingw64\bin\mingw32-make.exe" exited with code 2. Error while building/deploying project openscad (kit: Desktop Qt 5.3 MinGW-w64 64bit (MSYS2)) When executing step "Make" 20:03:04: Elapsed time: 00:03. -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10645.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Fri, Dec 19, 2014 7:20 PM

I've updated the documentation with the changes from the .patch file.

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10646.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I've updated the documentation with the changes from the .patch file. -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10646.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Dec 20, 2014 6:57 PM

Thanks to the MSYS2 developers, all dependencies needed for OpenSCAD are
available as MSYS2 packages now and can simply be installed using pacman.

I've updated the wiki page...
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows

Note that there's still an issue with QScintilla crashing when using debug
build (error: "QWidget: Must construct a QApplication before a QWidget").

Anyone having an idea what's wrong there?

The release build does work.

ciao,
Torsten.

Thanks to the MSYS2 developers, all dependencies needed for OpenSCAD are available as MSYS2 packages now and can simply be installed using pacman. I've updated the wiki page... https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows Note that there's still an issue with QScintilla crashing when using debug build (error: "QWidget: Must construct a QApplication before a QWidget"). Anyone having an idea what's wrong there? The release build does work. ciao, Torsten.
S
Scalpel78
Sat, Dec 20, 2014 7:20 PM

That is awesome! Thanks, I'll try to reinstall everything using msys2.

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10667.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

That is awesome! Thanks, I'll try to reinstall everything using msys2. -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10667.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Dec 20, 2014 10:48 PM

Compilation on MSYS2 should now work without any changes in the OpenSCAD sources.

Many thanks to Alexpux from MSYS2 for the help.

We might get a debug version from QScintilla as package too, that would enable
us to create debug builds later.

In the meantime it would require to build debug versions of the QScintilla
library.

ciao,
Torsten.

Compilation on MSYS2 should now work without any changes in the OpenSCAD sources. Many thanks to Alexpux from MSYS2 for the help. We might get a debug version from QScintilla as package too, that would enable us to create debug builds later. In the meantime it would require to build debug versions of the QScintilla library. ciao, Torsten.
R
RoyOnWheels
Wed, Dec 24, 2014 4:56 AM

It's not clear do I download everything under the dependencies link at the
top? or is msys2 doing it for me?

Roy

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10709.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

It's not clear do I download everything under the dependencies link at the top? or is msys2 doing it for me? Roy -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10709.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Wed, Dec 24, 2014 5:50 AM

On Dec 23, 2014, at 23:56 PM, RoyOnWheels royavery@hotmail.com wrote:

It's not clear do I download everything under the dependencies link at the
top? or is msys2 doing it for me?

That’s all don through MSYS. That link is just informational.

-Marius

On Dec 23, 2014, at 23:56 PM, RoyOnWheels <royavery@hotmail.com> wrote: > It's not clear do I download everything under the dependencies link at the > top? or is msys2 doing it for me? > That’s all don through MSYS. That link is just informational. -Marius
T
tdeagan
Thu, Dec 25, 2014 6:36 PM

Great Christmas present!!  I want to report a successful basic release build
under Windows 8.1 using the new instructions!  I did have to rename my
Windows account from 'Tim Deagan' to 'tdeagan' since msys2 can't handle
spaces in the paths, but otherwise everything worked great.

Thanks for the help and docs!!  I'm going to pull the new dev that I'd
completed on my Debian VM down to the Windows environment and see if I can
keep that development going (I've got a nice View menu driven set of scaling
tics on the axes working there.)

cheers (and a happy holiday to all!)
--tim

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10718.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Great Christmas present!! I want to report a successful basic release build under Windows 8.1 using the new instructions! I did have to rename my Windows account from 'Tim Deagan' to 'tdeagan' since msys2 can't handle spaces in the paths, but otherwise everything worked great. Thanks for the help and docs!! I'm going to pull the new dev that I'd completed on my Debian VM down to the Windows environment and see if I can keep that development going (I've got a nice View menu driven set of scaling tics on the axes working there.) cheers (and a happy holiday to all!) --tim -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10718.html Sent from the OpenSCAD mailing list archive at Nabble.com.
T
tdeagan
Wed, Dec 31, 2014 8:12 AM

This undoubtedly shows my Git ignorance (I've always worked in SVN/CVS shops
and projects, OpenSCAD is my first Git experience,) but can someone share
the reason that these files aren't tracked or in the .gitignore:
Makefile.Debug
Makefile.Release
object_script.openscad.Debug
object_script.openscad.Release
openscad.exe
release/
src/lexer.lexer.cpp
src/parser_yacc.cpp

I'm really liking Git, they're going to hate me at work when I come back
from vacation and terrify them with the idea I might make us switch from
SVN.  It was already my April Fools joke on the team this last year and they
didn't think it was funny then (I did :-)  For us it would be a significant
re-tooling (Puppet, Rundeck, Jenkins, Jira/Greenhopper, Tortoise, Ankhsvn,
RedGate, etc. are all working nicely with SVN for us) but maybe I can start
a new project up with it...

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10820.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

This undoubtedly shows my Git ignorance (I've always worked in SVN/CVS shops and projects, OpenSCAD is my first Git experience,) but can someone share the reason that these files aren't tracked or in the .gitignore: Makefile.Debug Makefile.Release object_script.openscad.Debug object_script.openscad.Release openscad.exe release/ src/lexer.lexer.cpp src/parser_yacc.cpp I'm really liking Git, they're going to hate me at work when I come back from vacation and terrify them with the idea I might make us switch from SVN. It was already my April Fools joke on the team this last year and they didn't think it was funny then (I did :-) For us it would be a significant re-tooling (Puppet, Rundeck, Jenkins, Jira/Greenhopper, Tortoise, Ankhsvn, RedGate, etc. are all working nicely with SVN for us) but maybe I can start a new project up with it... -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10820.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Wed, Dec 31, 2014 6:29 PM

On Dec 31, 2014, at 03:12 AM, tdeagan tim@deagan.net wrote:

[…] but can someone share
the reason that these files aren't tracked or in the .gitignore:
Makefile.Debug
Makefile.Release
object_script.openscad.Debug
object_script.openscad.Release
openscad.exe
release/

These are all related to the new Windows build system and we didn’t yet add them to .gitignore

    src/lexer.lexer.cpp
    src/parser_yacc.cpp

Where do these come from? To my knowledge, these files should not be written to the src/ folder. If they’re written to the correct location, they’ll be ignored.

I'm really liking Git,

Once you switch you won’t switch back. The git workflow is, IMO, far superior to the centralized svn-style systems.
More recent svn versions do have better branching behavior then earlier though, so it’s not as much of a magic switch as it used to be.
A lot of corporate users tend to choose Mercurial over git. Not sure why.

-Marius

On Dec 31, 2014, at 03:12 AM, tdeagan <tim@deagan.net> wrote: > […] but can someone share > the reason that these files aren't tracked or in the .gitignore: > Makefile.Debug > Makefile.Release > object_script.openscad.Debug > object_script.openscad.Release > openscad.exe > release/ These are all related to the new Windows build system and we didn’t yet add them to .gitignore > src/lexer.lexer.cpp > src/parser_yacc.cpp > Where do these come from? To my knowledge, these files should not be written to the src/ folder. If they’re written to the correct location, they’ll be ignored. > I'm really liking Git, Once you switch you won’t switch back. The git workflow is, IMO, far superior to the centralized svn-style systems. More recent svn versions do have better branching behavior then earlier though, so it’s not as much of a magic switch as it used to be. A lot of corporate users tend to choose Mercurial over git. Not sure why. -Marius
T
tdeagan
Wed, Dec 31, 2014 6:38 PM
    src/lexer.lexer.cpp
    src/parser_yacc.cpp

Where do these come from? To my knowledge, these files should not be
written to the src/ folder. If they’re written to the correct location,
they’ll be ignored.

Hmmm.  Weird.  I found them in my clean master branch and in a seperate
clean clone I did of the OpenSCAD/OpenSCAD master branch.  But I didn't
check until after I did a build of each of these, so perhaps they're
emerging from the Win build somehow?

I'll do another clone of the master later today and check before and after/

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10831.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

>> src/lexer.lexer.cpp >> src/parser_yacc.cpp >> > Where do these come from? To my knowledge, these files should not be > written to the src/ folder. If they’re written to the correct location, > they’ll be ignored. Hmmm. Weird. I found them in my clean master branch and in a seperate clean clone I did of the OpenSCAD/OpenSCAD master branch. But I didn't check until after I did a build of each of these, so perhaps they're emerging from the Win build somehow? I'll do another clone of the master later today and check before and after/ -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10831.html Sent from the OpenSCAD mailing list archive at Nabble.com.
WW
William W Martin
Wed, Dec 31, 2014 8:10 PM

Are they perhaps created by Lex & Yacc? Seem to recall that from the
distant past...

On 12/31/2014 10:38 AM, tdeagan wrote:

     src/lexer.lexer.cpp
     src/parser_yacc.cpp

Where do these come from? To my knowledge, these files should not be
written to the src/ folder. If they’re written to the correct location,
they’ll be ignored.

Hmmm.  Weird.  I found them in my clean master branch and in a seperate
clean clone I did of the OpenSCAD/OpenSCAD master branch.  But I didn't
check until after I did a build of each of these, so perhaps they're
emerging from the Win build somehow?

I'll do another clone of the master later today and check before and after/

--
View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10831.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Are they perhaps created by Lex & Yacc? Seem to recall that from the distant past... On 12/31/2014 10:38 AM, tdeagan wrote: >>> src/lexer.lexer.cpp >>> src/parser_yacc.cpp >>> >> Where do these come from? To my knowledge, these files should not be >> written to the src/ folder. If they’re written to the correct location, >> they’ll be ignored. > Hmmm. Weird. I found them in my clean master branch and in a seperate > clean clone I did of the OpenSCAD/OpenSCAD master branch. But I didn't > check until after I did a build of each of these, so perhaps they're > emerging from the Win build somehow? > > I'll do another clone of the master later today and check before and after/ > > > > -- > View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10831.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
MK
Marius Kintel
Wed, Dec 31, 2014 8:33 PM

On Dec 31, 2014, at 15:10 PM, William W Martin wwm@wwmartin.net wrote:

Are they perhaps created by Lex & Yacc? Seem to recall that from the distant past…

They are, but they shouldn’t be created in the src/ folder, but in the root folder.
Sounds like a build glitch somewhere..

-Marius

On Dec 31, 2014, at 15:10 PM, William W Martin <wwm@wwmartin.net> wrote: > Are they perhaps created by Lex & Yacc? Seem to recall that from the distant past… > They are, but they shouldn’t be created in the src/ folder, but in the root folder. Sounds like a build glitch somewhere.. -Marius
TP
Torsten Paul
Wed, Dec 31, 2014 8:40 PM

On 12/31/2014 09:33 PM, Marius Kintel wrote:

They are, but they shouldn’t be created in the src/ folder, but in the root folder.
Sounds like a build glitch somewhere..

Looks like those are coming from there:
https://github.com/openscad/openscad/blob/master/scripts/release-common.sh#L233

I'm not sure if that's still required.

ciao,
Torsten.

On 12/31/2014 09:33 PM, Marius Kintel wrote: > They are, but they shouldn’t be created in the src/ folder, but in the root folder. > Sounds like a build glitch somewhere.. > Looks like those are coming from there: https://github.com/openscad/openscad/blob/master/scripts/release-common.sh#L233 I'm not sure if that's still required. ciao, Torsten.
MK
Marius Kintel
Wed, Dec 31, 2014 8:51 PM

On Dec 31, 2014, at 15:40 PM, Torsten Paul Torsten.Paul@gmx.de wrote:

Looks like those are coming from there:
https://github.com/openscad/openscad/blob/master/scripts/release-common.sh#L233

I'm not sure if that's still required.

Interesting. Given that those shouldn’t even be used I don’t see why they’d be needed.
Unless there are other places those files are messed with..

-Marius

On Dec 31, 2014, at 15:40 PM, Torsten Paul <Torsten.Paul@gmx.de> wrote: > Looks like those are coming from there: > https://github.com/openscad/openscad/blob/master/scripts/release-common.sh#L233 > > I'm not sure if that's still required. > Interesting. Given that those shouldn’t even be used I don’t see why they’d be needed. Unless there are other places those files are messed with.. -Marius