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

OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2011, 11:34
Default
  #21
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Code:
+ wmake libso triSurface
/usr/bin/ld: cannot find -lmeshTools
...
+ wmake libso meshTools
/usr/bin/ld: cannot find -ltriSurface
Here's a problem. You can't have circular dependency through shared object linking. This would be impossible to build. When I check my version, src/triSurface/Make/options does not call for linking to meshTools. Why does yours?
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   November 9, 2011, 11:37
Default
  #22
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
I don't know. Here is my file:

Quote:
EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(WM_THIRD_PARTY_DIR)/zlib-1.2.3

LIB_LIBS = \
-lmeshTools
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 9, 2011, 11:52
Default
  #23
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Looks like you downloaded a broken version. I've emailed Hrv to let him know. All the changes listed here are suspect:

http://openfoam-extend.git.sourcefor...a38695618ae72a

At the very least, you could remove the -lmeshTools from that file. If that doesn't work, go back to an older version:

git checkout b68eb75c1b4f86a5d6de1402cf81962d0ebbd766

Then make those wmake rules changes mentioned by Bruno, and the scotch changes mentioned be me... then try again.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   November 9, 2011, 11:56
Default
  #24
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Ok David, thank you for your kind help. I removed that line, and restarted compilation. If it is ready, I'll post the results.

Best Regards,
Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 10, 2011, 05:34
Default
  #25
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Hi,

I compiled the modified code, but again with errors. Now it's better because I can run simulations, but I got a lot error messages. Hereby I attach the log file again. Did you receive answer from Hrv?

log_Allwmake_1_111110.zip

Regards
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 10, 2011, 11:11
Default
  #26
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
The first error in your log is your problem. In this case it's:

Code:
/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude/motionSolver.H:41:32: fatal error: twoDPointCorrector.H: No such file or directory
Find out why it can't find this file. If the file exists, the lnInclude directory may have been created improperly, in which case you can delete the lnInclude directories and try again. I'd sooner burn everything, go back to the version we know works, make those two changes, and compile again.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   November 13, 2011, 14:17
Default
  #27
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Hi,

Quote:
git checkout b68eb75c1b4f86a5d6de1402cf81962d0ebbd766
Sorry but I don't know how to use this. Is it a branch? How can I download it, or after switching to this branch a git pull is enough?

I will start over the whole compilation.

Thank you,
Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 13, 2011, 14:20
Default
  #28
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Finally, I used

Quote:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext -b b68eb75c1b4f86a5d6de1402cf81962d0ebbd766
Is it Okay?

Regards,
Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 13, 2011, 14:49
Default
  #29
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
I'm not sure. I'm not very strong with git. The thing you want to happen is: you want your OpenFOAM files to match those that were on 1.6-extend's repository at the commit with the number: b68eb75c1b4f86a5d6de1402cf81962d0ebbd766.

I think your clone command copied the *latest* version into a *directory* with the name b68eb... etc..

How about you start with a fresh clone of the latest version. Use the standard git clone command. Go to the directory you want it in and do this:

Code:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/openfoam-extend
Now, if you type "git branch", it will tell you there's only one branch: "master". What you need to do is create a second branch... say "myCustomBranch", and make it the "older" version. This branch you will modify to work on your platform. To do this, use this command:

Code:
git checkout -b myCustomBranch b68eb75c1b4f86a5d6de1402cf81962d0ebbd766
This was the one I was trying to articulate earlier, but got it wrong. Now if you type "git branch", it will tell you there are two branches: "master" and "myCustomBranch", and it will show that you are on "myCustomBranch".

You can switch back and forth between branches with:

Code:
git checkout master
git checkout myCustomBranch
We will leave master alone. This branch will be the "pristine" copy of OF. This way, if the OF-extend team comes out with some changes you really like, you can always switch to master and update it:


Code:
git checkout master
git pull
Anyways, back to your myCustomBranch (git checkout myCustomBranch). This one should now be the "old" version. Check that wmake/options file we were talking about... was it triSurface? See if it links to meshTools... or the other way around. I forget. If it is, then you confirmed you do have the older version. Now you can make those changes to wmake/rules, and scotch. Try to compile. If it works, you want to "save" the changes to your "myCustomBranch". Use this:

Code:
git commit -a -m "A short message decribing the changes you made"
Don't worry about doing anything that might impact the actual repository - you don't have write access, so nothing you do on your end is going to affect the version everyone else sees.

Hope that helps!
Attesz likes this.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   November 13, 2011, 14:54
Default
  #30
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
I thought I'd add a comment to this thread summarizing my experiences building 1.6-ext on Ubuntu 11.10

