[CMake] after running cmake, getting an error cannot find -levent

Gunter, Walter E Walter.Gunter at dematic.com
Thu Sep 15 13:03:02 EDT 2016


Subject: after running cmake, getting an error cannot find -levent

I am cross-compiling for an arm, and can run cmake successfully, but when I run make, I am getting the following:

/opt/toolchains/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -levent

I tried adding –levent to COMPILE_FLAGS, but that didn’t work either.

set(COMPILE_FLAGS "-lrt –levent -Wall -lpthread")

Thoughts?


Walter E. Gunter, Jr.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160915/268b30f7/attachment.html>


More information about the CMake mailing list