SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] cmake issues with scirun

Chronological Thread 
  • From: Dan White <>
  • To:
  • Subject: Re: [SCIRUN-USERS] cmake issues with scirun
  • Date: Fri, 30 Oct 2015 15:04:27 -0600

We've recently overhauled the build structure so our documentation is out of date. Other than Qt 4.8, SCIRun includes all external dependencies either as part of the source or as a git external project that gets downloaded as part of the build. Qt is the only dependency that needs to be separately built. No apt-getting or prefix_path setting should be required. The steps on a *nix system are as follows:

mkdir scirun5; cd scirun5
git clone
cd SCIRun/bin
cmake ../Superbuild
# above line might be required TWICE
make -j4
# after success, you can cd SCIRun (that's right, SCIRun/bin/SCIRun), and just 
make -j8

Or you could try the new build script, located under in the root called  Let us know if you run into difficulties. We'll update the build instructions soon.

On 10/30/2015 2:27 PM, Brad Hollister wrote:
To Whom It May Concern,

When running CMake for a SCIRun build, I am having the following issues...

I am able to set CMAKE_PREFIX_PATH to the Externals/ directory which prevents issues up until SQLite_external. When I install sqlite-dev via apt-get, and set SQLite_DIR accordingly, CMake still fails with the same repeated warning.

I've noticed a SCIRun/Superbuild directory that contains the external library *.cmake files. But, when pointing CMAKE_PREFIX_PATH to Superbuild/, CMake still fails to work.

Any suggestions?

CMake produces the initial following warnings before setting any of its variables:

CMake Warning at CMakeLists.txt:193 (MESSAGE):
  Test resource path does not exist.  Please set it correctly to run all the
  unit and regression tests.  Clone this github repo to get all the files:

CMake Warning at CMakeLists.txt:217 (FIND_PACKAGE):
  Could not find a package configuration file named "ZlibConfig.cmake"
  provided by package "Zlib".

  Add the installation prefix of "Zlib" to CMAKE_PREFIX_PATH or set
  "Zlib_DIR" to a directory containing one of the above files.  If "Zlib"
  provides a separate development package or SDK, be sure it has been

CMake Error at CMakeLists.txt:219 (MESSAGE):
  Zlib library not found in Zlib_DIR-NOTFOUND

Additionally, I do have Zlib in my PATH var.

Archive powered by MHonArc 2.6.18.

Top of page