Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Suporte a OSX #18

@Juniorlimaivd

Description

@Juniorlimaivd

Olá,

Estou tentando compilar o simulador num mac. Consegui fazer build do VSS-Core sem problemas, porém estou tendo problemas em compilar esse projeto. Queria saber se vocês tem planos de adicionar esse suporte.

Estou tendo os seguintes erros

In file included from /Users/juniorlima/Documents/VSS-Simulator/src/Arbiter.cpp:1:
In file included from /Users/juniorlima/Documents/VSS-Simulator/src/../include/Arbiter.h:5:
In file included from /Users/juniorlima/Documents/VSS-Simulator/include/Sir.h:20:
In file included from /Users/juniorlima/Documents/VSS-Simulator/include/Header.h:23:
In file included from /Users/juniorlima/Documents/VSS-Simulator/bullet/btBulletDynamicsCommon.h:20:
In file included from /Users/juniorlima/Documents/VSS-Simulator/bullet/btBulletCollisionCommon.h:22:
In file included from /Users/juniorlima/Documents/VSS-Simulator/bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h:80:
In file included from /Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btVector3.h:21:
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:26:10: warning: non-portable path to file '<Math.h>';
      specified path differs in case from file name on disk [-Wnonportable-include-path]
#include <math.h>
         ^~~~~~~~
         <Math.h>
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:405:9: error: use of undeclared identifier 'sqrtf'
        return sqrtf(y);
               ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:408:56: error: use of undeclared identifier 'fabsf'
SIMD_FORCE_INLINE btScalar btFabs(btScalar x) { return fabsf(x); }
                                                       ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:409:55: error: use of undeclared identifier 'cosf'
SIMD_FORCE_INLINE btScalar btCos(btScalar x) { return cosf(x); }
                                                      ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:410:55: error: use of undeclared identifier 'sinf'
SIMD_FORCE_INLINE btScalar btSin(btScalar x) { return sinf(x); }
                                                      ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:411:55: error: use of undeclared identifier 'tanf'
SIMD_FORCE_INLINE btScalar btTan(btScalar x) { return tanf(x); }
                                                      ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:417:9: error: use of undeclared identifier 'acosf'
        return acosf(x);
               ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:424:9: error: use of undeclared identifier 'asinf'
        return asinf(x);
               ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:426:56: error: use of undeclared identifier 'atanf'
SIMD_FORCE_INLINE btScalar btAtan(btScalar x) { return atanf(x); }
                                                       ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:427:69: error: use of undeclared identifier 'atan2f'
SIMD_FORCE_INLINE btScalar btAtan2(btScalar x, btScalar y) { return atan2f(x, y); }
                                                                    ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:428:55: error: use of undeclared identifier 'expf'
SIMD_FORCE_INLINE btScalar btExp(btScalar x) { return expf(x); }
                                                      ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:429:55: error: use of undeclared identifier 'logf'
SIMD_FORCE_INLINE btScalar btLog(btScalar x) { return logf(x); }
                                                      ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:430:66: error: use of undeclared identifier 'powf'
SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return powf(x,y); }
                                                                 ^
/Users/juniorlima/Documents/VSS-Simulator/bullet/LinearMath/btScalar.h:431:67: error: use of undeclared identifier 'fmodf'
SIMD_FORCE_INLINE btScalar btFmod(btScalar x,btScalar y) { return fmodf(x,y); }
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions