|
From: Hedayat V. <hed...@ai...> - 2009-02-16 12:58:31
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bgcolor="#ffffff" text="#000000">
<span></span>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Hi Marian,</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Thank you for your
efforts :)<br>
</p>
<span><br>
<style type="text/css">blockquote {color: navy !important; background-color: RGB(245,245,245) !important; padding: 0 15 10 15 !important; margin: 15 0 0 0; border-left: #1010ff 2px solid;} blockquote blockquote {color: maroon !important; background-color: RGB(235,235,235) !important; border-left-color:maroon !important} blockquote blockquote blockquote {color: green !important; background-color: RGB(225,225,225) !important; border-left-color:teal !important} blockquote blockquote blockquote blockquote {color: purple !important; background-color: RGB(215,215,215) !important; border-left-color: purple !important} blockquote blockquote blockquote blockquote blockquote {color: teal !important; background-color: RGB(205,205,205) !important; border-left-color: green !important}</style><i><b>"Marian
Buchta" <a class="moz-txt-link-rfc2396E" href="mailto:mar...@gm..."><mar...@gm...></a></b></i>
wrote on ۰۹/۰۲/۱۵
11:42:48:</span><br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Obyčajný text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;
color:black;}
span.ObyajntextChar
{mso-style-name:"Obyčajný text Char";
mso-style-priority:99;
mso-style-link:"Obyčajný text";
font-family:Consolas;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</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]-->
<div class="Section1">
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Hi
Hedayat and all
developers.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">I
successfully compiled
Spark package in Windows Platform (Vista), but I have a couple
questions about
it:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">1.
Following projects need
OpenGL extension header files[1]:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">glext.h
– kerosin and
imageperceptor<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">glxext.h,
wglext.h –
kerosin<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">I
think it is a good idea
to add this header files into Spark in spark/windows/include/GL (e.g.
because
of #include <GL/wglext.h>)</span></p>
</div>
</blockquote>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Sorry, I don't
understand why you want to add these header files to the project while
they are available in Windows?! What's wrong with the current situation
that you've just included these files when compiling in Windows?<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite">
<div class="Section1">
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">2.
I must add many of
“include_directories()” into different projects in Spark. My question
is:
Variable ${Boost_INCLUDE_DIRS} is required in many cmakelists.txt but
not in
all. It is better to add this variable to the each project, that are
need? Or
add this variable in global cmakelists.txt in spark directory? Or
following
variable is the same as previous:
add_definitions(-D_CRT_SECURE_NO_WARNINGS).
Not all project need this.</span></p>
</div>
</blockquote>
<p style="margin-bottom: 0cm; margin-top: 0pt;">I think such flags
should be added globally. <br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite">
<div class="Section1">
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">3.
So, my major problem.
Projects create executable and library files. All libraries are set to
dynamic
library (SHARED) except libobject and sexp. CMake generate Visual
studio (I use
2008) projects. But some projects need STATIC version of other
libraries. E.g.
Sparkagent is dependent from oxygen, salt and zeitgeist libraries. So,
this
three libraries must be set to the STATIC (.lib) library. If not,
Visual studio
write out thousands of linking error. Maybe I found a solution[3]
(please read
all discusion), but it need many changes in (or redesign)
CMmakeLists.txt
files. If you have any proposal how to fix it, your wellcome :) .</span></p>
</div>
</blockquote>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Sorry :( Why some
libraries should be static?! Can't we link sparkagent with oxygen, salt
and zeitgeist dynamic libraries just as what we do in Linux? Isn't it
possible to add those libraries to target_link_libraries(sparkagent)?!
IMHO its not reasonable to link sparkagent with static oxygen, salt and
zeitgeist libraries. It will waste space.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite">
<div class="Section1">
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">At
last some notes:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">-
In some projects I must
add add_dependencies(), because I have a example, where one project
compiled
earlier then other at which first project need library of second
project, so I
have link error of missing library..</span></p>
</div>
</blockquote>
<p style="margin-bottom: 0cm; margin-top: 0pt;">I don't remember right
now, but maybe its enough to add those libraries to
target_link_libraries command?!<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite">
<div class="Section1">
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">-
I replaced old
FindBoost.cmake with new one, because of error with finding library
path (in
${Boost_LIBRARIES} variable). Old script found both libraries (boost
thread and
boost regex) but in variable ${Boost_LIBRARIES} was only second found
path
library. This new script is from new cmake 2.7 from this[2] site (file
cmake-2.7.20090210-win32-x86.zip).<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Some
changes (only for
Windows compatibility) I uploaded to the SVN. Please, see changelog.</span></p>
</div>
</blockquote>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Thanks again,</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Hedayat<br>
</p>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite">
<div class="Section1">
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Best
Regards<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Marian<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">[1]
<a moz-do-not-send="true" href="http://www.opengl.org/registry/">http://www.opengl.org/registry/</a>
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">[2]
<a moz-do-not-send="true" href="http://www.cmake.org/files/vCVS/">http://www.cmake.org/files/vCVS/</a>
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">[3]
<a moz-do-not-send="true" href="http://www.cmake.org/pipermail/cmake/2009-February/026964.html">http://www.cmake.org/pipermail/cmake/2009-February/026964.html</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
<br>
</body>
</html>
|