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

MacOS support #145

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

MacOS support #145

wants to merge 3 commits into from

Conversation

bold84
Copy link

@bold84 bold84 commented May 3, 2023

I have only tested it on an arm64 based Mac.

@jwillemsen
Copy link
Member

Related to microsoft/vcpkg#31203

@jwillemsen jwillemsen added enhancement New feature or request needsreview Need to be reviewed labels May 5, 2023
@jwillemsen
Copy link
Member

Thanks for your addition, MacOSX is not a supported platform for the full stack, maybe it compiles by accident, but not tested at all, ACE/TAO are also not tested on MacOSX.

@bold84
Copy link
Author

bold84 commented May 5, 2023

Hmm... Then we could either add a message notifying the user that MacOS is not a supported platform or just leave this PR open, so that people who want to build it for MacOS, may patch it themselves.

I might add Android and IOS as well, but for that, I want to refactor the vcpkg port to support cross-compiling and support the tools (ridlc, brix11, ..., ...) properly. I think it would take the pain out of building ACE/TAO and axcioma. brix11 already simplifies the process a whole lot, but something like vcpkg goes one step further.

@bold84
Copy link
Author

bold84 commented May 7, 2023

Okay, I ran the tests. At least on an arm64 Mac, there are several failed tests, which, as far as I remember, was not the case on a x64_86 machine a few years ago. I will take care of them over time.

@jwillemsen
Copy link
Member

See https://www.taox11.org/scoreboard.html and https://www.axcioma.org/scoreboard.html for the platforms we officially support, on the supported platforms all TAOX11 unit tests do succeed. For ARM64 mac also cross platform testing is something that must be done, I have read multiple times that people had problems with interoperability between ARM64 mac and Intel.

@@ -24,6 +24,8 @@ def self.get_cpu_cores
unless @cpu_cores
if mswin?
@cpu_cores = (ENV['NUMBER_OF_PROCESSORS'] || 1).to_i
elsif File.exist?('/usr/sbin/sysctl')
@cpu_cores = (`/usr/sbin/sysctl -n hw.ncpu` rescue '1').strip.to_i
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/usr/sbin/sysctl does also exist on my OpenSuSE linux system, but fails with sysctl: cannot stat /proc/sys/hw/ncpu: No such file or directory. This change breaks my Linux multi cpu support, maybe check first if you are on a Mac and second if the sysctl exists?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It also fails inside a docker linux build image!

root@45565f35112e:/axcioma# irb

irb(main):001:0> (`/usr/sbin/sysctl -n hw.ncpux` rescue 1).strip.to_i
sysctl: cannot stat /proc/sys/hw/ncpux: No such file or directory
=> 0
irb(main):002:0> 

This rescue 1 is obscure, or not?

dll_dir: 'lib',
library_path_var: 'DYLD_LIBRARY_PATH',
test_configs: %w{MACOSX},
prj_type: BRIX11::Project.handler('gnumake').default_prj_type
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don’t have a MACOSX test config anywhere

Copy link
Member

@jwillemsen jwillemsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@jwillemsen
Copy link
Member

For ARM mac there is a PR on ACE/TAO master that seems to be pretty important, see DOCGroup/ACE_TAO#2142

@ClausKlein
Copy link

ClausKlein commented Oct 8, 2023

First, thank you for this patch!

I have tested it on my iMAC(i386):

But it Compiles only with c++std=c++17!

I was wondering about the empty DYLD_LIBRARY_PATH?

cat configure.log

