[MacPorts] #51840: [openscad] [2015.03-3_0] [build error]

MacPorts noreply at macports.org
Fri Jul 15 21:53:12 PDT 2016


#51840: [openscad] [2015.03-3_0] [build error]
-----------------------+------------------------
  Reporter:  moala@…   |      Owner:  dstrubbe@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.4
Resolution:            |   Keywords:
      Port:  openscad  |
-----------------------+------------------------

Comment (by kenneth.f.cunningham@…):

 I did manage to get this current OpenSCAD version to compile successfully
 on 10.6.8 with <https://trac.macports.org/wiki/LibcxxOnOlderSystems>
 installed. Perhaps this fix might work for you as well.
 Hope this helps. Ken.

 in the openscad Makefile, I added an objective C reference to libc++ like
 so:
 {{{

 QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS = -pipe \
                 -stdlib=libc++ \
                 -O2 \
              (etc)
 }}}

 I also had to add rebuild opencsg to make the link work on my system,
 adjusting the makefile by adding in a reference to libc++ as it was
 strangely built against the libstdc++ despite being freshly installed.

 {{{
 CXXFLAGS      = -pipe -std=c++11 -stdlib=libc++  (etc)

 and

 LIBS          = $(SUBLIBS) -lc++ (etc)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51840#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list