1) Try as I might I couldn't get mesquite to build with gcc 4.6. I had to revert to gcc 4.5. Alternate versions of gcc are usually installed on Ubuntu and if not they are there. You can use the 'update-alternatives' command to switch to a different version. Here's an article explaining how: http://www.infohit.net/blog/post/alt...nd-jaunty.html

2) When I used the scotch from the ThirdParty directory (which compiled OK), the OF compilation complained about an undefined reference to 'clock_gettime'. I used the Ubuntu provided scotch, libscotch-5.1 and libscotch-dev packages to get it to build.

3) I made a symbolic link to /usr/bin/make called /usr/bin/gmake because ParMGridgen Makefile looks for gmake and not make.

4) I made the changes to the wmake rules per Dave Gaden's advice. See the diff from the 2.0.x repo: https://github.com/OpenFOAM/OpenFOAM...3e8d0e85b889d9

5) I tried once to get Paraview to compile and it complained about not finding the OpenGL libraries. I was lazy and installed the pre-built one from Kitware and told OpenFOAM to use the system installed version.

Of course, it goes without saying that even within 11.10, YMMV.

A general comment regarding the use of ThirdParty provided packages, I think you can use the Ubuntu (i.e. system) provided packages for all but mesquite and libccmio - all the rest are in the Ubuntu repos. As the Ubuntu repos tends to be a little newer and comprehensive than, say, RedHat and its derivatives, I might be inclined to use the system provided packages where possible.
cnsidero is offline   Reply With Quote

Old   November 13, 2011, 15:04
Default
  #31
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Yes, the third party packages are a nightmare with GCC 4.6. I forget the details, but getting them to build required me to edit some of the source files... it was inelegant. I never did more than add a #include at the top of some of the files, mind you.

The problem you describe in #2 is solved by adding -lrt to one of the Make/options in OpenFOAM... I forget which one, I describe it earlier in this thread. Your solution to #3 is far more elegant than mine... I like it! I usually edit the make file to force it to call make.

The guys at fedora were looking into packaging OpenFOAM, but the third party library was deemed totally unacceptable. We would have to package each one seperately, and then call them prerequisites.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   November 13, 2011, 15:37
Default
  #32
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Quote:
Originally Posted by marupio View Post
Yes, the third party packages are a nightmare with GCC 4.6. I forget the details, but getting them to build required me to edit some of the source files... it was inelegant. I never did more than add a #include at the top of some of the files, mind you.
Yes, I started down that path and gave up after modifying the first few.

Quote:
Originally Posted by marupio View Post
The problem you describe in #2 is solved by adding -lrt to one of the Make/options in OpenFOAM... I forget which one, I describe it earlier in this thread. Your solution to #3 is far more elegant than mine... I like it! I usually edit the make file to force it to call make.
I missed the scotch solution, thx.

I was actually more surprised that Ubuntu didn't have a gmake link by default.

Quote:
Originally Posted by marupio View Post
The guys at fedora were looking into packaging OpenFOAM, but the third party library was deemed totally unacceptable. We would have to package each one seperately, and then call them prerequisites.
I can understand their position. ThirdParty dependencies have always been a pain in either the vanilla OF or the extend version.

With Martin already going to the effort of using RPM to install and manage the ThirdParty stuff, I wonder if it would be better to just work with the distro devs (e.g. Fedora, Ubuntu) and have the ThirdParty RPMs that aren't already included with the distros repo. Some of them are a bit obscure and would likely never make it in a distros repo without someone from the OF community doing so. This way the distros would likely be more willing to provide OpenFOAM in their repos and it would make maintenance of the OF simpler as the third party stuff wouldn't need to be in the source code repos.
cnsidero is offline   Reply With Quote

Old   November 14, 2011, 04:43
Default
  #33
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Thank you all! I modified everything as you suggested and switched back to gcc 4.5. Now it's compiling, I will post the results if it's ready.

I think I would write a manual to compile it. I'm working on it sine 2 weeks without any step in the real project, it's a bit annoying.

Regards,
Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 14, 2011, 05:04
Default
  #34
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Hi,

I'm getting errors again. I attach the log file, and also quote the lines:

log_Allwmake_1.zip

