Skip to content

CARLsim6 MacOS M4 Installation #49

@EthanIrby8

Description

@EthanIrby8

Running into some trouble installing library from source on a M4 Mac. Specifically issues with GTest after running this command: cmake -DCMAKE_BUILD_TYPE=Release -DCARLSIM_NO_CUDA=ON -DBUILD_TESTING=OFF from the root directory.

Pasting the error here:
`-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
CMake Warning (dev) at /usr/local/share/cmake/Modules/FetchContent.cmake:1373 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
carlsim/test6/CMakeLists.txt:7 (FetchContent_Declare)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!`

Has the library been adapted for M4 Mac? If so, are there updated install instructions to perhaps install the library using pip?

Thanks

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