Building Coin3d and SoQt on MinGW: Difference between revisions

From ASCEND
Jump to navigation Jump to search
Created page with '[http://www.coin3d.org/ Coin3d] and [http://www.coin3d.org/lib/soqt/ SoQt] are software libraries that facilitate cross-platform 3D graphics based on the original SGI-developed c…'
 
No edit summary
Line 1: Line 1:
[http://www.coin3d.org/ Coin3d] and [http://www.coin3d.org/lib/soqt/ SoQt] are software libraries that facilitate cross-platform 3D graphics based on the original SGI-developed code named Open Inventor.
[http://www.coin3d.org/ Coin3d] and [http://www.coin3d.org/lib/soqt/ SoQt] are software libraries that facilitate cross-platform 3D graphics based on the original SGI-developed code named Open Inventor. Building an operational Coin3d/SoQt environment on MinGW is non-trivial and not actively supported by the Coin3d developers. We present our findings here based on developing under Windows 7 (64-bit) using the latest MinGW 32-bit release with GCC 4.5.2
 
== Coin3d ==
 
Building Coin3d was relatively not as difficult as building SoQt, because Coin3d is relatively self-contained.
 
<source lang=sh>
tar zxvf Coin-3.1.3.tar.gz
cd Coin-3.1.3
./configure --prefix=/home/john/install_temp
make -j2
make install
</source lang=sh>
 
== Qt ==
 
Building SoQt requires the Qt development environment to be installed on your machine. We installed the latest 2010.05 version of Qt, which was installed in its default location <tt>c:\Qt\2010.05</tt>.
 
== SoQt ==
 
Building SoQt on Windows 7 via MinGW/MSYS requires some tricky setting of environment variables. We found that the following worked:
 
<source lang=sh>
export QTDIR=/c/Qt/2010.05/qt
export QT4_LIBS="-L${QTDIR}/lib -lQtGui4 -lQtCore4 -lQtOpenGL4"
export QT4_CFLAGS="-DQT_SHARED -I${QTDIR}/include -I${QTDIR}/include/QtOpenGL -I${QTDIR}/include/QtCore -I${QTDIR}/include/QtGui"
export PATH=$PATH:${QTDIR}/bin
</source>
 
Then, to configure the build,
 
<source lang=sh>
tar zxvf ~/SoQt-1.5.0.tar.gz
cd SoQt-1.5.0
./configure --prefix=/home/john/install_temp
</source>
 
We finally saw the output:
SoQt configuration settings:
  Open Inventor brand:  Coin
  Static Materials:    Yes
  Installation Prefix:  /home/john/install_temp
 
To complete the build:
 
<source lang=sh>
make -j2
make install
</source>
 
Testing is continuing. We hope to provide an automated installer containing the resulting DLLs etc.
 
[[Category:Miscellany]]

Revision as of 07:56, 27 April 2011

Coin3d and SoQt are software libraries that facilitate cross-platform 3D graphics based on the original SGI-developed code named Open Inventor. Building an operational Coin3d/SoQt environment on MinGW is non-trivial and not actively supported by the Coin3d developers. We present our findings here based on developing under Windows 7 (64-bit) using the latest MinGW 32-bit release with GCC 4.5.2

Coin3d

Building Coin3d was relatively not as difficult as building SoQt, because Coin3d is relatively self-contained.

Invalid language.

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

a4c, abap, abc, abnf, actionscript, ada, agda, alan, algol, ampl, amtrix, applescript, arc, arm, as400cl, ascend, asciidoc, asp, aspect, assembler, ats, autohotkey, autoit, avenue, awk, ballerina, bat, bbcode, bcpl, bibtex, biferno, bison, blitzbasic, bms, bnf, boo, c, carbon, ceylon, charmm, chill, chpl, clean, clearbasic, clipper, clojure, clp, cmake, cobol, coffeescript, coldfusion, conf, cpp2, critic, crk, crystal, cs_block_regex, csharp, css, d, dart, delphi, diff, dockerfile, dts, dylan, ebnf, ebnf2, eiffel, elixir, elm, email, erb, erlang, euphoria, exapunks, excel, express, factor, fame, fasm, felix, fish, fortran77, fortran90, frink, fsharp, fstab, fx, gambas, gdb, gdscript, go, graphviz, haml, hare, haskell, haxe, hcl, html, httpd, hugo, icon, idl, idlang, inc_luatex, informix, ini, innosetup, interlis, io, jam, jasmin, java, javascript, js_regex, json, jsp, jsx, julia, kotlin, ldif, less, lhs, lilypond, limbo, lindenscript, lisp, logtalk, lotos, lotus, lua, luban, makefile, maple, markdown, matlab, maya, mercury, meson, miranda, mod2, mod3, modelica, moon, ms, msl, mssql, mxml, n3, nasal, nbc, nemerle, netrexx, nginx, nice, nim, nix, nsis, nxc, oberon, objc, ocaml, octave, oorexx, org, os, oz, paradox, pas, pdf, perl, php, pike, pl1, plperl, plpython, pltcl, po, polygen, pony, pov, powershell, pro, progress, ps, psl, pure, purebasic, purescript, pyrex, python, q, qmake, qml, qu, r, rebol, rego, rexx, rnc, rpg, rpl, rst, ruby, rust, s, sam, sas, scad, scala, scilab, scss, shellscript, slim, small, smalltalk, sml, snmp, snobol, solidity, spec, spn, sql, squirrel, styl, svg, swift, sybase, tcl, tcsh, terraform, tex, toml, tsql, tsx, ttcn3, txt, typescript, upc, vala, vb, verilog, vhd, vimscript, vue, wat, whiley, wren, xml, xpp, yaiff, yaml, yaml_ansible, yang, zig, znn

Then, to configure the build,

Invalid language.

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

a4c, abap, abc, abnf, actionscript, ada, agda, alan, algol, ampl, amtrix, applescript, arc, arm, as400cl, ascend, asciidoc, asp, aspect, assembler, ats, autohotkey, autoit, avenue, awk, ballerina, bat, bbcode, bcpl, bibtex, biferno, bison, blitzbasic, bms, bnf, boo, c, carbon, ceylon, charmm, chill, chpl, clean, clearbasic, clipper, clojure, clp, cmake, cobol, coffeescript, coldfusion, conf, cpp2, critic, crk, crystal, cs_block_regex, csharp, css, d, dart, delphi, diff, dockerfile, dts, dylan, ebnf, ebnf2, eiffel, elixir, elm, email, erb, erlang, euphoria, exapunks, excel, express, factor, fame, fasm, felix, fish, fortran77, fortran90, frink, fsharp, fstab, fx, gambas, gdb, gdscript, go, graphviz, haml, hare, haskell, haxe, hcl, html, httpd, hugo, icon, idl, idlang, inc_luatex, informix, ini, innosetup, interlis, io, jam, jasmin, java, javascript, js_regex, json, jsp, jsx, julia, kotlin, ldif, less, lhs, lilypond, limbo, lindenscript, lisp, logtalk, lotos, lotus, lua, luban, makefile, maple, markdown, matlab, maya, mercury, meson, miranda, mod2, mod3, modelica, moon, ms, msl, mssql, mxml, n3, nasal, nbc, nemerle, netrexx, nginx, nice, nim, nix, nsis, nxc, oberon, objc, ocaml, octave, oorexx, org, os, oz, paradox, pas, pdf, perl, php, pike, pl1, plperl, plpython, pltcl, po, polygen, pony, pov, powershell, pro, progress, ps, psl, pure, purebasic, purescript, pyrex, python, q, qmake, qml, qu, r, rebol, rego, rexx, rnc, rpg, rpl, rst, ruby, rust, s, sam, sas, scad, scala, scilab, scss, shellscript, slim, small, smalltalk, sml, snmp, snobol, solidity, spec, spn, sql, squirrel, styl, svg, swift, sybase, tcl, tcsh, terraform, tex, toml, tsql, tsx, ttcn3, txt, typescript, upc, vala, vb, verilog, vhd, vimscript, vue, wat, whiley, wren, xml, xpp, yaiff, yaml, yaml_ansible, yang, zig, znn

We finally saw the output:

SoQt configuration settings:
  Open Inventor brand:  Coin
  Static Materials:     Yes
  Installation Prefix:  /home/john/install_temp

To complete the build:

Invalid language.

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

a4c, abap, abc, abnf, actionscript, ada, agda, alan, algol, ampl, amtrix, applescript, arc, arm, as400cl, ascend, asciidoc, asp, aspect, assembler, ats, autohotkey, autoit, avenue, awk, ballerina, bat, bbcode, bcpl, bibtex, biferno, bison, blitzbasic, bms, bnf, boo, c, carbon, ceylon, charmm, chill, chpl, clean, clearbasic, clipper, clojure, clp, cmake, cobol, coffeescript, coldfusion, conf, cpp2, critic, crk, crystal, cs_block_regex, csharp, css, d, dart, delphi, diff, dockerfile, dts, dylan, ebnf, ebnf2, eiffel, elixir, elm, email, erb, erlang, euphoria, exapunks, excel, express, factor, fame, fasm, felix, fish, fortran77, fortran90, frink, fsharp, fstab, fx, gambas, gdb, gdscript, go, graphviz, haml, hare, haskell, haxe, hcl, html, httpd, hugo, icon, idl, idlang, inc_luatex, informix, ini, innosetup, interlis, io, jam, jasmin, java, javascript, js_regex, json, jsp, jsx, julia, kotlin, ldif, less, lhs, lilypond, limbo, lindenscript, lisp, logtalk, lotos, lotus, lua, luban, makefile, maple, markdown, matlab, maya, mercury, meson, miranda, mod2, mod3, modelica, moon, ms, msl, mssql, mxml, n3, nasal, nbc, nemerle, netrexx, nginx, nice, nim, nix, nsis, nxc, oberon, objc, ocaml, octave, oorexx, org, os, oz, paradox, pas, pdf, perl, php, pike, pl1, plperl, plpython, pltcl, po, polygen, pony, pov, powershell, pro, progress, ps, psl, pure, purebasic, purescript, pyrex, python, q, qmake, qml, qu, r, rebol, rego, rexx, rnc, rpg, rpl, rst, ruby, rust, s, sam, sas, scad, scala, scilab, scss, shellscript, slim, small, smalltalk, sml, snmp, snobol, solidity, spec, spn, sql, squirrel, styl, svg, swift, sybase, tcl, tcsh, terraform, tex, toml, tsql, tsx, ttcn3, txt, typescript, upc, vala, vb, verilog, vhd, vimscript, vue, wat, whiley, wren, xml, xpp, yaiff, yaml, yaml_ansible, yang, zig, znn

Testing is continuing. We hope to provide an automated installer containing the resulting DLLs etc.