Quote:
SOURCE=IPread.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -DOMPI_SKIP_MPICXX -I/include -IlnInclude -I. -I/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOptOPENMPI/IPread.o
IPread.C:29:17: fatal error: mpi.h: No such file or directory
compilation terminated.
OPwrite.C:29:17: fatal error: mpi.h: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOptOPENMPI/IPread.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Make/linux64GccDPOptOPENMPI/OPwrite.o] Error 1
+ wmake libo OSspecific/POSIX
wmakeLnInclude: linking include files to ./lnInclude
Quote:
SOURCE=metisDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I -I../decompositionMethods/lnInclude -I../scotchDecomp/lnInclude -IlnInclude -I. -I/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/metisDecomp.o
In file included from metisDecomp.C:27:0:
metisDecomp.H:39:33: fatal error: decompositionMethod.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/metisDecomp.o] Error 1
+ wmake libso parMetisDecomp
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file parMetisDecomp.C
Quote:
In file included from parMetisDecomp.C:27:0:
parMetisDecomp.H:38:33: fatal error: decompositionMethod.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/parMetisDecomp.o] Error 1
+ wmake libso decompositionMethods
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file decompositionMethod/decompositionMethod.C
Quote:
OURCE=manualDecomp/manualDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/manualDecomp.o
/usr/bin/ld: cannot find -lscotchDecomp
/usr/bin/ld: cannot find -lmetisDecomp
/usr/bin/ld: cannot find -lparMetisDecomp
collect2: ld returned 1 exit status
make: *** [/home/attila/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libdecompositionMethods.so] Error 1
+ wmake libso lagrangian/basic
The term "/usr/bin/ld: cannot find" repeats before any Error1 message.

Did you experienced the same problem?

Regards,
Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 14, 2011, 08:22
Default
  #35
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
An other two questions:

1. should I compile first the ThirdParty package before OF16ext? Because the compiler is always looking for those files...
2. should I switch to older gcc than 4.5?
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 14, 2011, 08:53
Default
  #36
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Quote:
Originally Posted by marupio View Post
The first error in your log is your problem. In this case it's:

Code:
/home/attila/OpenFOAM/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude/motionSolver.H:41:32: fatal error: twoDPointCorrector.H: No such file or directory
Find out why it can't find this file. If the file exists, the lnInclude directory may have been created improperly, in which case you can delete the lnInclude directories and try again. I'd sooner burn everything, go back to the version we know works, make those two changes, and compile again.
Hi, actually I don't have the InInclude directory either. Is it created by compiling the ThirdParty package?

