mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] What's it doing?


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


On 9 August 2013 18:55, Miguel de Benito Delgado <address@hidden> wrote:

On 9 Aug, 2013, at 13:33, Michael Lachmann <address@hidden> wrote:
> Yes, compiling within Xcode worked!! Cool!

Glad to hear that. However, compilation from the command line ought to work. I've just looked at src/Plugins/MacOS/HIDremote.h and it lacks #ifdef guards. If you have the time, please add this at the beginning of the file

    #ifndef HIDREMOTE_H
    #define HIDREMOTE_H

and this at the end

    #endif HIDREMOTE_H

and try compiling again from the command line.

No, that didn't help.
I did 

make distclean
./configure --enable-macosx-distr   --enable-macosx-extensions --enable-qtpipes
and then
> make
mkdir -p src/Deps
mkdir -p src/Objects
mkdir -p TeXmacs/bin
mkdir -p TeXmacs/lib
cd src; make -f makefile link=shared
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.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
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




Archive powered by MHonArc 2.6.19.

Top of page