<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello David,<br>
      <br>
      this error was actually solved in Dec. '15 with the revision
      b7428b45260e.<br>
      <a class="moz-txt-link-freetext" href="http://www.openwalnut.org/issues/385">http://www.openwalnut.org/issues/385</a><br>
<a class="moz-txt-link-freetext" href="http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/2014-November/000519.html">http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/2014-November/000519.html</a><br>
      <br>
       If you checkout the latest default branch/head and re-run
      cmake+make, the compilation should have no errors.<br>
      <br>
      Best regards,<br>
      Christof Pieloth<br>
      <br>
      Am 04.03.2015 um 10:58 schrieb David Moreno-Dominguez:<br>
    </div>
    <blockquote
      cite="mid:372312804.23065.1425463101681.JavaMail.zimbra@cbs.mpg.de"
      type="cite">
      <pre wrap="">Hello,  I am trying to compile the latest Release of OpenWalnut in my computer.
Due to the MaxPlanck IT not allowing to install the package in our szstem as it is precise pangolin and its not officiallz supported I downloaded the required QT5 libraries to a scratch folder  and used cmake-gui to to include this path. cmake gives no errors, however when executing make, I obtain an error in the form (full outputs in the attached file):

/scr/planck1/Qt-5.3.1/include/QtCore/qglobal.h:1030:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE."

I have tried adding these argument in the make, and in the cmake release flags, but that doesnt work. Any idea where I should include it?

I saw the piece of code that prevents the program from compiling is in the form:

#if !defined(QT_BOOTSTRAPPED) &amp;&amp; defined(QT_REDUCE_RELOCATIONS) &amp;&amp; defined(__ELF__) &amp;&amp; !defined(__PIC__) &amp;&amp; !defined(__PIE__)
#  error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
         "Compile your code with -fPIC or -fPIE."
#endif


in qglobal.h. just to check, I have tried commenting it out, in this case the cmake does nto give errors anymore but when trying to execute ./openwalnut I receive an error in the form (again full output in file):

"This application failed to start because it could not find or load the Qt platform plugin "xcb"."

Any solution/ideas/suggestions?

thanks in advance

David


David Moreno-Dominguez
Post-Doc
Research Group: Neuroanatomy and Connectivity
Methods &amp; Development Unit: Cortical Networks and Cognitive Functions
Max Planck Institute for Human Cognitive and Brain Sciences
Stephanstraße 1A, 04103 Leipzig, Germany
Phone: +49 341 9940-2580
Email: <a class="moz-txt-link-abbreviated" href="mailto:moreno@cbs.mpg.de">moreno@cbs.mpg.de</a>
<a class="moz-txt-link-freetext" href="http://www.cbs.mpg.de/~moreno">http://www.cbs.mpg.de/~moreno</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenWalnut-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenWalnut-Dev@lists.informatik.uni-leipzig.de">OpenWalnut-Dev@lists.informatik.uni-leipzig.de</a>
<a class="moz-txt-link-freetext" href="http://lists.informatik.uni-leipzig.de/mailman/listinfo/openwalnut-dev">http://lists.informatik.uni-leipzig.de/mailman/listinfo/openwalnut-dev</a>

Archive: <a class="moz-txt-link-freetext" href="http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/">http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Christof Pieloth, M.Sc.
email: pieloth 'at' labp.htwk-leipzig.de
web: <a class="moz-txt-link-abbreviated" href="http://www.labp.htwk-leipzig.de">www.labp.htwk-leipzig.de</a>
</pre>
  </body>
</html>