Thanks,
Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   November 14, 2011, 10:47
Default
  #37
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
You should have the lnInclude (that's lower-case L, lower-case N, upper-case i, nclude)... the directories are in the root of each library. Look at src/OpenFOAM/lnInclude; src/finiteVolume/lnInclude, etc..

As for the errors you're seeing, yeah, you need to have the third party stuff compiled. I found this the worst part of the process... and my solution was very, very ugly. But I got it to work. I'll try and remember what I did.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   November 14, 2011, 12:03
Default
  #38
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Go to ThirdParty directory, run ./AllMake
It will fail, but it will have downloaded all the necessary .tar.gz files to ThirdParty/rpmBuild/SOURCES. Now, when AllMake runs, it unpacks these .tar.gz files into source directories in ThirdParty/rpmBuild/BUILD. Here's the ugliest part: when something fails, you will not be editing the unpacked directory... you will be editing the tar.gz archive itself. I used the default ArchiveManager or whatever, and opened the necessary files, made the changes, saved them, then it asked if I wanted to save the archive. It was pretty easy.

I did a diff on the archives, and here's what I changed, apparently:

LIBCCMIO
I remember this package could not identify my computer platform, and its custom-written platform guesser config/config.guess, config/config.system and config/config.gnu.to.star ultimately called it "unknown". All the platforms have their own subdirectory under config/, so the script would look for config/unknown, and fail. So I chose an existing directory that sounded close enough and copied it to config/unknown.

MESQUITE
This one was easier than I thought. I edited include/Mesquite.hpp and added:

#include <stdlib.h>

to line 64.

PARMGRIDGEN
I edited /Makefile.in and changed:

# Which make to use
make = gmake

To:

# Which make to use
make = make

The rest of them compiled first try.

Hopefully this works for you!
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   November 15, 2011, 06:48
Default
  #39
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
Hello David,

thank you for your help! Now the compilation of ThirParty goes better, except paraview as we discussed before:

Quote:
[ 49%] Building CXX object VTK/Imaging/Testing/Cxx/CMakeFiles/ImagingCxxTests.dir/FastSplatter.cxx.o
Linking CXX executable ../../../../bin/ImagingCxxTests
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetDoublev'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLighti'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glClearDepth'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDeleteLists'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord2fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glIsTexture'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glMatrixMode'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord3iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex3f'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glClearColor'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPushName'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `vtkXOpenGLRenderWindow::SetDisplayId(_XDisplay*)'
/home/attila/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libvtkftgl.so.pv3.10: undefined reference to `glPopClientAttrib'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLineWidth'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `vtkXOpenGLRenderWindow::New()'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexEnvi'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTranslated'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glRasterPos2f'
/home/attila/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.10.1/buildObj/bin/libvtkftgl.so.pv3.10: undefined reference to `glPushClientAttrib'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `vtkXOpenGLRenderWindow::SetWindowId(unsigned long)'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLightfv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glEndList'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDepthRange'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glFlush'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetTexImage'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertexPointer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLoadName'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord4iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexImage1D'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDepthFunc'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDrawElements'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDisableClientState'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLoadIdentity'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColorMask'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glNormal3bv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord1sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLightf'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glOrtho'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLineStipple'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glIsEnabled'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord1f'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glMultMatrixd'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4ubv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glEdgeFlagPointer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPointSize'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGenTextures'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPolygonMode'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glViewport'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColorPointer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetString'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex2fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glSelectBuffer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDepthMask'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glNormalPointer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPopAttrib'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glNormal3dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex4iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex2f'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glMultMatrixf'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex4fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDrawPixels'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord3dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPolygonOffset'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexParameterf'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glEnable'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glClear'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex2sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glMaterialfv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex2iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glScissor'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `vtkXOpenGLRenderWindow::GetDisplayId()'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex3d'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glReadPixels'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex3iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetBooleanv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord2f'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glRectf'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex3dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4bv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3bv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord1dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPixelZoom'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glNormal3iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPushMatrix'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord3fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glNewList'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexParameterfv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glBitmap'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDrawBuffer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glStencilFunc'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glInitNames'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex3sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetLightfv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetFloatv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexSubImage2D'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexParameteri'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3usv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glStencilOp'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glRenderMode'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glEnableClientState'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord1fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord4fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4ub'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glClearStencil'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGenLists'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord4dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glShadeModel'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLightModelfv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex4sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetIntegerv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4usv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexEnvf'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glRasterPos2i'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glFinish'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetTexLevelParameteriv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glEnd'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glEdgeFlag'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glCallList'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glClipPlane'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex4dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glAlphaFunc'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPushAttrib'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDisable'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glCopyTexSubImage2D'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLightModeli'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPixelStorei'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4d'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glBegin'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glPopMatrix'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLoadMatrixd'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex3fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glNormal3sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glRasterPos3f'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoordPointer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDeleteTextures'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glGetError'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexImage2D'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3uiv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord4sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord2dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glNormal3fv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord2iv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4f'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glBlendFunc'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glDrawArrays'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord2sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glLoadMatrixf'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glBindTexture'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor3ubv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColor4uiv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glCullFace'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord3sv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glVertex2dv'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glColorMaterial'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glReadBuffer'
../../../../bin/libvtkRendering.so.pv3.10: undefined reference to `glTexCoord1iv'
collect2: ld returned 1 exit status
make[2]: *** [bin/ImagingCxxTests] Error 1
make[1]: *** [VTK/Imaging/Testing/Cxx/CMakeFiles/ImagingCxxTests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkPImageWriter.cxx.o
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkPipelineSize.cxx.o
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkSynchronizedRenderers.cxx.o
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkSynchronizedRenderWindows.cxx.o
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkTreeCompositer.cxx.o
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkExodusIIWriter.cxx.o
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCompositeZPassShader_fs.cxx.o
[ 49%] Building CXX object VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkParallelInstantiator.cxx.o
Linking CXX shared library ../../bin/libvtkParallel.so
[ 49%] Built target vtkParallel
make: *** [all] Error 2
error: Bad exit status from /home/attila/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.1ndj4v (%build)


RPM build errors:
Bad exit status from /home/attila/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.1ndj4v (%build)
Installing package: ParaView-3.10.1
Uninstalling ParaView-3.10.1 using RPM: ParaView-3.10.1-linux64GccDPOpt.x86_64
Installing ParaView-3.10.1 using RPM file: /home/attila/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.10.1-linux64GccDPOpt.x86_64.rpm
error: open of /home/attila/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.10.1-linux64GccDPOpt.x86_64.rpm failed: No such file or directory
Done installing package
The first 3 stage of the compilation of ThirdParty goes perfectly, thank you very much!

I start to compile OF.

Best Regards,
Attila
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.

Last edited by Attesz; November 15, 2011 at 08:00.
Attesz is offline   Reply With Quote

Old   November 15, 2011, 09:04
Default
  #40
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Right... forgot to mention - I never did get Paraview to compile. I don't use it. I read somewhere in the forums that the fix was adding a simple include in one of the files. I think you include stddef, but I can't remember.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Reply

Tags
11.10, ext, of extended


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
OpenFOAM 1.7.1 installation problem on Fedora 14 armonica OpenFOAM Installation 16 March 31, 2011 14:16
Error in apt-get update for installation of OpenFoam 1.7.1 on Ubuntu 10.10 StuntedChicken OpenFOAM Installation 1 January 9, 2011 11:43
New openfoam installation fivos OpenFOAM Installation 5 April 1, 2009 04:58
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 11:01.