Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$ ./tools/build.py samples/sample_extension/sample_extension
make -j 6 BUILDTYPE=DebugIA32 samples/sample_extension/sample_extension
g++ samples/sample_extension/sample_extension.cc -o samples/sample_extension/sample_extension
samples/sample_extension/sample_extension.cc:7:22: error: dart_api.h: No such file or directory
samples/sample_extension/sample_extension.cc:9: error: ‘Dart_NativeFunction’ does not name a type
samples/sample_extension/sample_extension.cc:11: error: ‘DART_EXPORT’ does not name a type
samples/sample_extension/sample_extension.cc:20: error: ‘Dart_Handle’ does not name a type
samples/sample_extension/sample_extension.cc:25: error: variable or field ‘SystemRand’ declared void
samples/sample_extension/sample_extension.cc:25: error: ‘Dart_NativeArguments’ was not declared in this scope
samples/sample_extension/sample_extension.cc:32: error: variable or field ‘SystemSrand’ declared void
samples/sample_extension/sample_extension.cc:32: error: ‘Dart_NativeArguments’ was not declared in this scope
make: *** [samples/sample_extension/sample_extension] Error 1
BUILD FAILED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment