GithubHelp home page GithubHelp logo

dyld problem about antlr3-objc2.0-runtime HOT 5 CLOSED

muggins avatar muggins commented on May 27, 2024
dyld problem

from antlr3-objc2.0-runtime.

Comments (5)

Yqnn avatar Yqnn commented on May 27, 2024

I just recompiled the framework, it changed the message (acondit turned into my user name).
So I copied the framework into my Library folder, and now it works !

Is there any way to embed the framework into an app ? (without having to copy its in Library).

from antlr3-objc2.0-runtime.

muggins avatar muggins commented on May 27, 2024

The import statement should read #import <ANTLR/ANTLR.h>
that causes it to import ANTLR.h from the ANTLR.framework
I will try to upload the fixes to GitHub tomorrow. Then you will need to re-download the fixes and rebuild ANTLR3 jar because it is a fix to ObjC.st template. There are a number of recent changes that I will be posting as well. Largely stuff related to effort to implement Stringtemplate.

AFAIK the answer is no, it is built as a framework.

from antlr3-objc2.0-runtime.

Yqnn avatar Yqnn commented on May 27, 2024

I'm not an expert in framework developing, but I know frameworks that can be embedded in an app package (in *.app/Contents/Frameworks)

Examples :
Sparkle : http://sparkle.andymatuschak.org/ ,
BWToolkit : http://www.brandonwalkin.com/bwtoolkit/ ,
Growl : http://growl.info/

Edit : I have found documentation : http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html%23//apple_ref/doc/uid/20002258-106880

from antlr3-objc2.0-runtime.

muggins avatar muggins commented on May 27, 2024

Sweet, so now if you want to embed a copy of the framework in your application you know how. Thanks for finding the info.

By the way I uploaded the fix to the import header statement last night.

from antlr3-objc2.0-runtime.

Yqnn avatar Yqnn commented on May 27, 2024

I tried the new version. There are still some problems :

There is a double-quote after the import : #import <ANTLR/ANTLR.h>", it produces a syntax error.

Secondly, in the parser file, I got something like that :
set14=(ANTLRCommonToken)[input LT:1];
set14 = (ANTLRCommonToken *)[input LT:1];
If I remove the first line, it works well.

from antlr3-objc2.0-runtime.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.