MantisBT - ParaView
View Issue Details
0010376ParaViewBugpublic2010-03-05 15:202011-09-01 13:31
Eric Monson 
David Partyka 
normalminoralways
closedfixed 
Development 
3.12 
0010376: Files missing from install development tree
When PARAVIEW_INSTALL_DEVELOPMENT is turned on, and you do a "make install", there are some files missing from the resulting development tree:

1. On both OS X and Ubuntu I've run into pq3DWidgetImplementation.cxx.in and pq3DWidgetImplementation.h.in both being missing from [installRoot]/include/paraview-3.7/Qt/Components/

2. On Ubuntu where I had FFMPEG installed and VTK_USE_FFMPEG_ENCODER turned on, I got the error:

  CMake Error at VTK/IO/cmake_install.cmake:40 (FILE):
    file INSTALL cannot find file
    "/home/emonson/Programming/ParaView_cvs/ParaView3/VTK/IO/vtkFFMPEGConfig.h"
    to install.
  Call Stack (most recent call first):
    VTK/cmake_install.cmake:180 (INCLUDE)
    cmake_install.cmake:97 (INCLUDE)

So, it was looking for this header file in the source tree rather than the build tree.
No tags attached.
Issue History
2010-03-05 15:20Eric MonsonNew Issue
2010-03-05 15:22Utkarsh AyachitStatusbacklog => tabled
2010-03-05 15:22Utkarsh AyachitAssigned To => David Partyka
2010-03-16 15:40David PartykaNote Added: 0019903
2010-03-16 15:41David PartykaNote Added: 0019904
2010-03-16 16:08David PartykaNote Added: 0019905
2010-03-16 16:13Eric MonsonNote Added: 0019906
2010-03-16 16:18David PartykaNote Added: 0019907
2010-03-16 16:23David PartykaNote Added: 0019908
2010-03-16 16:23David PartykaStatustabled => @80@
2010-03-16 16:23David PartykaFixed in Version => Development
2010-03-16 16:23David PartykaResolutionopen => fixed
2010-03-16 17:14Alan ScottNote Added: 0019911
2010-03-16 17:14Alan ScottStatus@80@ => closed
2011-09-01 13:31Utkarsh AyachitFixed in VersionDevelopment => 3.12

Notes
(0019903)
David Partyka   
2010-03-16 15:40   
What uses pq3DWidgetImplementation.cxx.in?

When I searched through the source to see if I needed an install rule for it I didn't find anything including it or building it.
(0019904)
David Partyka   
2010-03-16 15:41   
All I see is where it configured and the files themselves.

PS C:\Kitware\ParaView3\src> findstr /SN pq3DWidgetImplementation *
CMake\ParaViewPlugins.cmake:690: CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pq3DWidgetImplementation.h.in
CMake\ParaViewPlugins.cmake:692: CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pq3DWidgetImplementation.cxx.in
Qt\Components\pq3DWidgetImplementation.cxx.in:6: Module: $RCSfile: pq3DWidgetImplementation.cxx.in,v $
Qt\Components\pq3DWidgetImplementation.h.in:6: Module: $RCSfile: pq3DWidgetImplementation.h.in,v $
(0019905)
David Partyka   
2010-03-16 16:08   
Never Mind about that, I found how it's being used. I'll add an install rule right now.
(0019906)
Eric Monson   
2010-03-16 16:13   
I get an error while trying to configure (using cmake) the build of my branded app which includes a plugin that instantiates a new 3d widget

CMake Error: File /usr/local/ParaView/include/paraview-3.7/Qt/Components/pq3DWidgetImplementation.h.in
 does not exist.

 CMake Error at /usr/local/ParaView/lib/paraview-3.7/CMake/ParaViewPlugins.cmake:690 (CONFIGURE_FILE):
   configure_file Problem configuring file
 Call Stack (most recent call first):
   ClipWSlabWidget4/CMakeLists.txt:30 (ADD_3DWIDGET)

The part of the CMakeLists.txt file it's referring to is:

ADD_3DWIDGET(IFACES IFACE_SRCS
  CLASS_NAME pqSlabWidget
  WIDGET_TYPE SlabWidget
  )

I can try to track it down deeper if this isn't very illuminating.
(0019907)
David Partyka   
2010-03-16 16:18   
Okay, I just checked in the install rule for Part 1 of your bug. Give it a shot and let me know. I will see what I can do about part 2 now.
(0019908)
David Partyka   
2010-03-16 16:23   
Okay both errors should be fixed with these commits:

1.cvs commit -m "BUG: move pq3DWidgetImplementation into the CMake dir and properly install it."
/cvsroot/ParaView3/ParaView3/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.141; previous revision: 1.140

2. cvs commit -m "BUG: fix broken install rule for vtkFFMPEGConfig.h."
Committer: Dave Partyka <dave.partyka@kitware.com>
/cvsroot/ParaView3/ParaView3/VTK/IO/CMakeLists.txt,v <-- VTK/IO/CMakeLists.txt
new revision: 1.193; previous revision: 1.192
(0019911)
Alan Scott   
2010-03-16 17:14   
Assuming fixed. If it isn't, please re-open this bug.