FEM on Mac OSX

About the development of the FEM module/workbench.
User avatar
PrzemoF
Posts: 1707
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FEM on Mac OSX

Postby PrzemoF » Mon Jun 01, 2015 11:04 am

There is a very good GMSHMesh macro here: [1] that can be used instead of netgen. Alternatively you can help us in this thread: [2]

[1] https://github.com/psicofil/Macros_FreeCAD
[2] viewtopic.php?f=4&t=3863
frabice
Posts: 18
Joined: Mon Jun 09, 2014 6:21 pm
Location: Clermont-Ferrand, France

Re: FEM on Mac OSX

Postby frabice » Mon Jun 01, 2015 6:54 pm

peterl94 wrote:Glad to hear you got it working, frabice! I admit I've kinda been putting off looking into the FEM stuff on OS X, partly because I know nothing about it. I will try writing a Homebrew formula for CalculiX when I get the chance.

frabice, have you gotten Netgen to work on OS X? Last time I tried, I think I got Netgen its self to compile, but not the FreeCAD Netgen support.


No I didn't manage to get Netgen to compile, neither to get it working with FreeCAD. I may try again later but, for now, the GMSHMesh macro works well for me.

Let me know if I can help you with the Homebrew formula for CalculiX!
Jee-Bee
Posts: 617
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FEM on Mac OSX

Postby Jee-Bee » Sun Jun 28, 2015 7:00 am

Anybody experince with installing CCX on OSX mountain lion(10.8). According to http://hpc.sourceforge.net i can only install gfortran 4.8
while CCX ask gfortran 4.9
Jee-Bee
Posts: 617
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FEM on Mac OSX

Postby Jee-Bee » Mon Jun 29, 2015 2:52 pm

I haver some difficulties installing spools 2.2
When i type in Terminal

Code: Select all

make lib

I get a lot of errors

Code: Select all

In file included from /usr/include/string.h:190:0,
                 from ../../Utilities/Utilities.h:16,
                 from ../../cfiles.h:3,
                 from ../A2.h:3,
                 from basics.c:3:
/usr/include/secure/_string.h:60:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:71:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:82:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:93:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:105:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:117:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:130:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:141:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/usr/include/secure/_string.h:154:1: fout: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
In file included from ../../Utilities/Utilities.h:42:0,
                 from ../../cfiles.h:3,
                 from ../A2.h:3,
                 from basics.c:3:
../../Utilities/IP.h:10:20: fout: storage class specified for parameter ‘IP’
 typedef struct _IP IP ;
                    ^
../../Utilities/IP.h:13:4: fout: expected specifier-qualifier-list before ‘IP’
    IP    *next ;
    ^
../../Utilities/IP.h:11:1: let op: lege declaratie
 struct _IP {
 ^
../../Utilities/IP.h:32:4: fout: expected declaration specifiers or ‘...’ before ‘IP’
    IP     *ip
    ^
../../Utilities/IP.h:53:4: fout: expected declaration specifiers or ‘...’ before ‘IP’
    IP     *ip,
    ^
../../Utilities/IP.h:69:1: fout: expected declaration specifiers before ‘IP’
 IP *
 ^
../../Utilities/IP.h:85:4: fout: expected declaration specifiers or ‘...’ before ‘IP’
    IP   *ip
    ^
../../Utilities/IP.h:95:1: fout: expected declaration specifiers before ‘IP’
 IP *
 ^
../../Utilities/IP.h:109:1: fout: expected declaration specifiers before ‘IP’
 IP *
 ^
../../Utilities/IP.h:122:1: fout: expected declaration specifiers before ‘IP’
 IP *
 ^
../../Utilities/IP.h:134:1: fout: expected declaration specifiers before ‘IP’
 IP *
 ^
In file included from ../../Utilities/Utilities.h:43:0,
                 from ../../cfiles.h:3,
                 from ../A2.h:3,
                 from basics.c:3:
../../Utilities/I2OP.h:5:22: fout: storage class specified for parameter ‘I2OP’
 typedef struct _I2OP I2OP ;
                      ^
../../Utilities/I2OP.h:10:4: fout: expected specifier-qualifier-list before ‘I2OP’
    I2OP   *next   ;
    ^
../../Utilities/I2OP.h:6:1: let op: lege declaratie
 struct _I2OP {
 ^
../../Utilities/I2OP.h:30:1: fout: expected declaration specifiers before ‘I2OP’
 I2OP *
 ^
../../Utilities/I2OP.h:51:4: fout: expected declaration specifiers or ‘...’ before ‘I2OP’
    I2OP   *base
    ^
../../Utilities/I2OP.h:63:4: fout: expected declaration specifiers or ‘...’ before ‘I2OP’
    I2OP   *ip
    ^
../../Utilities/I2OP.h:75:4: fout: expected declaration specifiers or ‘...’ before ‘I2OP’
    I2OP    *elem
    ^
In file included from ../../ZV/../DV.h:3:0,
                 from ../../ZV/ZV.h:3,
                 from ../../ZV.h:3,
                 from ../A2.h:5,
                 from basics.c:3:
../../ZV/../DV/DV.h:20:22: fout: storage class specified for parameter ‘DV’
 typedef struct _DV   DV ;
                      ^
../../ZV/../DV/DV.h:21:1: let op: lege declaratie
 struct _DV {
 ^
../../ZV/../DV/DV.h:40:1: fout: expected declaration specifiers before ‘DV’
 DV *
 ^
../../ZV/../DV/DV.h:53:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:64:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:75:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:102:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *iv,
    ^
../../ZV/../DV/DV.h:115:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:127:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *dv,
    ^
../../ZV/../DV/DV.h:142:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:154:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:173:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:184:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:195:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:207:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:219:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:231:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *dv,
    ^
../../ZV/../DV/DV.h:244:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *dv,
    ^
../../ZV/../DV/DV.h:271:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:283:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:295:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:306:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *dv,
    ^
../../ZV/../DV/DV.h:318:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:322:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:326:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:337:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:341:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:352:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *dv,
    ^
../../ZV/../DV/DV.h:365:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:377:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:389:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:401:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *dv,
    ^
../../ZV/../DV/DV.h:413:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *dv,
    ^
../../ZV/../DV/DV.h:425:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv
    ^
../../ZV/../DV/DV.h:438:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv1,
    ^
../../ZV/../DV/DV.h:439:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV   *dv2
    ^
../../ZV/../DV/DV.h:460:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV      *dv,
    ^
../../ZV/../DV/DV.h:462:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *xDV,
    ^
../../ZV/../DV/DV.h:463:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *yDV,
    ^
../../ZV/../DV/DV.h:491:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:505:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:519:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:540:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:554:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:568:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:582:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:596:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *dv,
    ^
../../ZV/../DV/DV.h:618:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV     *dv,
    ^
../../ZV/../DV/DV.h:634:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV     *dv,
    ^
In file included from ../../ZV.h:3:0,
                 from ../A2.h:5,
                 from basics.c:3:
../../ZV/ZV.h:20:22: fout: storage class specified for parameter ‘ZV’
 typedef struct _ZV   ZV ;
                      ^
../../ZV/ZV.h:21:1: let op: lege declaratie
 struct _ZV {
 ^
../../ZV/ZV.h:40:1: fout: expected declaration specifiers before ‘ZV’
 ZV *
 ^
../../ZV/ZV.h:53:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv
    ^
../../ZV/ZV.h:64:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv
    ^
../../ZV/ZV.h:75:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv
    ^
../../ZV/ZV.h:103:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *zv,
    ^
../../ZV/ZV.h:116:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:128:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *zv,
    ^
../../ZV/ZV.h:143:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:155:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:174:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *dv
    ^
../../ZV/ZV.h:185:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *dv
    ^
../../ZV/ZV.h:196:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *dv
    ^
../../ZV/ZV.h:207:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *dv,
    ^
../../ZV/ZV.h:221:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *dv,
    ^
../../ZV/ZV.h:235:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *dv
    ^
../../ZV/ZV.h:247:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *dv,
    ^
../../ZV/ZV.h:260:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *dv,
    ^
../../ZV/ZV.h:286:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:298:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *zv,
    ^
../../ZV/ZV.h:311:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv
    ^
../../ZV/ZV.h:322:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv
    ^
../../ZV/ZV.h:333:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *zv,
    ^
../../ZV/ZV.h:346:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv
    ^
../../ZV/ZV.h:359:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv1,
    ^
../../ZV/ZV.h:360:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV   *zv2
    ^
../../ZV/ZV.h:381:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV      *zv,
    ^
../../ZV/ZV.h:383:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *xDV,
    ^
../../ZV/ZV.h:384:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *yDV,
    ^
../../ZV/ZV.h:412:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV     *zv,
    ^
../../ZV/ZV.h:426:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV     *zv,
    ^
../../ZV/ZV.h:440:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:461:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:475:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:489:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:503:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:517:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *zv,
    ^
../../ZV/ZV.h:529:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV     *zv,
    ^
In file included from ../../IV.h:3:0,
                 from ../A2.h:6,
                 from basics.c:3:
../../IV/IV.h:20:22: fout: storage class specified for parameter ‘IV’
 typedef struct _IV   IV ;
                      ^
../../IV/IV.h:21:1: let op: lege declaratie
 struct _IV {
 ^
../../IV/IV.h:40:1: fout: expected declaration specifiers before ‘IV’
 IV *
 ^
../../IV/IV.h:53:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:64:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:75:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:102:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:115:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:127:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:142:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:154:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:175:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:186:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:197:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:209:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:221:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:233:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:246:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:258:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:285:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:299:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:311:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:315:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:319:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:330:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:334:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:345:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:358:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:370:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:381:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:394:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:408:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv
    ^
../../IV/IV.h:420:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:432:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:446:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv1,
    ^
../../IV/IV.h:447:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv2
    ^
../../IV/IV.h:459:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:472:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:486:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv,
    ^
../../IV/IV.h:501:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv,
    ^
../../IV/IV.h:516:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV   *iv,
    ^
../../IV/IV.h:530:1: fout: expected declaration specifiers before ‘IV’
 IV *
 ^
../../IV/IV.h:545:1: fout: expected declaration specifiers before ‘IV’
 IV *
 ^
../../IV/IV.h:571:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:585:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:599:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:620:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:634:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:648:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:662:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:676:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV    *iv,
    ^
../../IV/IV.h:698:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV     *iv,
    ^
../../IV/IV.h:714:4: fout: expected declaration specifiers or ‘...’ before ‘IV’
    IV     *iv,
    ^
In file included from basics.c:3:0:
../A2.h:49:3: fout: storage class specified for parameter ‘A2’
 } A2 ;
   ^
../A2.h:77:1: fout: expected declaration specifiers before ‘A2’
 A2 *
 ^
../A2.h:90:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:101:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:112:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:128:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:139:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:150:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2  *mtx
    ^
../A2.h:161:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2  *mtx
    ^
../A2.h:172:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx
    ^
../A2.h:183:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:195:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:207:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:221:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:236:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:250:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:266:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:281:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:314:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:334:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtxA,
    ^
../A2.h:335:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtxB,
    ^
../A2.h:355:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *a
    ^
../A2.h:366:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:377:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:388:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:399:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:411:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:423:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:435:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:447:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:459:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:479:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:495:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:511:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:527:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:549:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtxA,
    ^
../A2.h:550:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *workDV,
    ^
../A2.h:569:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2     *Q,
    ^
../A2.h:570:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2     *A,
    ^
../A2.h:571:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV     *workDV,
    ^
../A2.h:595:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2     *Y,
    ^
../A2.h:596:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2     *A,
    ^
../A2.h:597:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2     *X,
    ^
../A2.h:598:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV     *workDV,
    ^
../A2.h:637:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *mtx,
    ^
../A2.h:657:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtxA
    ^
../A2.h:673:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:686:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:699:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:710:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:721:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
../A2.h:732:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:745:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:758:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:771:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:784:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:785:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *rowDV,
    ^
../A2.h:797:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:798:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *rowZV,
    ^
../A2.h:810:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:811:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV    *colDV,
    ^
../A2.h:823:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx,
    ^
../A2.h:824:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV    *colZV,
    ^
../A2.h:836:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:837:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *rowDV,
    ^
../A2.h:849:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:850:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *rowZV,
    ^
../A2.h:862:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:863:4: fout: expected declaration specifiers or ‘...’ before ‘DV’
    DV       *colDV,
    ^
../A2.h:875:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *mtx,
    ^
../A2.h:876:4: fout: expected declaration specifiers or ‘...’ before ‘ZV’
    ZV       *colZV,
    ^
../A2.h:888:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2       *a,
    ^
../A2.h:902:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2      *a,
    ^
../A2.h:916:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *a
    ^
../A2.h:927:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *a
    ^
../A2.h:939:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *A,
    ^
../A2.h:940:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *B
    ^
../A2.h:953:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *A,
    ^
../A2.h:954:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *B
    ^
../A2.h:965:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *a,
    ^
../A2.h:978:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *a,
    ^
../A2.h:1002:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2     *mtx,
    ^
../A2.h:1016:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:1030:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:1049:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:1061:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:1073:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:1085:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:1097:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
../A2.h:1109:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2    *mtx,
    ^
basics.c:15:1: fout: expected declaration specifiers before ‘A2’
 A2 *
 ^
basics.c:36:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
basics.c:63:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
basics.c:102:4: fout: expected declaration specifiers or ‘...’ before ‘A2’
    A2   *mtx
    ^
In file included from ../../Utilities/Utilities.h:15:0,
                 from ../../cfiles.h:3,
                 from ../A2.h:3,
                 from basics.c:3:
/usr/local/lib/gcc/x86_64-apple-darwin14.0.0/4.9.2/include-fixed/math.h:580:14: fout: old-style parameter declarations in prototyped function definition
 extern float __inff(void) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
              ^
basics.c:112:1: fout: expected ‘{’ at end of input
 return ; }
 ^
basics.c:112:1: let op: control reaches end of non-void function [-Wreturn-type]
 return ; }
 ^
make[3]: *** [basics.o] Error 1
make[2]: *** [makeLib] Error 2
make[1]: *** [lib] Error 2
make: *** [lib] Error 2


How can i fix this other with same error(s)??
Jee-Bee
Posts: 617
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FEM on Mac OSX

Postby Jee-Bee » Mon Jun 29, 2015 8:35 pm

anybody an idea??
santacruz
Posts: 14
Joined: Tue Mar 07, 2017 4:42 pm

Re: FEM on Mac OSX

Postby santacruz » Tue Mar 07, 2017 5:02 pm

Hello everybody,
I'm a new freecad user on mac OS X and I'm trying to install calculix to use freecad as a fem on mac OS X.
Since I'm not a programmer, I'm reading every kind of documentation and manuals available but I'm very confused.
Can anyone pos a step by step guide on how to install freecad and calculix on mac?
Thank you very much.
blacey
Posts: 337
Joined: Tue Dec 08, 2015 11:28 pm

Re: FEM on Mac OSX

Postby blacey » Tue Mar 07, 2017 5:42 pm

santacruz wrote:Hello everybody,
I'm a new freecad user on mac OS X and I'm trying to install calculix to use freecad as a fem on mac OS X.
Since I'm not a programmer, I'm reading every kind of documentation and manuals available but I'm very confused.
Can anyone pos a step by step guide on how to install freecad and calculix on mac?
Thank you very much.


Hi SantaCruz

1) You can download the latest macOS builds here - https://github.com/FreeCAD/FreeCAD/releases. We package the builds as a standard disk image so just drag FreeCAD to your /Applications folder to install. You should use the -Qt4 builds as -Qt5 isn't quite ready for normal use.
2) You can install Caculix using Homebrew - brew install calculix-ccx If you haven't already installed the homebrew package manager, you can install it using these instructions.

Best,
Bruce
santacruz
Posts: 14
Joined: Tue Mar 07, 2017 4:42 pm

Re: FEM on Mac OSX

Postby santacruz » Thu Mar 09, 2017 7:12 am

Thank you very much blacey.
I noticed that the Homebrew command "brew install calculix-ccx" is referred to ccx, but what about Spool2.2 Arkpak and cgx? Are this package managed by homebrew?

Edit.
In installed calculix using Homebrew, but when I launch Freecad and change to the fem workbench I obtain the following message in the report window "CalculiX ccx binary not found! Please set it manually in FEM preferences." In fem preference i don't know what is the path to set for calculix. Unfortunately using spotlight doesn't helped me. Where homebrew put the ccx binary?
santacruz
Posts: 14
Joined: Tue Mar 07, 2017 4:42 pm

Re: FEM on Mac OSX

Postby santacruz » Thu Mar 09, 2017 11:05 am

Ok I resolved.
Now I'm going to start learning how to use freecad and fem module.
Fortunately there are a bunch of tutorial both here and on youtube, but if anyone has something to suggest I'll appreciate it.
Thanks a lot.
User avatar
bernd
Posts: 3877
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: FEM on Mac OSX

Postby bernd » Thu Mar 09, 2017 11:40 am

santacruz wrote:Ok I resolved.
Now I'm going to start learning how to use freecad and fem module.
Fortunately there are a bunch of tutorial both here and on youtube, but if anyone has something to suggest I'll appreciate it.
Thanks a lot.
https://forum.freecadweb.org/viewtopic. ... 10#p162321 especially this one https://forum.freecadweb.org/viewtopic. ... 10#p162321