-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Description
What happened?
It appears that the target name quickstart is wrong in C/C++ quickstart,
$ mamba install cmake compilers libadbc-driver-manager libadbc-driver-sqlite
$ mkdir build
$ cd build
$ cmake ../docs/source/cpp/recipe
$ cmake --build . --target quickstart
gmake: *** No rule to make target 'quickstart'. Stop.It appears that it should be recipe-quickstart.
| add_executable(recipe-quickstart quickstart.cc) |
$ cmake --build . --target recipe-quickstart
[ 14%] Building C object _deps/nanoarrow-build/CMakeFiles/nanoarrow.dir/src/nanoarrow/array.c.o
[ 28%] Building C object _deps/nanoarrow-build/CMakeFiles/nanoarrow.dir/src/nanoarrow/schema.c.o
[ 42%] Building C object _deps/nanoarrow-build/CMakeFiles/nanoarrow.dir/src/nanoarrow/array_stream.c.o
[ 57%] Building C object _deps/nanoarrow-build/CMakeFiles/nanoarrow.dir/src/nanoarrow/utils.c.o
[ 71%] Linking C static library libnanoarrow.a
[ 71%] Built target nanoarrow
[ 85%] Building CXX object CMakeFiles/recipe-quickstart.dir/quickstart.cc.o
[100%] Linking CXX executable recipe-quickstart
[100%] Built target recipe-quickstart
$ ./recipe-quickstart
Got -1 rows
Result schema: struct<THEANSWER: int64>
Got a batch with 1 rows
THEANSWER[0] = 42It had changed from quickstart since the following fix.
Stack Trace
Not related.
How can we reproduce the bug?
mamba install cmake compilers libadbc-driver-manager libadbc-driver-sqlite
mkdir build
cd build
cmake ../docs/source/cpp/recipe
cmake --build . --target quickstartEnvironment/Setup
- Ubuntu 22.04.5 LTS
- mamba 2.1.1 (Miniforge)
Metadata
Metadata
Assignees
Labels
Type: bugSomething isn't workingSomething isn't working