export ACE_ROOT=/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE
export DYLD_LIBRARY_PATH=
export LD_LIBRARY_PATH=/Users/clausklein/Workspace/cpp/axcioma/lib:/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/lib:
export MPC_BASE=/Users/clausklein/Workspace/cpp/axcioma/taox11/bin/MPC
export MPC_ROOT=/Users/clausklein/Workspace/cpp/axcioma/ACE/MPC
export PATH=/Users/clausklein/Workspace/cpp/axcioma/bin:/Users/clausklein/Workspace/cpp/axcioma/taox11/bin:/usr/local/opt/llvm/bin:/usr/local/opt/llvm/bin://Users/clausklein/perl5/bin:/usr/local/opt/net-snmp/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/libexec/bin:/usr/local/opt/curl/bin:/usr/local/opt/libxml2/bin:/usr/local/opt/libxslt/bin:/usr/local/opt/expat/bin:/usr/local/opt/net-snmp/bin:/Users/clausklein/Library/Python/3.9/bin:/usr/local/opt/python/libexec/bin:/usr/local/opt/sqlite/bin:/usr/local/bin:/usr/local/sbin:/Users/clausklein/scripts:/Users/clausklein/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
export RIDL_BE_PATH=:/Users/clausklein/Workspace/cpp/axcioma/taox11
export RIDL_BE_SELECT=c++11
export RIDL_ROOT=/Users/clausklein/Workspace/cpp/axcioma/ridl/lib
export TAOX11_ROOT=/Users/clausklein/Workspace/cpp/axcioma/taox11
export TAO_ROOT=/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO
export X11_BASE_ROOT=/Users/clausklein/Workspace/cpp/axcioma
========================= config.h =========================
#define ACE_HAS_VERSIONED_NAMESPACE 1
#define ACE_MONITOR_FRAMEWORK 0
#include "ace/config-macosx.h"
=================== platform_macros.GNU ====================
crossbuild=0
ssl=0
bzip2=0
zlib=0
valgrind=0
valgrind_keep_debuginfo=0
acetaompc=1
cross=0
debug=0
inline=1
optimize=1
buildbits=64
include $(ACE_ROOT)/include/makeinclude/platform_macosx.GNU
c++std=c++17
===================== default.features =====================
crossbuild=0
ssl=0
bzip2=0
zlib=0
valgrind=0
valgrind_keep_debuginfo=0
acetaompc=1
cross=0
========================= MPC.cfg ==========================
includes = $MPC_ROOT/config, $ACE_ROOT/bin/MakeProjectCreator/config, $TAOX11_ROOT/bin/MPC/config
dynamic_types = $MPC_ROOT, $TAO_ROOT/MPC, $ACE_ROOT/bin/MakeProjectCreator, $TAOX11_ROOT/bin/MPC
main_functions = cplusplus:ACE_TMAIN
========================= .ridlrc ==========================
{
  "backend": "c++11",
  "be_path": [
    "taox11"
  ]
}
======================== .brix11rc =========================
{
  "project_type": "gnuautobuild",
  "project_compiler": "gnu",
  "brix_paths": [
    "taox11"
  ],
  "user_environment": {
    "ACE_ROOT": "/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE",
    "TAO_ROOT": "/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO",
    "MPC_ROOT": "/Users/clausklein/Workspace/cpp/axcioma/ACE/MPC",
    "DYLD_LIBRARY_PATH": "${DYLD_LIBRARY_PATH}"
  },
  "crossbuild": false,
  "target_platform": "Darwin"
}
====================== workspace.mwc =======================
workspace {
  $(ACE_ROOT)/ace
  $(ACE_ROOT)/apps/gperf/src
  $(TAO_ROOT)/TAO_IDL
  $(TAO_ROOT)/tao
  $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming.mpc
  $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming_Serv.mpc
  $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming_Skel.mpc
  $(TAO_ROOT)/orbsvcs/Naming_Service
  $(TAO_ROOT)/orbsvcs/orbsvcs/Svc_Utils.mpc
  $(TAO_ROOT)/orbsvcs/tests/Simple_Naming
  $(TAO_ROOT)/utils/catior/catior.mpc
  $(TAOX11_ROOT)/tao/x11
  $(TAOX11_ROOT)/orbsvcs/orbsvcs
}
============================================================
Test config: MACOSX FIXED_BUGS_ONLY ACETAOMPC

@ClausKlein
Copy link

