Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with cpputest 3.8 #2

Open
MitchellThompkins opened this issue Apr 14, 2020 · 0 comments
Open

Fails to build with cpputest 3.8 #2

MitchellThompkins opened this issue Apr 14, 2020 · 0 comments

Comments

@MitchellThompkins
Copy link

When building with cpputest 3.8 the output is:

[ 20%] Built target LedDriver
[ 40%] Built target Tutorial
[ 60%] Built target RuntimeErrorStub
[ 80%] Built target LedDriverTest
make[2]: *** No rule to make target `/Users/timothythompkins/_git/cpputest/src/CppUTest/libCppUTest.a', needed by `bin/RunAllTests'.  Stop.
make[1]: *** [tests/CMakeFiles/RunAllTests.dir/all] Error 2
make: *** [all] Error 2

This is due to this line:

IMPORTED_LOCATION $ENV{CPPUTEST_HOME}/src/CppUTest/libCppUTest.a)

Pointing to the correct lib location below fixes this issue.

 IMPORTED_LOCATION $ENV{CPPUTEST_HOME}/lib/libCppUTest.a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant