[MBDyn-users] successful compilation of MBDyn-1.5.0 on Windows XP + Cygwin-1.7.16

Rix, Patrick Patrick.Rix at repower.de
Fri Aug 31 13:26:36 CEST 2012


Hi Pierangelo,

I wanted to give feedback about the compilation of the new MBDyn-1.5.0  release.
I successfully compiled the package on my system which is:

    Platform:    Windows XP(SP3) + Cygwin-1.7.16
    Machine:    CPU: Intel Core 2 Quad Q9659 @ 3GHz / RAM: 3.25GB
    Compiler:    GCC-4.5.3  +  gfortran-4.5.3
    Debugger:    GDB-7.3.50
    AutoBuildSys:    autobuild-5.3-1, autoconf-10.1, automake-4.10


Used configure-command was:      ./configure  --with-rt=no


Optional / additional packages on my system that were detected by configure:
·         NetCDF-4.2.1.1-1 (coming along with Cygwin)
·         HDF5-1.8.9-1  (coming along with Cygwin)
·         LAPACK-3.4.1-1 [+BLAS] (coming along with Cygwin)
·         ARPACK-3.1.0-1  (coming along with Cygwin)
·         SuiteSparse-3.7.0 (external sparse-solver-package including UMFPACK-5.5.2, KLU-1.1.3, AMD, COLAMD, CCOLAMD, CAMD, CHOLMOD, BTF)


Resulting EXECTUABLE   mbdyn-1.5.0/mbdyn/.libs/mbdyn.exe   has a SIZE of   ~6MB / ~50MB  when stripped / with Debug-Info.


PROBLEMS: running configure without any option gave the following ERROR during make stage:
------------------
...
/bin/sh ../../libtool --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include  -I./../../include  -I./../../libraries/libmbc  -I./../../libraries/libmbutil  -I./../../libraries/libmbmath  -I./../../libraries/libmbwrap  -I./../../libraries/libann  -I./../../mbdyn  -I./../../mbdyn/base  -I./../../mbdyn/struct  -I./../../mbdyn/aero  -I./../../mbdyn/elec  -I./../../mbdyn/thermo  -I./../../mbdyn/hydr  -I./../../modules       -g -O2 -MT rtposixsolver.lo -MD -MP -MF .deps/rtposixsolver.Tpo -c -o rtposixsolver.lo rtposixsolver.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I./../../include -I./../../libraries/libmbc -I./../../libraries/libmbutil -I./../../libraries/libmbmath -I./../../libraries/libmbwrap -I./../../libraries/libann -I./../../mbdyn -I./../../mbdyn/base -I./../../mbdyn/struct -I./../../mbdyn/aero -I./../../mbdyn/elec -I./../../mbdyn/thermo -I./../../mbdyn/hydr -I./../../modules -g -O2 -MT rtposixsolver.lo -MD -MP -MF .deps/rtposixsolver.Tpo -c rtposixsolver.cc  -DDLL_EXPORT -DPIC -o .libs/rtposixsolver.o
rtposixsolver.cc: In member function 'virtual void RTPOSIXSolver::Setup()':
rtposixsolver.cc:94:3: error: 'cpu_set_t' was not declared in this scope
rtposixsolver.cc:94:13: error: expected ';' before 'cpuset'
rtposixsolver.cc:96:13: error: 'cpuset' was not declared in this scope
rtposixsolver.cc:96:19: error: 'CPU_ZERO' was not declared in this scope
rtposixsolver.cc:99:25: error: 'CPU_SET' was not declared in this scope
rtposixsolver.cc:103:54: error: 'sched_setaffinity' was not declared in this scope
Makefile:653: recipe for target `rtposixsolver.lo' failed
make[2]: *** [rtposixsolver.lo] Error 1
make[2]: Leaving directory `/cygdrive/c/_WORK.MBDyn/mbdyn-1.5.0__BUILDS/mbdyn-1.5.0/mbdyn/base'
Makefile:517: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/_WORK.MBDyn/mbdyn-1.5.0__BUILDS/mbdyn-1.5.0/mbdyn'
Makefile:429: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1


Have a nice weekend !
Cheers,

Patrick Rix
Loads & System Simulation

REpower Systems SE
TechCenter
Albert-Betz-Str. 1
D-24783 Osterrönfeld

Tel.: +49 - (0) - 4331 - 1313 - 9408
Fax: +49 - (0) - 4331 - 1313 - 9954

e-mail: p.rix at repower.de<mailto:p.rix at repower.de>
Internet: www.repower.de<http://www.repower.de>



________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte umgehend den Absender und löschen Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der in dieser E-Mail enthaltenen Daten ist nicht gestattet. Wie Sie wissen, kann die Sicherheit von Übermittlungen per E-Mail nicht gewährleistet werden, E-Mails können missbräuchlich unter fremdem Namen erstellt oder verändert werden. Aus diesem Grund bitten wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen ausschließen müssen. Diese Regelung gilt nur dann nicht, wenn wir mit Ihnen eine anderweitige schriftliche Vereinbarung über die Einhaltung von Sicherheits- und Verschlüsselungsstandards getroffen haben.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. As you know, the security of e-mail transmissions can not be guaranteed. E-mails can be misused to be written or modified under false names. For that reason, we ask you to understand the necessity for us to rule out the legal obligation of the above statement, for your protection and ours. This regulation is only invalid if we have concluded a special written agreement with you about the compliance with security and encryption standards.

REpower Systems SE · Sitz: Hamburg · Vorstand: Andreas Nauen (Vorsitz), Matthias Schubert, Marcus A. Wassenberg, Vinod R. Tanti · Aufsichtsratsvorsitzender: Tulsi Tanti · Registergericht: AG Hamburg (Mitte) HRB Nr.: 118644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20120831/1c13e239/attachment.html>


More information about the MBDyn-users mailing list