[Paraview] compiling paraview 1.4.2

Ken Martin ken.martin at kitware.com
Wed May 26 13:31:59 EDT 2004


> I checked out the latest ParaView distribution to my Sun Solaris computer.
> When I choose configure in cmake I get the error:
> 
> "ParaView requires out of source build. Please create a separate binary
> directory and run CMake there."
> 
> The thing is, I did all that. I have a directory paraview-1.4.2/ and
> another
> one paraview-1.4.2-build both in the same parent directory. I cd to
> paraview
> 1.4.2-build and run ccmake ../paraview-1.4.2.
> 
> What am I doing wrong?

The CMakeLists code that checks for this is pretty straight forward:

# Disallow in-source build
IF("x${ParaView_SOURCE_DIR}x" MATCHES "^x${ParaView_BINARY_DIR}x$")
  MESSAGE(FATAL_ERROR "ParaView requiers out of source Build. Please create
a separate binary directory and run CMake there.")
ENDIF("x${ParaView_SOURCE_DIR}x" MATCHES "^x${ParaView_BINARY_DIR}x$")

You should only see that message if your source and binary directories are
the same. Double check your settings/directories and if you still have the
problem email your CMakeCache.txt file. You can also try sticking a 

MESSAGE("MY BIN DIR IS ${ParaView_BINARY_DIR} my src dir is
${ParaView_SOURCE_DIR}")
 Into the CMakeLists.txt file at the top of your source directory to see
what those values are.

Thanks
Ken


> 
> Eric Stanton
> Sandia National Laboratories
> Programmer and Analyst
> Dept. 9521 - Business Systems Support
> (505) 284-4422 / MS-0806
> etstant at sandia.gov
> 
> 
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview




More information about the ParaView mailing list