You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nanopb
root@Xeon:/nanopb/nanopb# cmake . -- The C compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.12", minimum required is "2.7") -- Configuring done -- Generating done -- Build files have been written to: /home/root/Downloads/nanobuf/nanopb root@Xeon:/nanopb/nanopb# make Scanning dependencies of target generate_nanopb_pb2.py [ 16%] Generating nanopb_pb2.py [ 16%] Built target generate_nanopb_pb2.py Scanning dependencies of target generate_plugin_pb2.py [ 33%] Generating plugin_pb2.py [ 33%] Built target generate_plugin_pb2.py Scanning dependencies of target protobuf-nanopb [ 50%] Building C object CMakeFiles/protobuf-nanopb.dir/pb_common.c.o [ 66%] Building C object CMakeFiles/protobuf-nanopb.dir/pb_encode.c.o [ 83%] Building C object CMakeFiles/protobuf-nanopb.dir/pb_decode.c.o [100%] Linking C static library libprotobuf-nanopb.a [100%] Built target protobuf-nanopb root@Xeon:/nanopb/nanopb# make install [ 16%] Built target generate_nanopb_pb2.py [ 33%] Built target generate_plugin_pb2.py [100%] Built target protobuf-nanopb Install the project... -- Install configuration: "" -- Installing: /usr/local/lib/python2.7/dist-packages/nanopb_pb2.py -- Installing: /usr/local/lib/python2.7/dist-packages/plugin_pb2.py -- Installing: /usr/local/lib/libprotobuf-nanopb.a -- Installing: /usr/local/lib/cmake/nanopb/nanopb-targets.cmake -- Installing: /usr/local/lib/cmake/nanopb/nanopb-targets-noconfig.cmake -- Up-to-date: /usr/local/lib/cmake/nanopb/nanopb-config.cmake -- Installing: /usr/local/lib/cmake/nanopb/nanopb-config-version.cmake -- Up-to-date: /usr/local/include/pb.h -- Up-to-date: /usr/local/include/pb_common.h -- Up-to-date: /usr/local/include/pb_encode.h -- Up-to-date: /usr/local/include/pb_decode.h root@Xeon:/nanopb/nanopb# cd examples/ root@Xeon:/nanopb/nanopb/examples# ll total 28 drwxrwxr-x 7 root root 4096 мар 5 18:28 ./ drwxrwxr-x 9 root root 4096 юли 7 10:21 ../ drwxrwxr-x 2 root root 4096 мар 5 18:28 cmake_simple/ drwxrwxr-x 2 root root 4096 мар 5 18:28 network_server/ drwxrwxr-x 2 root root 4096 мар 5 18:28 simple/ drwxrwxr-x 2 root root 4096 мар 5 18:28 using_double_on_avr/ drwxrwxr-x 2 root root 4096 мар 5 18:28 using_union_messages/ root@Xeon:/nanopb/nanopb/examples# cd simple root@Xeon:/nanopb/nanopb/examples/simple# ll total 24 drwxrwxr-x 2 root root 4096 мар 5 18:28 ./ drwxrwxr-x 7 root root 4096 мар 5 18:28 ../ -rw-rw-r-- 1 root root 720 мар 5 18:28 Makefile -rw-rw-r-- 1 root root 835 мар 5 18:28 README.txt -rw-rw-r-- 1 root root 2213 мар 5 18:28 simple.c -rw-rw-r-- 1 root root 158 мар 5 18:28 simple.proto root@Xeon:/nanopb/nanopb/examples/simple# protoc -omessage.pb simple.proto root@Xeon:/nanopb/nanopb/examples/simple# nanopb_generator.py message.pb nanopb_generator.py: command not found root@Xeon:/nanopb/nanopb/examples/simple#
Petteri Aimonen
unread,
Jul 7, 2017, 6:00:36 AM7/7/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nan...@googlegroups.com
Hi,
> root@Xeon:/nanopb/nanopb# cmake .
I haven't actually planned nanopb to be installed system-wide like that,
I just use the source archive directly as is more common in embedded
projects.