CMAKE cannot find CMakeLists.txt

Post here if you have problem using the CMAKE build process

CMAKE cannot find CMakeLists.txt

Postby jacky70122 » Fri Apr 01, 2011 5:21 am

Hi, I want to use clapack in VS2008 in Win 7. So I downloaded clapack-3.2.1-CMAKE.gz, unpack to a file clapack-3.2.1-CMAKE, and then do the following to compile clapack using CMAKE
1. Open CMAKE
2. "Where is the source code:" point to the folder contains clapack-3.2.1-CMAKE (D:/HPC_Software/Clapack-install in my case)
3. Point to a new folder where to build the binary
4. Configure

It generates the following error:
CMake Error: The source directory "D:/HPC_Software/Clapack-install" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Does anyone know where CMakeLists.txt is?

Jacky
jacky70122
 
Posts: 1
Joined: Fri Apr 01, 2011 4:36 am

Re: CMAKE cannot find CMakeLists.txt

Postby chuckatkins » Sat Apr 02, 2011 8:33 pm

Jacky,
The CMakeLists.txt file will be in the top level source directory for clapack. It seems like you are pointing to the folder containing the source folder. Try pointing to the actual source folder, in your case, D:/HPC_Software/Clapack-install/clapack-3.2.1-CMAKE .
chuckatkins
 
Posts: 3
Joined: Sat Apr 02, 2011 8:10 pm

Re: CMAKE cannot find CMakeLists.txt

Postby edward » Wed Apr 27, 2011 3:26 pm

Hello.

Perhaps I've misunderstood the instructions, but I downloaded clapack-3.2.1-CMAKE.gz and unzipped it, and only one file was included, namely clapack-3.2.1-CMAKE. Is this as it should be? The reply below seems to indicate that clapack-3.2.1-CMAKE is a folder rather than a file.

Thanks and regards,

Ed
edward
 
Posts: 2
Joined: Wed Apr 27, 2011 3:10 pm

Re: CMAKE cannot find CMakeLists.txt

Postby admin » Wed Apr 27, 2011 3:44 pm

Indeed it is a folder!
Did you try this link? http://netlib.org/clapack/clapack-3.2.1-CMAKE.tgz
You may not have the correct tool under Windows to unzip it, or sometimes Windows requires to unzip it twice.
I usually use 7-zip or IZarc under Windows.
Julie
admin
Site Admin
 
Posts: 498
Joined: Wed Dec 08, 2004 7:07 pm

Re: CMAKE cannot find CMakeLists.txt

Postby edward » Wed Apr 27, 2011 4:55 pm

Julie,

Many thanks for your help. Using 7-zip and extracting twice worked.

Best regards,

Ed
edward
 
Posts: 2
Joined: Wed Apr 27, 2011 3:10 pm


Return to CMAKE

Who is online

Users browsing this forum: No registered users and 1 guest

cron