CMake error on my 64bit machine
Hello World.
I am really really sorry to ask about this since I have managed to install OpenFOAM about three times before on 32bit machines. But on my new 64bit machine running Kubuntu 9.04 I'm really stuck. So far I have managed to install the Qt version 4.3.5 and wanted to compile Paraview 3.3 by running Code:
buildParaView3.3-cvs Unfortunately there is this error message Code:
sega@deepblue:~/OpenFOAM/ThirdParty$ buildParaView3.3-cvs Maybe I'm getting tired or the information is hiding from me. Could someone help me with this? Whats wrong? |
Hi Sebastian,
I dont know the exact answer. I would recommend posting the output of few commands. cmake --version qmake --version This way you will be atleast sure you using the suitable versions of both programs. Rishi |
Sounds promising, as there is an error:
Code:
sega@deepblue:~$ cmake --version Code:
sega@deepblue:~/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin$ ls Code:
sega@deepblue:~$ qmake --version |
Hi Sebastian,
It seems more people have problems with cmake in Kubuntu 9.04. In this thread it is mentioned that you need to install it separately by Code:
sudo apt-get install cmake Regards, Gijsbert |
Quote:
There are 263 files called CMakeLists.txt on my system. Which one am I going to edit? And how? I was not able to extract any valuable information to me out of your suggested thread, sorry. It's about some weather plasmoid software? Meanwhile I did a Code:
sudo apt-get remove cmake Code:
sudo apt-get install cmake |
set WM_64 to true.
Hrv there seem to be some unknown trick to compile paraFoam on 64 bits systems. I had a similar problem on openSUSE 64 bits, but the answer I got did not solve my problem, it might work for you here is a link to that thread http://www.cfd-online.com/Forums/ope...evelopers.html |
Quote:
I put WM_64='true' to the very end of /OpenFOAM/OpenFOAM-1.5/etc/bashrc At least it made the buildParaView3.3-cvs go some way. It went until hitting Code:
-- Found Qt-Version 4.3.5 What does this OPENGL error mean? I am happy managing this linux stuff without doing some drivers related to my graphic card ... |
Well, I guess my limited Linux knowledge might help you. There are two ways to solve this:
1- search your system and find where the OPENGL is located, then set it manually in the bashrc file 2- find which system file has the system variables defined and edit it (You can post a query on your distro forums and sure there will be some willing to help, at least this is what I did) You know, I thought non zero definitions means true, but it is not, this week end I will try to do as you did, set the value to 'true' and see what happens, thanks, for your informative answer. Good Luck |
Quote:
|
on my openSUSE, I would call YAST -> software management and type the file name in the search window, does that answer help you? of course not. Sorry for that. Take your question to the UBUNTU forums, good Samaritans are everywhere
|
one more point, OPENGL is a microsoft product, and instead, Linux distros use the MESA graphic library, there must be some softlinks to adjust for that
|
Hi Sebastian,
You need some OpenGL and X11 libs, at least on Fedora. In (K)Ubuntu I know you also need mesa libs. You can get the whole bunge with Code:
sudo yum groupinstall x-software-development development-tools Code:
sudo apt-get mesa-libGL\*-devel freeglut-devel libdrm-devel Cheers, Gijs |
Hi.
I am afraid no. Code:
sudo yum groupinstall x-software-development development-tools Code:
sudo apt-get install mesa-libGL\*-devel freeglut-devel libdrm-devel Unfortunately these packages are not found. Code:
sega@deepblue:~$ sudo apt-get install mesa-libGL\*-devel freeglut-devel libdrm-devel I would not even know what question I should post on the ubuntu forum. |
Is that true?! Looks like I fixed it!
Searching for days I finally found http://jlinx.de/blog/?p=304 and installing the two packages Code:
freeglut3-dev Hopefully there won't be any other errors... |
Hi,
i am also stuck at Code:
andreas@andreas-desktop:~/OpenFOAM/ThirdParty$ buildParaView3.3-cvs Quote:
andi |
Quote:
Good Luck, and let us know the results of your 64 bits installation |
Quote:
|
Quote:
@Ahmed: I already have this packages installed. If i understood sega correctly his first error which is similar to mine disapperaed after setting WM_64 to true which unfortunately does not seem to do the trick for me. I guess i will have to throw the 32bit Version on VirtualBox and not the 64 one :/ |
Quote:
Good Luck |
Quote:
|
All times are GMT -4. The time now is 12:31. |