jburnim / crest

CREST is a concolic test generation tool for C.
http://jburnim.github.io/crest/
BSD 2-Clause "Simplified" License
158 stars 50 forks source link

Error while installing CREST (yices_c.h: No such file or directory) #1

Closed brenomiranda closed 7 years ago

brenomiranda commented 9 years ago

Brief description: Fatal error message is displayed while installing CREST

Steps to reproduce:

  1. Download and install Yices 2.2.2
  2. Change YICES_DIR in src/Makefile to point to Yices location
  3. Build CIL by running "configure" and "make" in the cil/ directory
  4. Try to build CREST by running "make" in the src/ directory

Expected results:

Actual result:

g++ -I. -I/home/user/Downloads/yices-2.2.2/include -Wall -O2   -c -o base/yices_solver.o base/yices_solver.cc
base/yices_solver.cc:17:21: fatal error: yices_c.h: No such file or directory
 #include <yices_c.h>
                     ^
compilation terminated.
make: *** [base/yices_solver.o] Error 1

Environment information:

Additional information:

endadul commented 9 years ago

I faced the same problem. Later I downloaded Yices 1.0.40 from here (http://yices.csl.sri.com/download-yices1.shtml). It worked for me.

MaxTracks commented 9 years ago

The same issue occurred for me. Even modifying the includes to Yices headers did not resolve the problem. Using Yices 1.0.40 solved my problem. Here is an updated link to it: http://yices.csl.sri.com/cgi-bin/yices-newlicense.cgi?file=yices-1.0.40-x86_64-unknown-linux-gnu-static-gmp.tar.gz

jburnim commented 7 years ago

I updated the README to make it clear that version 1 of Yices must be used.

charitha22 commented 7 years ago

Can someone share yices version 1. These links are broken.

9iang22 commented 7 months ago

Yices 1 can be downloaded here: https://yices.csl.sri.com/old/download-yices1.html