[CMake] RE: UseLATEX.cmake macros

Bertrand Jacquin beber.mailing at gmail.com
Thu Apr 20 16:19:37 EDT 2006


On 4/20/06, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>
>
> Well, I am at a loss as to what your problem can be.  I am using the same
> version of cmake and have successfully used UseLATEX.cmake on two different
> platforms.
>
>  Furthermore, the first two errors that you are getting are in part of
> UseLATEX.cmake that are before any changes that I have made.  You were not
> getting them before, so what happened?  Are you sure that you grabbed it
> from the Wiki correctly?

Maybe could you it to me. Maybe a wiki malformation ?

>  Before you gave a link to the CMakeLists.txt you were using, but I tried
> following it and did not see and CMake files.  If you fixed that, I might be
> able to take a look at what you are doing.

Did you go there :
http://guybrush.ath.cx/gitweb/?p=school/PFE.git;a=tree;h=bj/cmake;hb=bj/cmake
?

>
>  -Ken
>
>
>  -----Original Message-----
>  From: Bertrand Jacquin [mailto:beber.mailing at gmail.com]
>  Sent: Thu 4/20/2006 11:58 AM
>  To: Moreland, Kenneth
>  Cc: Bertrand Jacquin; cmake at cmake.org; else-devel at gna.org
>  Subject: Re: [CMake] RE: UseLATEX.cmake macros
>
>  On 4/20/06, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>  > The first error is because you are not building out-of-source.  The rest
>  > of the errors are a mystery to me.  I'm not getting them.  It looks like
>  > CMake is incorrectly resolving a bunch of variables as empty (which
>  > would also explain the first error if you really are building
>  > out-of-source).  What version of CMake are you using?
>
>  /mnt/data/src/gaim % cmake --version
>  cmake version 2.2-patch 3
>
>
>  >
>  > -Ken
>  >
>  > > -----Original Message-----
>  > > From: Bertrand Jacquin [mailto:beber.mailing at gmail.com]
>  > > Sent: Thursday, April 20, 2006 9:36 AM
>  > > To: Moreland, Kenneth
>  > > Cc: Bertrand Jacquin; cmake at cmake.org; else-devel at gna.org
>  > > Subject: Re: [CMake] RE: UseLATEX.cmake macros
>  > >
>  > > On 4/19/06, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>  > > > Beber,
>  > > >
>  > > > I've posted an update for UseLATEX.cmake on the Wiki that should fix
>  > > > your problem.  Let me know if you have other issues.
>  > >
>  > > Thanks,
>  > >
>  > > But ... cmake failed :
>  > >
>  > > ~/pfe-cmake % cmake .
>  > > -- Check for working C compiler: gcc
>  > > -- Check for working C compiler: gcc -- works
>  > > -- Check size of void*
>  > > -- Check size of void* - done
>  > > -- Check for working CXX compiler: c++
>  > > -- Check for working CXX compiler: c++ -- works
>  > > CMake Error: LaTeX files must be built out of source.
>  > > CMake Error: Error in cmake code at
>  > > /usr/share/cmake/Modules/UseLATEX.cmake:91:
>  > > INCLUDE Could not find include file: /Modules/FindLATEX.cmake
>  > > CMake Error: Error in cmake code at
>  > > /usr/share/cmake/Modules/UseLATEX.cmake:344:
>  > > LATEX_USAGE Macro invoked with incorrect arguments for macro
>  > > named: LATEX_USAGE
>  > > CMake Error: Error in cmake code at
>  > >
> /home/beber/pfe-cmake/docs/cahier_des_charges/CMakeLists.txt:5:
>  > > A command failed during the invocation of macro
>  > > "PARSE_ADD_LATEX_ARGUMENTS".
>  > > CMake Error: Error in cmake code at
>  > > /usr/share/cmake/Modules/UseLATEX.cmake:478:
>  > > PARSE_ADD_LATEX_ARGUMENTS unknown error.
>  > > CMake Error: Error in cmake code at
>  > >
> /home/beber/pfe-cmake/docs/cahier_des_charges/CMakeLists.txt:5:
>  > > A command failed during the invocation of macro "ADD_LATEX_DOCUMENT".
>  > > CMake Error: Error in cmake code at
>  > >
> /home/beber/pfe-cmake/docs/cahier_des_charges/CMakeLists.txt:5:
>  > > ADD_LATEX_DOCUMENT unknown error.
>  > > The end of a CMakeLists file was reached with an IF statement that was
>  > > not closed properly.
>  > > Within the directory:
> /home/beber/pfe-cmake/docs/cahier_des_charges
>  > > The arguments are: LATEX_DEFAULT_ARGS
>  > > -- Configuring done
>  > > ~/pfe-cmake :( %
>  > >
>  > > --
>  > > Beber
>  > > #e.fr at freenode
>  > >
>  > >
>  >
>  >
>
>
>  --
>  Beber
>  #e.fr at freenode
>
>
>
>
>
>


--
Beber
#e.fr at freenode


More information about the CMake mailing list