Projects > ViSLAB Dart Library >
Progress (ViSLAB Dart Library)
Building Google Dart from source (Mac OS X Lion + Xcode 4.2)
I've been using Google DartEditor, but it's distribution does not come with some tools. I've decided to build everything from its source, and here is the things I had to do to build Google Dart on Mac OS X Lion with Xcode 4.2:
gclient config http://dart.googlecode.com/svn/trunk/deps/all.deps gclient sync
args = ['xcodebuild', '-sdk', 'macosx10.7',
'xcode_settings': { # To switch to the LLVM based backend change the two lines below. 'GCC_VERSION': 'com.apple.compilers.llvmgcc42', #'GCC_VERSION': '4.2',
gclient unhooks
./tools/build.py --arch=ia32 -m release
PhaseScriptExecution "Action \"generate_frogsh\"" /Users/masa/Documents/Dev/dart/dart/xcodebuild/dart-frog.build/Release_x64/frogsh.build/Script-095A7D91DE56B603C848FB82.sh cd /Users/masa/Documents/Dev/dart/dart/frog /bin/sh -c /Users/masa/Documents/Dev/dart/dart/xcodebuild/dart-frog.build/Release_x64/frogsh.build/Script-095A7D91DE56B603C848FB82.sh note: Generating frogsh file ./vm/code_generator_x64.h:36: error: unimplemented code VM exited with signal 6 |
Vertex Search on GeodesicDome
To use the GeodesicDome data structure, I need to be able to search the neighborhood of a specified vertex according to the distance from it. I implemented a simple algorithm, which builds a tree whose root is the specified vertex. The depth of the tree corresponds to the distance from vertices to the root vertex. The following GeodesicDome was colored to confirm the tree structure. |
1-3 of 3