mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] What's it doing?


Chronological Thread 
  • From: Michael Lachmann <address@hidden>
  • To: Martin Costabel <address@hidden>
  • Cc: Miguel de Benito Delgado <address@hidden>, texmacs-users <address@hidden>
  • Subject: Re: [TeXmacs] What's it doing?
  • Date: Mon, 12 Aug 2013 15:03:24 +0200

On 12 August 2013 14:56, Martin Costabel <address@hidden> wrote:
On 12/08/13 11:05, Michael Lachmann wrote:
[]

g++ [...] -mmacosx-version-min=10.4 -DMACOSX_DEPLOYMENT_TARGET=10.4
-c ./Plugins/MacOS/HIDRemote.m -o Objects/HIDRemote.o
cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++
but not for ObjC
<built-in>:0: warning: Mac OS X version 10.5 or later is needed for use
of the new objc abi

Why do you use -mmacosx-version-min=10.4 -DMACOSX_DEPLOYMENT_TARGET=10.4? I don't think the CoreText.framework existed in that era. I could imagine that your system headers get mixed up between old and new versions.


I don't know, I just work here.

I just run config, make...

But I tried to edit src/makefile and changed 10.4 to 10.8, and got the same error:
--
g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers -IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers -IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics -IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures -IGraphics/Spacial -IPlugins -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I. -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -F/opt/local/Library/Frameworks -F/opt/local/lib -DQTTEXMACS -Wall -Wno-return-type -O2 -fno-rtti -fno-exceptions -INONE/include -mmacosx-version-min=10.8 -DMACOSX_DEPLOYMENT_TARGET=10.8 -c ./Plugins/MacOS/HIDRemote.m -o Objects/HIDRemote.o
cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC
In file included from /System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:21,
                 from /System/Library/Frameworks/CoreText.framework/Headers/CTFont.h:21,
                 from /System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:22,
                 from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:56,
                 from /System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:7,
                 from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:138,
                 from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                 from ./Plugins/MacOS/HIDRemote.h:57,
                 from ./Plugins/MacOS/HIDRemote.m:52:
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:59: error: expected declaration specifiers or ‘...’ before ‘CTFontSymbolicTraits’
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:59: error: function definition declared ‘typedef’
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h: In function ‘CF_OPTIONS’:
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:59: error: parameter name omitted
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:60: error: ‘kCTFontTraitItalic’ undeclared (first use in this function)
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:60: error: (Each undeclared identifier is reported only once
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:60: error: for each function it appears in.)
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:61: error: ‘kCTFontTraitBold’ undeclared (first use in this function)
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:62: error: ‘kCTFontTraitExpanded’ undeclared (first use in this function)
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:63: error: ‘kCTFontTraitCondensed’ undeclared (first use in this function)
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:64: error: ‘kCTFontTraitMonoSpace’ undeclared (first use in this function)
--

Michael

--



In file included from
/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:21,
                  from
/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h:21,
                  from
/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:22,
                  from
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:56,
                  from
/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:7,
                  from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:138,
                  from
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from ./Plugins/MacOS/HIDRemote.h:57,
                  from ./Plugins/MacOS/HIDRemote.m:52:
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:59:
error: expected declaration specifiers or ‘...’ before
‘CTFontSymbolicTraits’
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:59:
error: function definition declared ‘typedef’
/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h: In
function ‘CF_OPTIONS’:

This means that your header file <CoreFoundation/CFBase.h> that should contain the definition of CF_OPTIONS does not have it. The file /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h on MacOSX 10.8 certainly does contain that definition, so the file that is included during your compilation must be a different, older version that does not contain the definition.

--
Martin










Archive powered by MHonArc 2.6.19.

Top of page