CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [foam-extend.org] Paraview compilation error: Openfoam-1.6-ext (https://www.cfd-online.com/Forums/openfoam-installation/92293-paraview-compilation-error-openfoam-1-6-ext.html)

sita December 16, 2014 15:43

Hi Bruno,

Thanks a lot, it works!

Quote:

Originally Posted by wyldckat (Post 523890)
Greetings Sita,

You can add the following alias command to your personal "~/.bashrc" file:
Code:

alias paraFoam='export LC_ALL=C; paraFoam'
Then start a new terminal and you should now be able to use paraFoam without any problems.

For more details about aliases and the shell: http://openfoamwiki.net/index.php/In...with_the_Shell

For more details about using the built-in ".foam" reader in ParaView: http://openfoamwiki.net/index.php/FA...er_in_ParaView

Best regards,
Bruno


Maimouna February 24, 2015 06:51

Dear Bruno,

I got the same problem with paraFoam command that Sita posted @19
Quote:

Dear Bruno,

Sorry, this is probably a very old thread, but I have a similar problem. Upon starting paraFoam, I get the same error message (read float past end of buffer), but then I just get to choose the "OpenFOAM" format from a list of options, and paraview works without further problems.

I'd gladly do the modification you suggest, but the thing is that I'm not allowed to do that myself. So I was wondering: is this a serious error (i.e. can I expect problems in the future if I don't do anything about it), or is it just mildly annoying but innocent?

Thanks in advance for your help,
Best,
Sita
I did the solution that you posted in 20

alias paraFoam='export LC_ALL=C; paraFoam'
but, still not working. I'm working in foam-extend-3.1. What to do?

Maimouna

wyldckat February 27, 2015 15:26

Greetings Maimouna,

I need more details, in order to reproduce the same error. Namely:
  1. Which Linux Distribution are you using?
  2. What installations instructions did you follow?
  3. What does the following command give you?
    Code:

    which paraview
  4. Which tutorial case can be used for reproducing the same error message?
Best regards,
Bruno

jiaojiao May 16, 2016 05:09

HI,Bruno! I meet the similar problem when I install OF2.2.2.I install it by installation packages OpenFOAM-2.2.2 and ThirdParty-2.2.2. The packages are gcc-4.6.1,gmp-5.0.4,mpfr-3.1.0,mpc-0.9,boost_1_45_0.,CGAL-4.0.2,cmake-2.8.4 andqt-everywhere-opensource-src-4.7.3.
I am sure the Qt is install correctly,these are the end lines of the output log file.
Quote:

Built: Qt-4.7.3
Create/Edit files to ease later relocation of a QT installation
create:
/home/ec2-user/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc/qt-4.7.3/bin/qt.conf
edit pkgconfig:
/home/ec2-user/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc/qt-4.7.3/lib/pkgconfig/*.pc
edited 19 files
But when I run the makeParaView , I can't go through it. The first error:
Quote:

Linking CXX executable ../../bin/vtkSMExtractDocumentation
[ 84%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/pq3DWidgetFactory.cxx.o
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtRemoveTimeOut'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtVaAppCreateShell'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtRealizeWidget'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtDestroyWidget'
../../bin/libvtkXdmf.so: undefined reference to `XtAppPending'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtSetKeyboardFocus'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtWindow'
../../bin/libvtkXdmf.so: undefined reference to `XtAppNextEvent'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtToolkitInitialize'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `applicationShellWidgetClass'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtOpenDisplay'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtDestroyApplicationContext'
../../bin/libvtkXdmf.so: undefined reference to `XtDispatchEvent'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtCreateApplicationContext'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtRemoveEventHandler'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtAddEventHandler'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtAppAddTimeOut'
../../bin/libvtkRendering.so.pv3.12: undefined reference to `XtDisplayInitialize'
collect2: ld returned 1 exit status
make[2]: *** [bin/vtkSMExtractDocumentation] Error 1
make[1]: *** [ParaViewCore/ServerManager/CMakeFiles/vtkSMExtractDocumentation-real.dir/all] Error 2
could you help me to solve this error?I don't know how to fix it.
Best regards,
jiaojiao


All times are GMT -4. The time now is 22:46.