Are you still seeing this error? What version of protobuf are you using?

On Tuesday, April 19, 2022 at 8:07:42 AM UTC-7 [email protected] wrote:

> Did you ever get this sorted out?
> I am having similar issues even on linux.
> ```
> $ make check
> Making check in .
> make[1]: Entering directory `/Packages/protobuf-2.6.1'
> make  check-local
> make[2]: Entering directory `/Packages/protobuf-2.6.1'
> Making lib/libgtest.a lib/libgtest_main.a in gtest
> /bin/sh: line 0: cd: gtest: No such file or directory
> make[2]: *** [check-local] Error 1
> make[2]: Leaving directory `/Packages/protobuf-2.6.1'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/Packages/protobuf-2.6.1'
> make: *** [check-recursive] Error 1
> ```
> On Friday, January 10, 2020 at 1:55:13 PM UTC-6 Somashekhar Rudrakshi 
> wrote:
>
>> while trying to build the protobuf - 2.6.1 artifacts on Visual studio.
>> I am seeing the following errors.
>> kindly help. 
>>
>>
>> Severity
>>
>> Code
>>
>> Description
>>
>> Project
>>
>> File
>>
>> Line
>>
>> Suppression State
>>
>> Error (active)
>>
>> E1696
>>
>> cannot open source file "gtest/gtest.h"
>>
>> tests
>>
>>
>> C:\protobuf-2.6.1-artifacts\src\google\protobuf\compiler\mock_code_generator.cc
>>
>> 44
>>
>>
>> Error (active)
>>
>> E0020
>>
>> identifier "EXPECT_EQ" is undefined
>>
>> tests
>>
>>
>> C:\protobuf-2.6.1-artifacts\src\google\protobuf\compiler\mock_code_generator.cc
>>
>> 100
>>
>>
>> Error (active)
>>
>> E0020
>>
>> identifier "cerr" is undefined
>>
>> tests
>>
>>
>> C:\protobuf-2.6.1-artifacts\src\google\protobuf\compiler\mock_code_generator.cc
>>
>> 133
>>
>>
>> Error (active)
>>
>> E0020
>>
>> identifier "cerr" is undefined
>>
>> tests
>>
>>
>> C:\protobuf-2.6.1-artifacts\src\google\protobuf\compiler\mock_code_generator.cc
>>
>> 136
>>
>>
>> Error (active)
>>
>> E0020
>>
>> identifier "cerr" is undefined
>>
>> tests
>>
>>
>> C:\protobuf-2.6.1-artifacts\src\google\protobuf\compiler\mock_code_generator.cc
>>
>> 144
>>
>>
>> Error
>>
>> MSB6006
>>
>> "cmd.exe" exited with code 9009.
>>
>> tests
>>
>> C:\Program Files (x86)\Microsoft Visual 
>> Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets
>>
>> 231
>>
>>
>> Error
>>
>> C1083
>>
>> Cannot open include file: 'gtest/gtest.h': No such file or directory
>>
>> test_plugin
>>
>>
>> C:\protobuf-2.6.1-artifacts\src\google\protobuf\compiler\mock_code_generator.cc
>>
>> 44
>>
>>
>>
>>

-- 
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/b3d28cec-6466-469d-8ff2-02bccdca3321n%40googlegroups.com.

Reply via email to