UNCLASSIFIED

Hi,
 
Note that the instructions for installing gtest in
OpenCPI_Reference_Platform_Specification.pdf are out of date.
 
>From gtest 1.6 README "The Autotools build script (configure + make) is
no longer officially supported."

And "make install" results in a message saying it no longer installs
files.
 
As a work around I did:
gtest-1.6.0$ g++ -fPIC -Iinclude -I./ -c src/gtest-all.cc gtest-1.6.0$
ar -rv libgtest.so gtest-all.o gtest-1.6.0$ cp libgtest.so
/opt/opencpi/linux-x86_64/prerequisites/gtest/lib/libgtest.so
gtest-1.6.0$ cp include/gtest/
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/

I think the solution gtest wants you to use is including building gtest
from source into your own build environment.
 
Cheers,
Troy

IMPORTANT: This email remains the property of the Department of Defence
and is subject to the jurisdiction of section 70 of the Crimes Act 1914.
If you have received this email in error, you are requested to contact
the sender and delete the email.

_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org

Reply via email to