CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

ParaView/PV3Readers Compile Issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2011, 00:58
Default ParaView/PV3Readers Compile Issue
  #1
New Member
 
Jake
Join Date: Sep 2011
Posts: 1
Rep Power: 0
gankoji is on a distinguished road
Hello all,

I am currently in the process of installing/getting started with OpenFOAM. I run Slackware 12.1 x64, so I've had to go with the compile your own option. I followed the instructions on the openfoam.com website to the letter, and managed to get it to compile. After fighting through a few errors dealing with improper environment variables, I was able to run blockMesh with no problems, as per the first tutorial. However, when I go to view the mesh using paraFoam, it exits, telling me I need to build the reader libraries first.

I then follow those instructions for using wmake to compile and install the PV3Readers libraries, and that's when I get this error:

CMake error at CMakeLists.txt: 13 (INCLUDE):
include could not find load file:

@PARAVIEW_USE_FILE@

CMake error at CMakeLists.txt: 43 (QT4_WRAP_CPP):
Unknown CMake command "QT4_WRAP_CPP".


It then says configure incomplete, and make gives and error because it doesn't know what to do. I have the latest version of cmake and I just upgraded Qt to 4.6.2, which is stated as the version needed for ParaView on the website. I've tried my best to track it down. In the ParaView-3.10.1 folder, there is a file called ParaViewUse.cmake, which I think is the file cmake is trying to find.

Has anyone encountered this before? I'd very much like to get this resolved so I can get on to using this great program. Thanks in advance for your advice!
gankoji is offline   Reply With Quote

Old   September 24, 2011, 07:25
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Jake and welcome to the forum!

OK, it feels that you didn't follow the whole list of instructions to the letter.
First, you can check if ParaView is actually built, by running:
Code:
echo $ParaView_DIR
ls -l $ParaView_DIR
which paraview
These 3 commands should show you:
  • Where it should be.
  • What's there, which you should see 4 folders named: bin, include, lib, share.
  • Where is the "paraview" binary located.
If these above give you incomplete information, start reading here: Compiling Paraview 3.10.1 and the PV3FoamReader Module

For more, you can check here: Related issues to ParaView with OpenFOAM - Fixes and solutions

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 08:27
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
Open FOAM15 autoHexMesher compile issue tspelce OpenFOAM Bugs 4 October 9, 2008 16:04


All times are GMT -4. The time now is 08:18.