View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004206ParaView(No Category)public2006-12-13 18:362009-12-09 21:55
ReporterOrion Poplawski 
Assigned ToBerk Geveci 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004206: cmake error with cmake 2.4.4
DescriptionWhen trying to make an mpi version of paraview 2.4.4 with cmake 2.4.5 I get the following error:

CMake Error: Error in cmake code at
/builddir/build/BUILD/paraview-2.4.4/Utilities/IceT/doc/man/CMakeLists.txt:48:
ADD_CUSTOM_TARGET called with invalid target name "man3/icetBoundingBoxd.3". Target names may not contain a slash. Use ADD_CUSTOM_COMMAND to generate files. Set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to skip this check.
Current CMake stack: /builddir/build/BUILD/paraview-2.4.4/Utilities/IceT/doc/man/CMakeLists.txt
CMake Error: Error in cmake code at
/builddir/build/BUILD/paraview-2.4.4/Utilities/IceT/doc/man/CMakeLists.txt:61:
A command failed during the invocation of macro "ICET_LINK_MAN3_FILE".
CMake Error: Error in cmake code at
/builddir/build/BUILD/paraview-2.4.4/Utilities/IceT/doc/man/CMakeLists.txt:61:
ICET_LINK_MAN3_FILE unknown error.
Current CMake stack: /builddir/build/BUILD/paraview-2.4.4/Utilities/IceT/doc/man/CMakeLists.txt
CMake Error: Error in cmake code at
/builddir/build/BUILD/paraview-2.4.4/Utilities/IceT/doc/man/CMakeLists.txt:48:
ADD_CUSTOM_TARGET called with invalid target name "man3/icetBoundingBoxf.3". Target names may not contain a slash. Use ADD_CUSTOM_COMMAND to generate files. Set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to skip this check.
[ many similar errors removed ]
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0006195)
Orion Poplawski (reporter)
2007-01-16 12:00

I can't build paraview for Fedora Development until this gets addressed. Tried to change CMakeLists.txt to:

MACRO(ICET_LINK_MAN3_FILE srcfile destfile)
  ADD_CUSTOM_COMMAND(
    OUTPUT man3/${destfile}.3
    COMMAND ln
    ARGS -sf ${ICET_SOURCE_DIR}/doc/man/man3/${srcfile}.3 man3/${destfile}.3
    DEPENDS man3)
  INSTALL_FILES(/man/man3 FILES ${ICET_BINARY_DIR}/doc/man/man3/${destfile}.3)
ENDMACRO(ICET_LINK_MAN3_FILE)

MACRO(ICET_LINK_MAN7_FILE srcfile destfile)
  ADD_CUSTOM_COMMAND(
    OUTPUT man7/${destfile}.7
    COMMAND ln
    ARGS -sf ${ICET_SOURCE_DIR}/doc/man/man7/${srcfile}.7 man7/${destfile}.7
    DEPENDS man7)
  INSTALL_FILES(/man/man7 FILES ${ICET_BINARY_DIR}/doc/man/man7/${destfile}.7)
ENDMACRO(ICET_LINK_MAN7_FILE)

But that doesn't seem to work.

Using CMAKE_BACKWARDS_COMPATIBILITY=2.2 breaks other things.

Please help!
(0006608)
Orion Poplawski (reporter)
2007-03-01 11:30

Also happens with paraview 2.6.0 and cmake 2.4.6.

 Issue History
Date Modified Username Field Change
2009-12-09 14:51 Berk Geveci Project @3@ => ParaView
2009-12-09 21:55 Berk Geveci Status tabled => closed
2009-12-09 21:55 Berk Geveci Resolution open => fixed
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team