[ndnSIM] [EXT] build error on mac

Junxiao Shi shijunxiao at arizona.edu
Tue May 21 07:51:11 PDT 2024


Hi Bhargab

According to the error message, you need to upgrade to macOS 10.13 or later.

Yours, Junxiao


On Tue, May 21, 2024, 10:05 Bhargab Acharya via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> *External Email*
> Hi,
>
> I am trying to build ndnSIM on my Mac.
>
> ../src/wifi/model/ht/ht-frame-exchange-manager.cc:900:57: error: 'value'
> is unavailable: introduced in macOS 10.13
>               hdr.SetQosQueueSize (queueSizeForTid[tid].value ());
>                                                         ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/optional:1066:27:
> note: 'value' has been explicitly marked unavailable here
>     constexpr value_type& value() &
>                           ^
>
> Output from ./waf configure:
>
> Setting top to                           :
> /Users/bhrg3se/IdeaProjects/learning/ndn/ndnSIM/ns-3
> Setting out to                           :
> /Users/bhrg3se/IdeaProjects/learning/ndn/ndnSIM/ns-3/build
> Checking for 'clang' (C compiler)        : /usr/bin/gcc
> Checking for cc version                  : 15.0.0
> Checking for 'clang++' (C++ compiler)    : /usr/bin/g++
> Checking supported compiler CXXFLAGS     : -std=c++17
> Checking supported optimizations CXXFLAGS : -O0
> Checking supported debug CXXFLAGS         : -ggdb -g3
> Checking supported warnings CXXFLAGS      : -Wall
> -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing
> Checking for compilation flag -std=c++17 support : ok
> Checking boost includes                          : 1_85 /usr/local/include
> Checking boost libs                              : ok /usr/local/lib
> Checking for boost linkage                       : ok
> Checking for program 'python'                    :
> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
> Checking for python version >= 2.3               : 3.11.4
> python-config                                    :
> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3-config
> Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags
> : yes
> Testing pyembed configuration
>  : yes
> Asking python-config for pyext '--cflags --libs --ldflags' flags
> : yes
> Testing pyext configuration
>  : yes
> Checking for compilation flag -Wno-array-bounds support
>  : ok
> Checking for pybindgen location
>  : ../pybindgen (guessed)
> Checking for python module 'pybindgen'
> : 0.22.1.post1+ga619e22
> Checking for pybindgen version
> : 0.22.1.post1+ga619e22
> Checking for code snippet
>  : no
> Checking for types uint64_t and unsigned long equivalence
>  : yes
> Checking for code snippet
>  : yes
> Checking for types uint64_t and unsigned long long equivalence
> : no
> Checking for the apidefs that can be used for Python bindings
>  : gcc-ILP32
> Checking for internal GCC cxxabi
> : incomplete
> Checking for python module 'pygccxml'
>  : 2.5.0
> Checking for pygccxml version
>  : 2.5.0
> Checking for program 'castxml'
> : /usr/local/bin/castxml
> Checking for castxml version
> : 0.6
> Checking for click location
>  : not found
> Checking for program 'pkg-config'
>  : /usr/local/bin/pkg-config
> Checking for 'gtk+-3.0 >= 3.22'
>  : yes
> Checking for 'libxml-2.0 >= 2.7'
> : yes
>
>
>
> --
> Best,
> Bhargab
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> Sender
> notified by
> Mailtrack
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 05/21/24,
> 09:01:30 AM
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20240521/b30c2c96/attachment-0001.htm>


More information about the ndnSIM mailing list