You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original issue 81 created by luke.glader on 2012-04-04T09:37:28.000Z:
What steps will reproduce the problem?
Install Cygwin on a Windows 7 system
Checkout/create an Android application under $APP so that AndroidManifest.xml is visible in that directory.
Follow the installation instructions (download NDK to $NDK, levelDB to $APP/jni so that Android.mk is directly visible in that directory).
in Cygwin, cd to $APP
run $NDK/ndk-build
What is the expected output? What do you see instead?
Expected: some proper output somewhere around $APP or $APP/jni
Happened: Compilation errors (small sample below)
Compile++ thumb : leveldb <= builder.cc
In file included from jni/./db/builder.cc:5:
jni/db/builder.h:8:28: error: leveldb/status.h: No such file or directory
In file included from jni/./db/builder.cc:7:
jni/db/filename.h:11:18: error: string: No such file or directory
jni/db/filename.h:12:27: error: leveldb/slice.h: No such file or directory
In file included from jni/./db/builder.cc:8:
jni/db/dbformat.h:9:32: error: leveldb/comparator.h: No such file or directory
jni/db/dbformat.h:10:24: error: leveldb/db.h: No such file or directory
jni/db/dbformat.h:12:35: error: leveldb/table_builder.h: No such file or directory
In file included from jni/./db/builder.cc:9:
jni/db/table_cache.h:13:27: error: leveldb/cache.h: No such file or directory
jni/db/table_cache.h:14:27: error: leveldb/table.h: No such file or directory
In file included from jni/./db/builder.cc:10:
jni/db/version_edit.h:8:15: error: set: No such file or directory
jni/db/version_edit.h:10:18: error: vector: No such file or directory
jni/./db/builder.cc:12:25: error: leveldb/env.h: No such file or directory
jni/./db/builder.cc:13:30: error: leveldb/iterator.h: No such file or directory
In file included from jni/./db/builder.cc:5:
jni/db/builder.h:25: error: 'Status' does not name a type
In file included from jni/port/port.h:18,
from jni/db/filename.h:14,
What version of the product are you using? On what operating system?
leveldb version: 1.2
Operating system: Windows 7 Pro SP1 x64
Please provide any additional information below.
some sample paths to files to give you an idea of my folder structure:
$APP/AndroidManifest.xml
$APP/jni/Android.mk
$APP/jni/db/builder.h
$APP/jni/include/leveldb/db.h
My system does not have any manually installed C/C++ development tools or compilers.
Attached is the output from a compilation attempt.
The text was updated successfully, but these errors were encountered:
Original issue 81 created by luke.glader on 2012-04-04T09:37:28.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected: some proper output somewhere around $APP or $APP/jni
Happened: Compilation errors (small sample below)
Compile++ thumb : leveldb <= builder.cc
In file included from jni/./db/builder.cc:5:
jni/db/builder.h:8:28: error: leveldb/status.h: No such file or directory
In file included from jni/./db/builder.cc:7:
jni/db/filename.h:11:18: error: string: No such file or directory
jni/db/filename.h:12:27: error: leveldb/slice.h: No such file or directory
In file included from jni/./db/builder.cc:8:
jni/db/dbformat.h:9:32: error: leveldb/comparator.h: No such file or directory
jni/db/dbformat.h:10:24: error: leveldb/db.h: No such file or directory
jni/db/dbformat.h:12:35: error: leveldb/table_builder.h: No such file or directory
In file included from jni/./db/builder.cc:9:
jni/db/table_cache.h:13:27: error: leveldb/cache.h: No such file or directory
jni/db/table_cache.h:14:27: error: leveldb/table.h: No such file or directory
In file included from jni/./db/builder.cc:10:
jni/db/version_edit.h:8:15: error: set: No such file or directory
jni/db/version_edit.h:10:18: error: vector: No such file or directory
jni/./db/builder.cc:12:25: error: leveldb/env.h: No such file or directory
jni/./db/builder.cc:13:30: error: leveldb/iterator.h: No such file or directory
In file included from jni/./db/builder.cc:5:
jni/db/builder.h:25: error: 'Status' does not name a type
In file included from jni/port/port.h:18,
from jni/db/filename.h:14,
What version of the product are you using? On what operating system?
leveldb version: 1.2
Operating system: Windows 7 Pro SP1 x64
Please provide any additional information below.
$APP/AndroidManifest.xml
$APP/jni/Android.mk
$APP/jni/db/builder.h
$APP/jni/include/leveldb/db.h
The text was updated successfully, but these errors were encountered: