Comments (2)
I have the same problem for ns 3.33 with libprotoc 3.15.8
. Any solution?
In file included from /usr/include/c++/7/complex.h:36:0,
from ./ns3/matrix-based-channel-model.h:25,
from ./ns3/spectrum-module.h:17,
from ../contrib/opengym/examples/interference-pattern/mygym.h:27,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:21:
./ns3/attribute-container-accessor-helper.h:52:79: error: expected ‘>’ before ‘(’ token
template <typename V, typename T, template <typename...> class U, typename ...I,
^
./ns3/attribute-container-accessor-helper.h:56:28: error: unable to find numeric literal operator ‘operator""iF’
DoMakeAccessorHelperOne (U<I...> T::*memberContainer)
^
./ns3/attribute-container-accessor-helper.h:56:28: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
In file included from ./ns3/core-module.h:16:0,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:23:
./ns3/attribute-container-accessor-helper.h:56:29: error: expected parameter pack before ‘...’
DoMakeAccessorHelperOne (U<I...> T::*memberContainer)
^~~
./ns3/attribute-container-accessor-helper.h:56:32: error: template argument 1 is invalid
DoMakeAccessorHelperOne (U<I...> T::memberContainer)
^
In file included from /usr/include/c++/7/complex.h:36:0,
from ./ns3/matrix-based-channel-model.h:25,
from ./ns3/spectrum-module.h:17,
from ../contrib/opengym/examples/interference-pattern/mygym.h:27,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:21:
./ns3/attribute-container-accessor-helper.h: In function ‘ns3::Ptr ns3::DoMakeAccessorHelperOne(int T::)’:
./ns3/attribute-container-accessor-helper.h:66:24: error: unable to find numeric literal operator ‘operator""iF’
MemberContainer (U<I...> T::*memberContainer)
^
./ns3/attribute-container-accessor-helper.h:66:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
In file included from ./ns3/core-module.h:16:0,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:23:
./ns3/attribute-container-accessor-helper.h:66:25: error: expected parameter pack before ‘...’
MemberContainer (U<I...> T::*memberContainer)
^~~
./ns3/attribute-container-accessor-helper.h:66:28: error: template argument 1 is invalid
MemberContainer (U<I...> T::*memberContainer)
^
In file included from /usr/include/c++/7/complex.h:36:0,
from ./ns3/matrix-based-channel-model.h:25,
from ./ns3/spectrum-module.h:17,
from ../contrib/opengym/examples/interference-pattern/mygym.h:27,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:21:
./ns3/attribute-container-accessor-helper.h:94:7: error: unable to find numeric literal operator ‘operator""iF’
U<I...> T::*m_memberContainer; // Address of the class data member.
^
./ns3/attribute-container-accessor-helper.h:94:7: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
In file included from ./ns3/core-module.h:16:0,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:23:
./ns3/attribute-container-accessor-helper.h:94:8: error: expected parameter pack before ‘...’
U<I...> T::*m_memberContainer; // Address of the class data member.
^~~
./ns3/attribute-container-accessor-helper.h:94:11: error: template argument 1 is invalid
U<I...> T::*m_memberContainer; // Address of the class data member.
^
In file included from /usr/include/c++/7/complex.h:36:0,
from ./ns3/matrix-based-channel-model.h:25,
from ./ns3/spectrum-module.h:17,
from ../contrib/opengym/examples/interference-pattern/mygym.h:27,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:21:
/usr/include/boost/type_traits/integral_constant.hpp: At global scope:
/usr/include/boost/type_traits/integral_constant.hpp:33:20: error: expected identifier before ‘(’ token
template <class I, I val> struct integral_c;
^
/usr/include/boost/type_traits/integral_constant.hpp:33:20: error: expected ‘)’ before ‘extension’
template <class I, I val> struct integral_c;
^
/usr/include/boost/type_traits/integral_constant.hpp:33:20: error: expected ‘>’ before ‘extension’
/usr/include/boost/type_traits/integral_constant.hpp:33:20: error: expected unqualified-id before ‘)’ token
template <class I, I val> struct integral_c;
^
In file included from /usr/include/boost/type_traits/is_integral.hpp:13:0,
from /usr/include/boost/type_traits/is_arithmetic.hpp:12,
from /usr/include/boost/units/quantity.hpp:24,
from ./ns3/length.h:28,
from ./ns3/core-module.h:52,
from ../contrib/opengym/examples/interference-pattern/mygym.cc:23:
/usr/include/boost/type_traits/integral_constant.hpp:42:21: error: ‘mpl_::integral_c’ has not been declared
using ::mpl_::integral_c;
^~~~~~~~~~
/usr/include/boost/type_traits/integral_constant.hpp:65:7: error: ‘operator const int’ does not name a type
operator const mpl::integral_c<T, val>& ()const
^~~~~~~~
In file included from /usr/include/c++/7/complex.h:36:0,
from ./ns3/matrix-based-channel-model.h:25,
from ./ns3/spectrum-module.h:17,
from ../contrib/opengym/examples/interference-pattern/sim.cc:27:
/usr/local/include/google/protobuf/repeated_field.h:472:17: error: expected ‘)’ before ‘extension’
template
^
/usr/local/include/google/protobuf/repeated_field.h:472:17: error: expected ‘>’ before ‘extension’
/usr/local/include/google/protobuf/repeated_field.h:472:17: error: expected unqualified-id before ‘)’ token
template
^
/usr/include/zmq.hpp:212:27: error: expected nested-name-specifier before ‘(’ token
template message_t(I first, I last):
^
/usr/include/zmq.hpp:212:27: error: expected ‘)’ before ‘extension’
template message_t(I first, I last):
^
/usr/include/zmq.hpp:212:27: error: expected ‘>’ before ‘extension’
/usr/include/zmq.hpp:212:27: error: expected unqualified-id before ‘)’ token
template message_t(I first, I last):
^
/usr/include/zmq.hpp:612:27: error: expected nested-name-specifier before ‘(’ token
template bool send(I first, I last, int flags_=0)
^
/usr/include/zmq.hpp:612:27: error: expected ‘)’ before ‘extension’
template bool send(I first, I last, int flags_=0)
^
/usr/include/zmq.hpp:612:27: error: expected ‘>’ before ‘extension’
/usr/include/zmq.hpp:612:27: error: expected unqualified-id before ‘)’ token
template bool send(I first, I last, int flags_=0)
^
Waf: Leaving directory `/home/UseName/workspace/ns-3-allinone/ns-3.33/build'
Build failed
-> task in 'interference-pattern' failed with exit status 1 (run with -v to display more information)
-> task in 'interference-pattern' failed with exit status 1 (run with -v to display more information)
from ns3-gym.
Hi @Halefom2020 Hi @jesall ,
I am currently facing the similar problem with a updated version.
Have you found any solutions, by any chance ?
Thanks in advance for your reply.
Regards
from ns3-gym.
Related Issues (20)
- Errors during ./ns3 build procedure HOT 1
- Random Early Detection
- Run the code
- Installation Error HOT 3
- protobuf messages are not generated during build configuration HOT 13
- using gdb to debug ns3-script in a separate shell results into the script restarting HOT 1
- protobuf messages are generated but could not be found during build configuration HOT 1
- Using ns3gym in Sable-Baseline3's Vevtorized Environment HOT 1
- some problem in run cognitive-agent-v1.py HOT 2
- Missing header messages.pb.h for opengym HOT 2
- GNU version still not meets requirement after updating gcc/g++
- ./ns3 configure -d release --enable-examples --enable-tests HOT 2
- ubuntu2210
- implementation of reward and penalty HOT 1
- The `info` returned by `step()` must be a python dictionary, actual type: <class 'str'> HOT 1
- protobuf_generate command not found HOT 3
- Gym is unmaintained, replace it by Gymnasium
- python contrib/opengym/examples/opengym/simple_test.py Got new port for ns3gm interface: 7656 ns3 file not found. Quitting...
- install ns3-gym in tensorflow environment
- NS3 gym stable baseline
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ns3-gym.