discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Compile OpenSCAD on Windows?

T
tdeagan
Thu, Jan 1, 2015 5:47 AM

Moments after starting the make (see below,) the two files appeared in my src
directory.

$ mingw32-make.exe
C:/msys64/mingw64/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory 'C:/msys64/home/tdeagan/test_openscad'
flex -P lexer -osrc/lexer.lexer.cpp src/lexer.l
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

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

Moments after starting the make (see below,) the two files appeared in my src directory. $ mingw32-make.exe C:/msys64/mingw64/bin/mingw32-make -f Makefile.Release mingw32-make[1]: Entering directory 'C:/msys64/home/tdeagan/test_openscad' flex -P lexer -o*src/lexer.lexer.cpp* src/lexer.l 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 -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10858.html Sent from the OpenSCAD mailing list archive at Nabble.com.
T
tdeagan
Thu, Jan 1, 2015 5:50 AM

this looks like the relevant parts from the Makefile.Release:

$(DESTDIR_TARGET): src/lexer.lexer.cpp src/parser_yacc.cpp
src/parser_yacc.h objects/ui_MainWindow.h objects/ui_Preferences.h
objects/ui_OpenCSGWarningDialog.h objects/ui_AboutDialog.h
objects/ui_FontListDialog.h objects/ui_ProgressWidget.h
objects/ui_launchingscreen.h objects/ui_LibraryInfoDialog.h $(OBJECTS)
objects/openscad_win32_res.o
$(LINKER) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.openscad.Release
$(LIBS)
C:/msys64/home/tdeagan/test_openscad/scripts/translation-make.sh

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

this looks like the relevant parts from the Makefile.Release: $(DESTDIR_TARGET): *src/lexer.lexer.cpp src/parser_yacc.cpp* src/parser_yacc.h objects/ui_MainWindow.h objects/ui_Preferences.h objects/ui_OpenCSGWarningDialog.h objects/ui_AboutDialog.h objects/ui_FontListDialog.h objects/ui_ProgressWidget.h objects/ui_launchingscreen.h objects/ui_LibraryInfoDialog.h $(OBJECTS) objects/openscad_win32_res.o $(LINKER) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.openscad.Release $(LIBS) C:/msys64/home/tdeagan/test_openscad/scripts/translation-make.sh -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10859.html Sent from the OpenSCAD mailing list archive at Nabble.com.
T
tdeagan
Thu, Jan 1, 2015 9:30 PM

I've been trying to get to the equivalent point in the Linux build docs for
getting all the testing stuff working properly.

When I try to run git init

eventually I had success doing a cleanup of all my failed stuff:

the submodule loaded and the files appeared.  (In truth a bunch more
fiddling and fu went on, but I think those were the relevant parts.)

So then I tried to do the equivalent of:

using qmake instead of cmake.  That didn't work

Having then done the requested installs of cmake and imagemagick described
in the tests folder WinReadMe file, I thought maybe I should follow its
instructions and run the OpenSCAD_Test_Console.py

I swapped the order of

to be before the move to tests-build that it makes.  This got me a little
farther:

I then thought that instead I should be following the Linux instructions so
I tried cmake:

It looks like this all probably relies on the scripts like
./scripts/uni-build-dependencies.sh
which I wasn't clear were ready for the MSYS2 build world.

In any event (whew) before I kludge up my install any more, is there a
best-path sequence I should be attempting?

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

I've been trying to get to the equivalent point in the Linux build docs for getting all the testing stuff working properly. When I try to run git init eventually I had success doing a cleanup of all my failed stuff: the submodule loaded and the files appeared. (In truth a bunch more fiddling and fu went on, but I _think_ those were the relevant parts.) So then I tried to do the equivalent of: using qmake instead of cmake. That didn't work Having then done the requested installs of cmake and imagemagick described in the tests folder WinReadMe file, I thought maybe I should follow its instructions and run the OpenSCAD_Test_Console.py I swapped the order of to be before the move to tests-build that it makes. This got me a little farther: I then thought that instead I should be following the Linux instructions so I tried cmake: It looks like this all probably relies on the scripts like ./scripts/uni-build-dependencies.sh which I wasn't clear were ready for the MSYS2 build world. In any event (whew) before I kludge up my install any more, is there a best-path sequence I should be attempting? -- View this message in context: http://forum.openscad.org/Compile-OpenSCAD-on-Windows-tp10516p10867.html Sent from the OpenSCAD mailing list archive at Nabble.com.