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