Baptiste Derongs wrote:
Hello all,
I am trying to compile some MPI Fortran programs, so the compiler is mpif90.
So I took the cmake/Tests/Fortran example and just set
CMAKE_Fortran_COMPILER. I tried to set it in CMakeLists.txt and
directly in CMakeCache.txt.
I can't make ADD_EXECUTABLE (or
Dunlavy, Daniel M wrote:
I have tried all of the great suggestions on this list and I still have
the same problems. As I mentioned before, I have tried to configure the
Cmake Fortran test and get the same errors. I really think these errors
are path related, as the specific error states that the
like?
--
Marie-Christine Vallet
Genome Center, GBSF
University of California
451 East Health Sciences Drive
Davis, CA 95616, USA
Phone: (530) 754 9738
Email: [EMAIL PROTECTED]
http://koehllab.genomecenter.ucdavis.edu/
Strength is the capacity to break a chocolate bar into four pieces with your
Dunlavy, Daniel M wrote:
Here is a copy of the CMakeLists.txt. I do not believe that anything
below ENABLE_LANGUAGE(Fortran) is causing the problem, as CMakeSetup is
choking on the Fortran tests run as a results of that command. I cannot
generate a VS8 solution. Also, when I put the Fortran
Neumann, Jan (SCR US) wrote:
Hi,
I was wondering if it is possible to use CMake to generate Visual
Studio 2003 or 2005 project files that will use the Intel C++
compiler. Currently, I am generating first the Visual Studio project
and then use the Intel Project Converter that is installed
/testFortranCompiler.f:2:
error: 'PROGRAM' does not name a type
==
--
Marie-Christine Vallet
Genome Center, GBSF
University of California
451 East Health Sciences Drive
Davis, CA 95616, USA
Phone: (530) 754 9738
Email: [EMAIL PROTECTED]
http
Brandon Van Every wrote:
On 10/10/07, Ajay Divekar [EMAIL PROTECTED] wrote:
Hello Experts,
I found this ruby script on
http://www.cmake.org/Wiki/CMake:ConvertFromQmake
which helps in converting from qmake to cmake. Has anyone tried it and if
so what has been there experience? Also before
hi,
How can I build a library on mac with the -c option? I tried to find it
in the documentation but was not able to find it.
Thanks,
Marie
--
Marie-Christine Vallet
Genome Center, GBSF
University of California
451 East Health Sciences Drive
Davis, CA 95616, USA
Phone: (530) 754 9738
Email
Hi,
Apparently it's is the way the library is built, in my case, it should
be build with the -c option, but I don't know how to specify that in the
cmakefile.txt, could someone help me out,
Thanks
Marie
___
CMake mailing list
CMake@cmake.org
Hi,
I have a project which in which I create a library and then I use
this library with my executable. The way I set it up seem to be working on
linux (fedora) but it does not work on mac ox10.
Could someone tell me what I am doing wrong,
Thanks,
Marie
Project tree
*Projectdir
**mdi
Mike Jackson wrote:
What are the errors you are getting on OS X?
I get an undefined symbol error for several of my variables.
If I do the linking manually, leaving out the library, and putting the
.o of the library and use the same flags, it works.
Also, at least one comment, I am not sure
Juan Sanchez wrote:
Could this be an issue with linker order? Most linkers are one pass.
The library containing the undefined references should be on the linker
line before the library containing the symbols, or vice-versa (I keep
forgetting).
The symbols are part of the newly created
Mike Jackson wrote:
Comments are in-line. (Note, this is one particular style of using
CMake, other variations are perfectly valid)
--Mike Jackson Senior Research Engineer
Innovative Management Technology Services
On Sep 27, 2007, at 2:50 PM, Marie-Christine Vallet wrote:
Hi,
I
Mike Jackson wrote:
Marie,
Use the following in your CMakeLists.txt file, generally near the
top just after you define the PROJECT (... )
SET (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/Bin CACHE INTERNAL
For libraries.)
SET (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/Bin CACHE INTERNAL
Mike Jackson wrote:
Are there actual implementations for the undefined functions? If there
are implementations, are they being skipped because of some #define?
Just some simple mistakes that I have made in the past.
The thing is the code is the same for linux and for mac, and it works
well
Hi,
I have a program which requires an data file, How can I include it?
thanks,
Marie
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Maik Keller wrote:
Hi,
but I need to include the generated header file in my derived class file. How
do I do this if the generated file is not in one of my source directories?
Thanks,
Maik
Yes, but you don't need to change the location with cmake. I am also
working with a qt project and
Marie-Christine Vallet wrote:
Maik Keller wrote:
Hi,
but I need to include the generated header file in my derived class
file. How do I do this if the generated file is not in one of my
source directories?
Thanks,
Maik
Yes, but you don't need to change the location with cmake. I am also
yardbird wrote:
Hello,
I would like to use CMake as a build system for a Fortran project of my
research group.
The problems I'm experiencing are quite various, but I think I've tracked them
down to a single cause. In the specific case, which I'm attaching as a
compressed archive, CMake
Hi,
I don't really know how to explain this but, This is what I would like to do
maindir/
CMakeLists.txt
---
SET(PROJECT_LIBRARIES
${GMP_LIBRARIES}
)
---
subdir1/
CMakeLists.txt
---
SET(PROJECT_LIBRARIES
${PROJECT_LIBRARIES}
anotherlib
)
---
subdir2/
Hi,
I have a C mixed with Fortran and would like to be able to choose my
fortran compiler depending on the c compiler eg ifort if I use icc or
f77 if I use gcc. I tried this
IF ( CMAKE_COMPILER_IS_GNUCC )
SET(CMAKE_Fortran_COMPILER f77)
ENDIF ( CMAKE_COMPILER_IS_GNUCC )
But it does
Hi,
I would like to use g++ as my c compiler (which works) but cmake does
not let me do that. Is this normal?
Thanks again,
Marie
cmake -DCMAKE_Fortran_COMPILER:string=g77
-DCMAKE_CXX_COMPILER:string=g++ -DCMAKE_C_COMPILER:string=g++
-- Check for working CXX compiler: g++
-- Check for
Bill Hoffman wrote:
Marie-Christine Vallet wrote:
Hi,
I would like to use g++ as my c compiler (which works) but cmake does
not let me do that. Is this normal?
Thanks again,
Marie
I suspect you want to look at LINKER_LANGUAGE. You really don't want
to use g++ for a c compiler.
What
Hi,
I have C++ Fortran project, and cannot seem to set the linker_language
of the project. What am I doing wrong?
Any suggestion?
Thanks,
Marie
--- CMakeLists.txt
PROJECT(skinmesh Fortran CXX C ) # the name of your project
SET_TARGET_PROPERTIES(${TARGET}
PROPERTIES
David Cole wrote:
Your first one should work. But it should be CXX with uppercase X
characters.
That is the case, it's just a Typo
And the value of TARGET must be set prior to invoking
SET_TARGET_PROPERTIES using ${TARGET} -- are you sure the value of
${TARGET} is correct...?
How to I fix
David Cole wrote:
The first argument of SET_TARGET_PROPERTIES should be the same as the
first argument of your ADD_LIBRARY or ADD_EXECUTABLE command.
You need one SET_TARGET_PROPERTIES for each library or executable
target where you have a mixture of C, CXX and Fortran code...
HTH,
David
Alan W. Irwin wrote:
PLplot used to have a library built from Fortran and C. It worked
okay on
Linux, but caused nothing but trouble on other platforms so we split the
library into two libraries, one containing fortran objects and one
containing
C objects, and my life has been much more
Hi,
I wanted to use LD an F flags for my compilation, but I cannot seem to
find how to set them up
Thanks,
Marie
---
In configure.ac it looked like that, I managed to get the libraries ok,
but
Hi,
I wanted to check for an non standard existing library (QGLViewer) and
found a custom .cmake file on Internet that will do that for me. The
problem is that I am starting cmake, and do not know where to place that
custom .cmake file
I found the custom .cmake file here:
Michael G. Hansen wrote:
Marie-Christine Vallet wrote:
I wanted to check for an non standard existing library (QGLViewer)
and found a custom .cmake file on Internet that will do that for me.
The problem is that I am starting cmake, and do not know where to
place that custom .cmake file
I
works like a charm.
Thanks,
Marie
Michael G. Hansen wrote:
If I understand you correctly, you want to check whether the
FindQGLViewer found what it was looking for?
There should be no need to turn the file into a macro. Once you do
# Additional CMake modules for 3rd party library checks
why do I have to include and link qt_dir and qt_libs when I set this
variable ?
SET ( QT_USE_OPENGL TRUE )
INCLUDE_DIRECTORIES (
${CMAKE_CURRENT_BINARY_DIR}
${QT_INCLUDE_DIR}
${QT_QTOPENGL_INCLUDE_DIR}
)
Qt: 3.3.8
KDE: 3.5.7-0.1.fc6 Fedora
KDevelop: 3.4.1
Hi,
I have an application for which I am developing a qt UI. I looked on
the web for solution in integrating these two and someone suggested
(from the qt list) to use cmake.
I looked into documentation and did not find a tutorial/documentation
33 matches
Mail list logo