Building on Microsoft Windows: Difference between revisions

Jump to navigation Jump to search
→‎Building natively (MSYS2): PortAudio hack is no longer necessary
(→‎Building Octave: Add sentences that make clearer that building Octave on Windows is experimental)
(→‎Building natively (MSYS2): PortAudio hack is no longer necessary)
Line 125: Line 125:
And build with the following flags:
And build with the following flags:
<syntaxhighlight lang="bash">make -C ./.build all -j8 V=1 \
<syntaxhighlight lang="bash">make -C ./.build all -j8 V=1 \
   FLTK_LIBS="-lfltk_gl -lopengl32 -lglu32 -lfltk -lpthread" \
   FLTK_LIBS="-lfltk_gl -lopengl32 -lglu32 -lfltk -lpthread"
  PORTAUDIO_LIBS="-lportaudio -ldsound -lsetupapi -lwinmm -lm -lole32"
</syntaxhighlight>
</syntaxhighlight>
If you didn't build with FLTK or PortAudio, omit overriding the respective flags.
If you didn't build with FLTK, omit overriding the respective flag.


Octave doesn't run correctly from the MSYS2 shell due to issues with readline and backslash as a file separator. To be able to work with it anyway, install it with the following commands (from the MSYS2 shell in {{Path|.build}}):
Octave doesn't run correctly from the MSYS2 shell due to issues with readline and backslash as a file separator. To be able to work with it anyway, install it with the following commands (from the MSYS2 shell in {{Path|.build}}):
240

edits

Navigation menu