bash-5.2$ builddriver bin/brix11 make
builddriver executing: 'bin/brix11 make'
Compilation SUCCEED in 379.300847 seconds
Number of warnings: 16
WarningErrorEntry(path='WARNING: (g++) file: /Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/OS_NS_stdlib.inl line: 265 - /Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/OS_NS_stdlib.inl', lineno='265', severity='warning', message="'mktemp' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]", column='12')
WarningErrorEntry(path='INFO: (g++) file: /Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/OS_NS_stdlib.inl', lineno='265', severity='warning', message="'mktemp' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations]", column=None)
WarningErrorEntry(path='INFO: (g++) file: i/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/OS_NS_stdio.inle  - l1045riecom', lineno='15', severity='warning', message="m'vsprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use vsnprintf(3) instead. [-Wdeprecated-declarations]", column=None)
WarningErrorEntry(path='110 | namespace TAOX11_../../tao/x11/WStringSeqC.h', lineno='115', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column=None)
WarningErrorEntry(path='WARNING: (g++) file: ../../tao/x11/DoubleSeqC.h', lineno='115', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column=None)
WarningErrorEntry(path='WARNING: (g++) file: ../../tao/x11/ServicesC.h line: 432 - ../../tao/x11/WCharSeqC.h', lineno='115', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column='27')
WarningErrorEntry(path='WARNING: (g++) file: ../../tao/x11/Typecode_typesC.h line: 250 - ../../tao/x11/LongDoubleSeqC.hIn file included from', lineno='115', severity='warning', message='/Users/clausklein/Workspace/cpp/axcioma/taox11/tao/x11/orb_registry.cpp  :15:', column='27')
WarningErrorEntry(path='WARNING: (g++) file: ../../tao/x11/StringSeqC.h line: 110 -   182 | ../../tao/x11/BooleanSeqC.h', lineno='110', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column='27')
WarningErrorEntry(path='WARNING: (g++) file: ../../tao/x11/CurrentC.h line: 186 - ../../tao/x11/BooleanSeqC.h', lineno='115', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column='27')
WarningErrorEntry(path='WARNING: (g++) file: ../../tao/x11/TimeBaseC.h', lineno='312', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column='27')
WarningErrorEntry(path='WARNING: (g++) file: ../../../tao/x11/Typecode_typesC.h line: 250 - ../../../tao/x11/Messaging_SyncScopeC.h', lineno='84', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column='27')
WarningErrorEntry(path='WARNING: (g++) file: ../../../tao/x11/ShortSeqC.h', lineno='58', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column=None)
WarningErrorEntry(path='WARNING: (g++) file: ../../../tao/x11/anytypecode/VisibilityC.h line: 65 - ../../../tao/x11/OctetSeqC.h', lineno='115', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column='27')
WarningErrorEntry(path='914 | namespac../../../tao/x11/portable_server/RequestProcessingPolicyC.he TA:OX29811_N', lineno='27', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column=None)
WarningErrorEntry(path='../../../tao/x11/DoubleSeqC.h', lineno='115', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column=None)
WarningErrorEntry(path='WARNING: (g++) file: ../../../tao/x11/pi/PIForwardRequestC.h line: 162 - ../../../tao/x11/ServicesC.h', lineno='367', severity='warning', message='nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]', column='27')
For full log, please open: /var/folders/wb/ckvxxgls5db7qyhqq4y5_l1c0000gq/T/build-vn9vjl32.log
bash-5.2$ 

@ClausKlein
Copy link

ClausKlein commented Oct 8, 2023

With the last ACE+TAO-7_1_1 release there is still a compile error on OSX:

