Hi,

I am trying to build the latest code on Ubuntu 21.04 Release:    21.04  
Codename:    hirsute.

Before building I did
sudo apt-get install libprotobuf-dev protobuf-compiler

The I ran cmake .
and then  make

but I hit the following error


In file included from 
/home/snuc/Downloads/protobuf/src/google/protobuf/map_lite_test_util.cc:31:
/home/snuc/Downloads/protobuf/src/google/protobuf/map_lite_test_util.h:34:10: 
fatal error: google/protobuf/map_lite_unittest.pb.h: No such file or 
directory
   34 | #include <google/protobuf/map_lite_unittest.pb.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/protobuf-test-common.dir/build.make:320: 
CMakeFiles/protobuf-test-common.dir/src/google/protobuf/map_lite_test_util.cc.o]
 
Error 1
make[1]: *** [CMakeFiles/Makefile2:172: 
CMakeFiles/protobuf-test-common.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/50c66d0e-f072-4e60-a336-5355c0e34a72n%40googlegroups.com.

Reply via email to