iat-cener / tonatiuh

A Monte Carlo ray tracer for the optical simulation of solar concentrating systems
http://iat-cener.github.io/tonatiuh/
GNU General Public License v3.0
54 stars 14 forks source link

Possible errors in commands due to change directory trees for mock-test #97

Closed pcsnow closed 2 years ago

pcsnow commented 6 years ago

Now, to install the built library type: cp -r ../include/gtest /usr/local/include cp lib*.a /usr/local/lib

the above commands appear to fail.

Perhaps because of reorganization of google mock-test

Proposed Change

Following /Now, to install/

replace cp -r ......... with

cp -r ../googlemock/include/gmock/ /usr/local/include cp -r ../googletest/include/gtest/ /usr/local/include

replace cp lib*.a

cp googlemock/lib.a /usr/local/lib cp googlemock/gtest/lib.a /usr/local/lib

you may wish to verify that my suggested fix is correct.

I don't presume to propose the most affective correction

Do the builders have a test that would verify these commands?

newbie - your notes allowed me to build on Centos 7 Thanks

pcsnow commented 2 years ago

got it