bash-5.2$ ./cmake-install.sh 
+ rm -rf /Users/clausklein/Workspace/cpp/axcioma/build /Users/clausklein/Workspace/cpp/axcioma/install
+ export LD_LIBRARY_PATH=/Users/clausklein/Workspace/cpp/axcioma/stagedir/lib:/usr/local/lib:/usr/lib
+ LD_LIBRARY_PATH=/Users/clausklein/Workspace/cpp/axcioma/stagedir/lib:/usr/local/lib:/usr/lib
+ export DYLD_LIBRARY_PATH=/Users/clausklein/Workspace/cpp/axcioma/stagedir/lib:/usr/local/lib:/usr/lib
+ DYLD_LIBRARY_PATH=/Users/clausklein/Workspace/cpp/axcioma/stagedir/lib:/usr/local/lib:/usr/lib
+ cmake -S . -B /Users/clausklein/Workspace/cpp/axcioma/build -G Ninja -D CMAKE_CXX_COMPILER_LAUNCHER=/usr/local/bin/ccache -D CMAKE_BUILD_TYPE=Release -D CMAKE_SKIP_BUILD_RPATH=OFF -D CMAKE_INSTALL_RPATH=/Users/clausklein/Workspace/cpp/axcioma/stagedir/lib -D BUILD_WITH_INSTALL_NAME_DIR=OFF -D CMAKE_BUILD_WITH_INSTALL_RPATH=ON -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=ON -D CMAKE_STAGING_PREFIX=/Users/clausklein/Workspace/cpp/axcioma/install -D CMAKE_PREFIX_PATH=/Users/clausklein/Workspace/cpp/axcioma/stagedir -D CMAKE_CXX_STANDARD=17 -D BUILD_SHARED_LIBS=ON -Wdev -Wdeprecated
-- The CXX compiler identification is AppleClang 15.0.0.15000040
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/local/bin/git (found version "2.42.0") 
-- CPM: Adding package [email protected] (v1.11.0 at /Users/clausklein/.cache/CPM/packageproject.cmake/fc402989ee6e628476b3d8661f8f96774d89df74)
-- CPM: Adding package Callback_Quoter@0 (6e4b1f50e70a2ee8e224bf1b176a915053f8e8d6 at /Users/clausklein/.cache/CPM/callback_quoter/512066631536c9c8aa26f34d5fd54c93052f620f)
-- Configuring done (6.0s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_WITH_INSTALL_NAME_DIR


-- Build files have been written to: /Users/clausklein/Workspace/cpp/axcioma/build
+ cmake --build /Users/clausklein/Workspace/cpp/axcioma/build --target all
[14/22] Building CXX object _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierC.cpp.o
FAILED: _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierC.cpp.o 
/usr/local/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -DACE_HAS_IPV6 -DACE_HAS_VERSIONED_NAMESPACE=1 -D__ACE_INLINE__ -I/Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build -I/Users/clausklein/Workspace/cpp/axcioma/taox11 -I/Users/clausklein/Workspace/cpp/axcioma/taox11/orbsvcs -I/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/orbsvcs -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -fdelayed-template-parsing -Wno-deprecated-declarations -MMD -MT _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierC.cpp.o -MF _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierC.cpp.o.d -o _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierC.cpp.o -c /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/NotifierC.cpp
In file included from /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/NotifierC.cpp:14:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/AnyTypeCode/Any_Impl_T.h:80:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/AnyTypeCode/Any_Impl_T.cpp:5:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/AnyTypeCode/Any_Unknown_IDL_Type.h:17:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/Refcounted_Auto_Ptr.h:16:
/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/Auto_Ptr.h:73:12: error: no member named 'auto_ptr' in namespace 'std'
using std::auto_ptr;
      ~~~~~^
1 error generated.
[15/22] Building CXX object _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerC.cpp.o
FAILED: _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerC.cpp.o 
/usr/local/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -DACE_HAS_IPV6 -DACE_HAS_VERSIONED_NAMESPACE=1 -D__ACE_INLINE__ -I/Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build -I/Users/clausklein/Workspace/cpp/axcioma/taox11 -I/Users/clausklein/Workspace/cpp/axcioma/taox11/orbsvcs -I/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/orbsvcs -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -fdelayed-template-parsing -Wno-deprecated-declarations -MMD -MT _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerC.cpp.o -MF _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerC.cpp.o.d -o _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerC.cpp.o -c /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/ConsumerC.cpp
In file included from /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/ConsumerC.cpp:14:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/AnyTypeCode/Any_Impl_T.h:80:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/AnyTypeCode/Any_Impl_T.cpp:5:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/AnyTypeCode/Any_Unknown_IDL_Type.h:17:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/Refcounted_Auto_Ptr.h:16:
/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/Auto_Ptr.h:73:12: error: no member named 'auto_ptr' in namespace 'std'
using std::auto_ptr;
      ~~~~~^
1 error generated.
[16/22] Building CXX object _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerS.cpp.o
FAILED: _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerS.cpp.o 
/usr/local/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -DACE_HAS_IPV6 -DACE_HAS_VERSIONED_NAMESPACE=1 -D__ACE_INLINE__ -I/Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build -I/Users/clausklein/Workspace/cpp/axcioma/taox11 -I/Users/clausklein/Workspace/cpp/axcioma/taox11/orbsvcs -I/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/orbsvcs -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -fdelayed-template-parsing -Wno-deprecated-declarations -MMD -MT _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerS.cpp.o -MF _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerS.cpp.o.d -o _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/ConsumerS.cpp.o -c /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/ConsumerS.cpp
In file included from /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/ConsumerS.cpp:14:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/ORB_Core.h:17:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/Resource_Factory.h:26:
/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/Auto_Ptr.h:73:12: error: no member named 'auto_ptr' in namespace 'std'
using std::auto_ptr;
      ~~~~~^
1 error generated.
[17/22] Building CXX object _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierS.cpp.o
FAILED: _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierS.cpp.o 
/usr/local/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -DACE_HAS_IPV6 -DACE_HAS_VERSIONED_NAMESPACE=1 -D__ACE_INLINE__ -I/Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build -I/Users/clausklein/Workspace/cpp/axcioma/taox11 -I/Users/clausklein/Workspace/cpp/axcioma/taox11/orbsvcs -I/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO -I/Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/orbsvcs -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -fdelayed-template-parsing -Wno-deprecated-declarations -MMD -MT _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierS.cpp.o -MF _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierS.cpp.o.d -o _deps/callback_quoter-build/CMakeFiles/idl2cpp.dir/NotifierS.cpp.o -c /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/NotifierS.cpp
In file included from /Users/clausklein/Workspace/cpp/axcioma/build/_deps/callback_quoter-build/NotifierS.cpp:14:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/ORB_Core.h:17:
In file included from /Users/clausklein/Workspace/cpp/axcioma/ACE/TAO/tao/Resource_Factory.h:26:
/Users/clausklein/Workspace/cpp/axcioma/ACE/ACE/ace/Auto_Ptr.h:73:12: error: no member named 'auto_ptr' in namespace 'std'
using std::auto_ptr;
      ~~~~~^
1 error generated.
[18/22] Building CXX object _deps/callback_quoter-build/CMakeFiles/supplier.dir/supplier.cpp.o
ninja: build stopped: subcommand failed.
bash-5.2$ 
``

Copy link
Member

@jwillemsen jwillemsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@jwillemsen jwillemsen marked this pull request as draft November 26, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needsreview Need to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants