[MacPorts] #40515: codeblocks: fails to compile with libc++

MacPorts noreply at macports.org
Tue Sep 17 12:44:59 PDT 2013


#40515: codeblocks: fails to compile with libc++
---------------------+------------------------
 Reporter:  mojca@…  |      Owner:  mojca@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  codeblocks
---------------------+------------------------
 (Reported by Jeremy.)

 If you set "`cxx_stdlib libc++`" in `macports.conf` as discussed on
 `macports-dev`, you get the following error:
 {{{
 /usr/bin/clang++ -DHAVE_CONFIG_H
 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/lib/wx/include/gtk2
 -unicode-release-2.8
 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/include/wx-2.8
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -I../../src/include
 -I../../src/include -I../../src/sdk/wxscintilla/include
 -I../../src/include/tinyxml -I../../src/include/scripting/include
 -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet
 -I/opt/local/include -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -pipe
 -Os -arch x86_64 -stdlib=libc++ -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC
 -fexceptions -o sdk_precomp.h.gch -xc++-header ./sdk_precomp.h
 In file included from ./sdk_precomp.h:13:
 In file included from ../../src/include/sdk_common.h:43:
 ../../src/include/prep.h:409:10: fatal error: 'tr1/memory' file not found
 #include <tr1/memory>
          ^
 1 error generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40515>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list