eerolanguage / eero

Eero was a fully binary- and header-compatible dialect of Objective-C, implemented with a modified version of the Apple-sponsored LLVM/clang open-source compiler. It featured a streamlined syntax, Python-like indentation, and other features that improve readability and code safety. It was inspired by languages such as Smalltalk, Python, and Ruby.
https://web.archive.org/web/20171101134337/http://eerolanguage.org/
288 stars 7 forks source link

CoreFoundation import error - Xcode Project #27

Closed pcperini closed 12 years ago

pcperini commented 12 years ago

When compiling with the Eero LLVM compiler 3.0, this demo Xcode Project refuses to compile, claiming that it cannot find 'stdarg.h'

Additionally, it would be nice if this (or some other @eerolanguage repository) had a demo Xcode project for using eero in an actual app environment.

andyarvanitis commented 12 years ago

Hmm, not able to reproduce this problem. Is this maybe the wrong code? Seems to build and run fine, although ARC should be disabled (for now).

Are you sure you installed everything to /usr/local/eerolanguage using "sudo make install" (and originally specifying prefix during "configure")? If it is installed elsewhere, you'll need to update the plugin to point to the installation directory -- look in the Eero\ 1.0.xcspec for all instances of /usr/local/eerolanguage (but this is the only installation location "officially" supported by the plugin right now).

Another observation: your eero headers shouldn't be named with an .ero extension, since that is recognized as a source file by the compiler (treated the same as .eero). You can stay with the traditional .h or use something else, if you prefer (like .eh).

andyarvanitis commented 12 years ago

BTW, a demo Xcode project is coming soon. The plugin is still rough.

pcperini commented 12 years ago

Cool, I'll mess around with it and see if I can fix things!

pcperini commented 12 years ago

Reinstalled the plugin, and disabled ARC, and voila! It works!