pcm: Cannot build pcm-sensor-server for macOS

Hi, if I try to compile pcm-sensor-server by running the following commands inside the build folder:

cmake ..  && make -j8 pcm-sensor-server

i receive:

make: *** No rule to make target `pcm-sensor-server'.  Stop.

Is pcm-sensor-server supported for macOS?

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 31 (29 by maintainers)

Most upvoted comments

“point the DYLD_LIBRARY_PATH environment variable to /usr/local/lib/” looks like a solution. Thank you. Perhaps there should be a pull request (MAC HOW TO) documenting it

Isn’t it possible to specify the path that the DYLD_LIBRARY_PATH environment variable points to during building?

need to do some research if and how that is possible.

Regarding my previous statement, I stand corrected. All pcm executables fail to find the dynamic library when run from the /usr/local/sbin directory (i.e. the directory they are installed in).

good to know.

Please open a new issue.

Would it be possible to run pcm-sensor-server with all debug output enabled? It’s a documented command line switch (–help), set it to 5, redirect the output to a file and attach it here please?

That is very clearly a null pointer access… Not sure how that is possible with all the shared_ptrs, will need to look into that.

Infinite loop of:

WARNING: Core 0 IA32_PERFEVTSEL0_ADDR is not zeroed 18446744073709551615
Warning: PMU appears to be busy, do you want to reset it? (y/n)

did you run into this issue (signing/sip): #608 (comment)

I turned off SIP and the loop no longer occurs.