|
[Sponsors] |
May 28, 2009, 13:48 |
CMake error on my 64bit machine
|
#1 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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 Building ParaView3.3-cvs MPI support : OFF Python support : OFF MESA support : OFF Source : /home/sega/OpenFOAM/ThirdParty/ParaView3.3-cvs Target : /home/sega/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /home/sega/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin CMake Error: Error executing cmake::LoadCache(). Aborting. make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss. done Maybe I'm getting tired or the information is hiding from me. Could someone help me with this? Whats wrong?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 28, 2009, 16:11 |
|
#2 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
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 Last edited by hellorishi; May 29, 2009 at 04:24. |
|
May 28, 2009, 16:47 |
|
#3 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Sounds promising, as there is an error:
Code:
sega@deepblue:~$ cmake --version bash: /home/sega/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake: No such file or directory Code:
sega@deepblue:~/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin$ ls ccmake cmake cpack ctest Code:
sega@deepblue:~$ qmake --version QMake version 2.01a Using Qt version 4.3.5 in /home/sega/OpenFOAM/ThirdParty/Qt-4.3.5/lib
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 29, 2009, 15:23 |
|
#4 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
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 |
|
May 29, 2009, 16:14 |
|
#5 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
May 29, 2009, 16:36 |
|
#6 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
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 |
|
May 29, 2009, 17:01 |
|
#7 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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 CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: OPENGL_INCLUDE_DIR (ADVANCED) -- Configuring done make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss. done What does this OPENGL error mean? I am happy managing this linux stuff without doing some drivers related to my graphic card ...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
May 29, 2009, 17:58 |
|
#8 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
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 |
|
May 29, 2009, 18:08 |
|
#9 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
What does that mean? How do I search my system for THAT?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 29, 2009, 22:29 |
|
#10 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
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
|
|
May 29, 2009, 22:34 |
|
#11 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
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
|
|
May 30, 2009, 03:36 |
|
#12 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
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 |
|
May 30, 2009, 06:08 |
|
#13 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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 Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut Lese Status-Informationen ein... Fertig E: Konnte Paket mesa-libGL*-devel nicht finden I would not even know what question I should post on the ubuntu forum.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 30, 2009, 06:46 |
|
#14 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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 libxt-dev Hopefully there won't be any other errors...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 30, 2009, 10:17 |
|
#15 | |
New Member
Andreas
Join Date: May 2009
Location: Germany
Posts: 13
Rep Power: 17 |
Hi,
i am also stuck at Code:
andreas@andreas-desktop:~/OpenFOAM/ThirdParty$ buildParaView3.3-cvs Building ParaView3.3-cvs MPI support : OFF Python support : OFF MESA support : OFF Source : /home/andreas/OpenFOAM/ThirdParty/ParaView3.3-cvs Target : /home/andreas/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /home/andreas/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin CMake Error: Error executing cmake::LoadCache(). Aborting. make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss. done andreas@andreas-desktop:~/OpenFOAM/ThirdParty$ Quote:
andi |
||
May 30, 2009, 10:18 |
|
#16 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
Good Luck, and let us know the results of your 64 bits installation |
||
May 30, 2009, 10:29 |
|
#17 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
No. It solved the problem with CMake on my system.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 30, 2009, 10:41 |
|
#18 |
New Member
Andreas
Join Date: May 2009
Location: Germany
Posts: 13
Rep Power: 17 |
Thats bad, for me
@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 :/ |
|
May 30, 2009, 13:18 |
|
#19 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
Good Luck |
||
June 2, 2009, 05:34 |
|
#20 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11:46 |
64bit machine for CFX | Ahlo | CFX | 1 | February 7, 2008 17:30 |
Library problem on a 64bit machine wrong ELF class ELFCLASS32 | jango | OpenFOAM Installation | 0 | June 11, 2007 08:29 |
Problems installing OpenFoam on a 64bit machine | jango | OpenFOAM Installation | 1 | June 4, 2007 15:53 |
runing Fluent with a 64bit machine | Rucy | FLUENT | 1 | November 17, 2005 09:51 |