Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We are back to a broken build on macOS ppc #45

Open
barracuda156 opened this issue Jul 1, 2023 · 3 comments
Open

We are back to a broken build on macOS ppc #45

barracuda156 opened this issue Jul 1, 2023 · 3 comments

Comments

@barracuda156
Copy link

@lfreist While earlier version has been fixed #26 (comment) – now we are back to a broken build:

[ 44%] Building CXX object src/CMakeFiles/HWinfo.dir/apple/os.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/build/src && /opt/local/bin/g++-mp-12  -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include -pipe -Os -fpermissive -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++11 -arch ppc -mmacosx-version-min=10.6 -MD -MT src/CMakeFiles/HWinfo.dir/apple/os.cpp.o -MF CMakeFiles/HWinfo.dir/apple/os.cpp.o.d -o CMakeFiles/HWinfo.dir/apple/os.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/os.cpp
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:18:13: error: no declaration matches 'std::string hwinfo::RAM::getVendor()'
   18 | std::string RAM::getVendor() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:18:13: note: no functions named 'std::string hwinfo::RAM::getVendor()'
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:13:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/ram.h:10:7: note: 'class hwinfo::RAM' defined here
   10 | class RAM {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:24:13: error: no declaration matches 'std::string hwinfo::RAM::getName()'
   24 | std::string RAM::getName() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:24:13: note: no functions named 'std::string hwinfo::RAM::getName()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/ram.h:10:7: note: 'class hwinfo::RAM' defined here
   10 | class RAM {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:30:13: error: no declaration matches 'std::string hwinfo::RAM::getModel()'
   30 | std::string RAM::getModel() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:30:13: note: no functions named 'std::string hwinfo::RAM::getModel()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/ram.h:10:7: note: 'class hwinfo::RAM' defined here
   10 | class RAM {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:36:13: error: no declaration matches 'std::string hwinfo::RAM::getSerialNumber()'
   36 | std::string RAM::getSerialNumber() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:36:13: note: no functions named 'std::string hwinfo::RAM::getSerialNumber()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/ram.h:10:7: note: 'class hwinfo::RAM' defined here
   10 | class RAM {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:42:9: error: no declaration matches 'int64_t hwinfo::RAM::getTotalSize_Bytes()'
   42 | int64_t RAM::getTotalSize_Bytes() {
      |         ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:42:9: note: no functions named 'int64_t hwinfo::RAM::getTotalSize_Bytes()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/ram.h:10:7: note: 'class hwinfo::RAM' defined here
   10 | class RAM {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:51:9: error: no declaration matches 'int64_t hwinfo::RAM::getAvailableMemory()'
   51 | int64_t RAM::getAvailableMemory() { return -1; }
      |         ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/ram.cpp:51:9: note: no functions named 'int64_t hwinfo::RAM::getAvailableMemory()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/ram.h:10:7: note: 'class hwinfo::RAM' defined here
   10 | class RAM {
      |       ^~~
make[2]: *** [src/CMakeFiles/HWinfo.dir/apple/ram.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:13:13: error: no declaration matches 'std::string hwinfo::MainBoard::getVendor()'
   13 | std::string MainBoard::getVendor() {
      |             ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:13:13: note: no functions named 'std::string hwinfo::MainBoard::getVendor()'
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:8:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/mainboard.h:13:7: note: 'class hwinfo::MainBoard' defined here
   13 | class MainBoard {
      |       ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:19:13: error: no declaration matches 'std::string hwinfo::MainBoard::getName()'
   19 | std::string MainBoard::getName() {
      |             ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:19:13: note: no functions named 'std::string hwinfo::MainBoard::getName()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/mainboard.h:13:7: note: 'class hwinfo::MainBoard' defined here
   13 | class MainBoard {
      |       ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:25:13: error: no declaration matches 'std::string hwinfo::MainBoard::getVersion()'
   25 | std::string MainBoard::getVersion() {
      |             ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:25:13: note: no functions named 'std::string hwinfo::MainBoard::getVersion()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/mainboard.h:13:7: note: 'class hwinfo::MainBoard' defined here
   13 | class MainBoard {
      |       ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:31:13: error: no declaration matches 'std::string hwinfo::MainBoard::getSerialNumber()'
   31 | std::string MainBoard::getSerialNumber() {
      |             ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/mainboard.cpp:31:13: note: no functions named 'std::string hwinfo::MainBoard::getSerialNumber()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/mainboard.h:13:7: note: 'class hwinfo::MainBoard' defined here
   13 | class MainBoard {
      |       ^~~~~~~~~
make[2]: *** [src/CMakeFiles/HWinfo.dir/apple/mainboard.cpp.o] Error 1
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:25:5: error: no declaration matches 'int hwinfo::CPU::currentClockSpeed_kHz()'
   25 | int CPU::currentClockSpeed_kHz() {
      |     ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:25:5: note: no functions named 'int hwinfo::CPU::currentClockSpeed_kHz()'
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:18:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:31:13: error: no declaration matches 'std::string hwinfo::CPU::getVendor()'
   31 | std::string CPU::getVendor() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:31:13: note: no functions named 'std::string hwinfo::CPU::getVendor()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:47:13: error: no declaration matches 'std::string hwinfo::CPU::getModelName()'
   47 | std::string CPU::getModelName() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:47:13: note: no functions named 'std::string hwinfo::CPU::getModelName()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:88:5: error: no declaration matches 'int hwinfo::CPU::getNumPhysicalCores()'
   88 | int CPU::getNumPhysicalCores() {
      |     ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:88:5: note: no functions named 'int hwinfo::CPU::getNumPhysicalCores()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:142:5: error: no declaration matches 'int hwinfo::CPU::getNumLogicalCores()'
  142 | int CPU::getNumLogicalCores() {
      |     ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:142:5: note: no functions named 'int hwinfo::CPU::getNumLogicalCores()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:179:5: error: no declaration matches 'int hwinfo::CPU::getMaxClockSpeed_kHz()'
  179 | int CPU::getMaxClockSpeed_kHz() {
      |     ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:179:5: note: no functions named 'int hwinfo::CPU::getMaxClockSpeed_kHz()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:189:5: error: no declaration matches 'int hwinfo::CPU::getRegularClockSpeed_kHz()'
  189 | int CPU::getRegularClockSpeed_kHz() {
      |     ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:189:5: note: no functions named 'int hwinfo::CPU::getRegularClockSpeed_kHz()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:198:5: error: no declaration matches 'int hwinfo::CPU::getCacheSize_Bytes()'
  198 | int CPU::getCacheSize_Bytes() { return -1; }
      |     ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:198:5: note: no functions named 'int hwinfo::CPU::getCacheSize_Bytes()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:14:7: note: 'class hwinfo::CPU' defined here
   14 | class CPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:208:1: error: no declaration matches 'hwinfo::Socket::Socket(uint8_t)'
  208 | Socket::Socket(uint8_t id) : _id(id) {
      | ^~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:49:7: note: candidates are: 'hwinfo::Socket::Socket(const hwinfo::Socket&)'
   49 | class Socket {
      |       ^~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:58:12: note:                 'hwinfo::Socket::Socket(hwinfo::CPU)'
   58 |   explicit Socket(class CPU cpu);
      |            ^~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:49:7: note: 'class hwinfo::Socket' defined here
   49 | class Socket {
      |       ^~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/cpu.cpp:216:1: error: no declaration matches 'hwinfo::Socket::Socket(uint8_t, const hwinfo::CPU&)'
  216 | Socket::Socket(uint8_t id, const class CPU& cpu) : _id(id) { _cpu = cpu; }
      | ^~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:49:7: note: candidates are: 'hwinfo::Socket::Socket(const hwinfo::Socket&)'
   49 | class Socket {
      |       ^~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:58:12: note:                 'hwinfo::Socket::Socket(hwinfo::CPU)'
   58 |   explicit Socket(class CPU cpu);
      |            ^~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/cpu.h:49:7: note: 'class hwinfo::Socket' defined here
   49 | class Socket {
      |       ^~~~~~
make[2]: *** [src/CMakeFiles/HWinfo.dir/apple/cpu.cpp.o] Error 1
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:17:13: error: no declaration matches 'std::string hwinfo::GPU::getVendor()'
   17 | std::string GPU::getVendor() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:17:13: note: no functions named 'std::string hwinfo::GPU::getVendor()'
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:12:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/gpu.h:11:7: note: 'class hwinfo::GPU' defined here
   11 | class GPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:23:13: error: no declaration matches 'std::string hwinfo::GPU::getName()'
   23 | std::string GPU::getName() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:23:13: note: no functions named 'std::string hwinfo::GPU::getName()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/gpu.h:11:7: note: 'class hwinfo::GPU' defined here
   11 | class GPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:29:13: error: no declaration matches 'std::string hwinfo::GPU::getDriverVersion()'
   29 | std::string GPU::getDriverVersion() {
      |             ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:29:13: note: no functions named 'std::string hwinfo::GPU::getDriverVersion()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/gpu.h:11:7: note: 'class hwinfo::GPU' defined here
   11 | class GPU {
      |       ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:35:9: error: no declaration matches 'int64_t hwinfo::GPU::getMemory_Bytes()'
   35 | int64_t GPU::getMemory_Bytes() {
      |         ^~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/src/apple/gpu.cpp:35:9: note: no functions named 'int64_t hwinfo::GPU::getMemory_Bytes()'
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-852b83ba138b515ec137a9b2e23c7033bd5f4f62/include/hwinfo/gpu.h:11:7: note: 'class hwinfo::GPU' defined here
   11 | class GPU {
      |       ^~~
make[2]: *** [src/CMakeFiles/HWinfo.dir/apple/gpu.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/build'
make[1]: *** [src/CMakeFiles/HWinfo.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/build'
make: *** [all] Error 2
@lfreist
Copy link
Owner

lfreist commented Jul 2, 2023

Hi and thank you for the report!

Yes, OSX has poor support for the moment because I currently have no device running it.

The reason why the issue is back is because the API and backend structure of some components has changed. However, issues that came with those changes are not fixed for OSX yet.
There are probably more issues with OSX in the new version.

I will try to get access to an OSX device to approach all issues and continue implementing features but it may take some time.

I'd be happy if I could find someone "maintaining" the OSX part anyways...

@barracuda156
Copy link
Author

@lfreist Thank you, sounds good. Please update me on how it will be going. I still want to add hwinfo to Macports, but obviously at least Intel and aarch64 must work for that.
I will look into if I can improve something for PowerPC, but here capabilities are rather limited – FWIU, Apple made most of useful APIs private.

@barracuda156
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants