Closed bcandeias closed 10 years ago
My guess is that this is due to OS X aliasing gcc to clang. Running sbt package with the actual gcc might resolve the compilation errors.
We recently fixed some compilation errors and/or adjusted the sensitivity of the compiler. We also fixed issues with the packaging process for mac-osx. Please re-open if the latest version does not fix your issue.
Hello all,
I'm trying to build ScalaZ3 but I'm struggling with some errors in the
sbt package
command. I followed closely all the steps in theREADME
file.Z3
I'm currently using the unstable version of Z3. I successfully (?) compiled it using
Although I saw some warnings coming up, it ended without errors.
I then run
sudo make install
to finish the installation.ScalaZ3
I downloaded ScalaZ3-2.9.x and created the path
z3/4.3-osx-64b/include
andz3/4.3-osx-64b/lib
inside it. I then copied z3include
andlib
files to them, as ordered.After that, I ran
sbt package
and got the following output:Note: I'm using
sbt 0.12.4
The file
target/scala-2.9.3/scalaz3_2.9.3-2.0.jar
was created, tough.Then running
DYLD_LIBRARY_PATH=z3/4.3-osx-64b/lib sbt test
I getDoes anyone know what's going on? Am I doing something wrong?
Thanks in advance!