Skip to content

Compilation error in MacOS 14.12 #31

@nayanbera

Description

@nayanbera

While trying to compile PyDevice in MacOS 14.12 with EPICS 7.0.7 and Python 3, I got the following error:

c++ -DUNIX -Ddarwin -O3 -g -Wall -I/Users/mrinalkb/xraylarch/include/python3.9 -I/Users/mrinalkb/xraylarch/include/python3.9 -std=c++11 -O2 -DUSE_TYPED_RSET -arch arm64 -fno-common -fPIC -g -ggdb -O0 -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/clang -I../../include/os/Darwin -I../../include -I/usr/local/epics/base/include/compiler/clang -I/usr/local/epics/base/include/os/Darwin -I/usr/local/epics/base/include -c ../pywrapper.cpp
../pywrapper.cpp:351:26: error: duplicate explicit instantiation of 'exec'
template bool PyWrapper::exec(const std::string&, bool, long long*);
^
../pywrapper.cpp:345:26: note: previous explicit instantiation is here
template bool PyWrapper::exec(const std::string&, bool, int64_t*);
^
../pywrapper.cpp:352:26: error: duplicate explicit instantiation of 'exec'
template bool PyWrapper::exec(const std::string&, bool, unsigned long long*);
^
../pywrapper.cpp:346:26: note: previous explicit instantiation is here
template bool PyWrapper::exec(const std::string&, bool, uint64_t*);
^
2 errors generated.
make[2]: *** [pywrapper.o] Error 1
make[1]: *** [install.darwin-aarch64] Error 2
make: *** [src.install] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions