Skip to content

Allpix on Mac Os #23

@kkes

Description

@kkes

Hello,
I get the following error when I try to compile Allpix on Mac (V10.10.5):

make[2]: *** No rule to make target `CMakeFiles/allpix.dir/depend'. Stop.
make[1]: *** [CMakeFiles/allpix.dir/all] Error 2
make: *** [all] Error 2

...and when running cmake beforehand everything seems fine:

-- The C compiler identification is AppleClang 7.0.0.7000176
-- The CXX compiler identification is AppleClang 7.0.0.7000176
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ROOT 6.04/12 in /root
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/.../Geant4/allpix/allpix-build

Has anyone encountered this problem before? Thanks!

Here's some additional background:
I use Geant4.10.02.p01
Xcode version: 7.1
cmake options: -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_BUILD_TYPE=Optimized -DGCCXML=/Users/.../gccxml

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