[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    [CMake] Compiling Firebreak plugin on OSX
From:       Jon Webb <jwebb () compunetix ! com>
Date:       2014-09-25 20:14:45
Message-ID: BC43E65BFF625F4D9C7312E8E2B3883F3A3155 () EXCH3 ! compunet ! local
[Download RAW message or body]

I'm having a heck of a time compiling a Firebreath plugin using OSX 10.8. (=
Firebreath uses CMake). I installed Xcode 5.1 and the command-line tools, a=
nd ran xcode-select to set the Xcode path. I also installed Qt 4.8.2 (which=
 Firebreath uses) and CMake, of course. When I run prepmac.sh I get an erro=
r that CMAKE_C_COMPILER and CMAKE_CXX_COMPILER are not found. I also found =
this error in the CMakeError log:

In file included from /Volumes/osPresenter/PresenterPlugin/CtxPresenterPlug=
in/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:328:6: warning: "Thi=
s version of Mac OS X is unsupported" [-W#warnings]
#    warning "This version of Mac OS X is unsupported"
     ^
/Volumes/osPresenter/PresenterPlugin/CtxPresenterPlugin/build/CMakeFiles/CM=
akeTmp/CheckSymbolExists.cxx:8:19: error: use of undeclared identifier 'Q_W=
S_QWS'
  return ((int*)(&Q_WS_QWS))[argc];
                  ^
1 warning and 1 error generated.

It looks to me like CMake is trying to verify whether symbol processing wor=
ks in the way it expects and this fails.
Clearly I'm missing some important step. Can anyone point out to me what it=
 might be?



[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I&#8217;m having a heck of a time compiling a Firebreath plugin \
using OSX 10.8. (Firebreath uses CMake). I installed Xcode 5.1 and the command-line \
tools, and ran xcode-select to set the Xcode path. I also installed Qt 4.8.2 (which \
Firebreath  uses) and CMake, of course. When I run prepmac.sh I get an error that \
CMAKE_C_COMPILER and CMAKE_CXX_COMPILER are not found. I also found this error in the \
CMakeError log:<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">In file included from \
/Volumes/osPresenter/PresenterPlugin/CtxPresenterPlugin/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2:<o:p></o:p></p>
 <p class="MsoNormal">/Library/Frameworks/QtCore.framework/Headers/qglobal.h:328:6: \
warning: &quot;This version of Mac OS X is unsupported&quot; \
[-W#warnings]<o:p></o:p></p> <p class="MsoNormal">#&nbsp;&nbsp;&nbsp; warning \
&quot;This version of Mac OS X is unsupported&quot;<o:p></o:p></p> <p \
class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; ^<o:p></o:p></p> <p \
class="MsoNormal">/Volumes/osPresenter/PresenterPlugin/CtxPresenterPlugin/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: \
error: use of undeclared identifier 'Q_WS_QWS'<o:p></o:p></p> <p \
class="MsoNormal">&nbsp; return ((int*)(&amp;Q_WS_QWS))[argc];<o:p></o:p></p> <p \
class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
^<o:p></o:p></p> <p class="MsoNormal">1 warning and 1 error generated.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">It looks to me like CMake is trying to verify whether symbol \
processing works in the way it expects and this fails.<o:p></o:p></p> <p \
class="MsoNormal">Clearly I&#8217;m missing some important step. Can anyone point out \
to me what it might be?<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
--===============1148037876==--



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic