From: Hedayat V. <hed...@ai...> - 2009-02-16 17:16:54
|
<!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"> Hi,<span><br> <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 ۰۹/۰۲/۱۶ 06:17:50:</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:598...@ma..." type="cite">Hi.<br> <br> <div class="gmail_quote">On Mon, Feb 16, 2009 at 1:56 PM, Hedayat Vatankhah <span dir="ltr"><<a moz-do-not-send="true" href="mailto:hed...@ai...">hed...@ai...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div 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> <i><b>"Marian Buchta" <a moz-do-not-send="true" href="mailto:mar...@gm..." target="_blank"><mar...@gm...></a></b></i> wrote on ۰۹/۰۲/۱۵ 11:42:48:</span> <div class="Ih2E3d"><br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">Hi Hedayat and all developers.</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">I successfully compiled Spark package in Windows Platform (Vista), but I have a couple questions about it:</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">1. Following projects need OpenGL extension header files[1]:</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">glext.h – kerosin and imageperceptor</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">glxext.h, wglext.h – kerosin</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; 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> </div> <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?</p> </div> </blockquote> <div><br> Files, that I mention above (glext.h, glxext.h, wglext.h) are not available in Windows (XP or Vista) by default. Also they are not available after installed Visual Studio or Microsoft Vistual C++ 2008 Redistributable Package. VS 2008 include only files gl.h and glu.h. For that reason this files must be downloaded from this[1] site. I think, we have two possibilities:<br> - add this files into project spark<br> - user will download this files from[1] site, copy them to the e.g. C:\library\OpenGL\GL, add path to them and compile project.<br> What do you think?<br> </div> </div> </blockquote> Thanks for the explanation :). So, I agree with you about putting those files in the mentioned path inside spark.<br> <br> <br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"></span></p> ...</div> </blockquote> </div> </div> </blockquote> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"></span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"> </span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; 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> </div> <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> </div> </blockquote> <div><br> You have right. I tried figure out how to resolve this problem. Thank you for idea.<br> </div> </div> </blockquote> :) Great!<br> <span style="font-size: 10pt; color: windowtext;"> </span> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"> </span></p> ...</div> </blockquote> </div> </div> </blockquote> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p><span style="color: rgb(31, 73, 125);"> </span></p> </div> </blockquote> </div> </div> </blockquote> <div>Thank you,<br> Marian <br> </div> </div> <br> </blockquote> <br> Good luck,<br> Hedayat<br> </body> </html> |