Comments (12)
Do you have an example I can look at?
Also, which compiler are you on?
from hfsm2.
Yes, that solves the issue
from hfsm2.
I have somthing like this: M=Machine, H=Head, S=State, O=Orthogonal, C=Composite
M(H,
S,
O[H,
C{H,
S,
S,
O[H,
C{H,S,S},
C{H,S,S,S}
]
},
C{H,
S,
C{H,S,S},
C{H,S,S},
C{H,S,S},
S
}
],
S
)
from hfsm2.
Hi Kjeld,
Looks like a bug, looking into that.
from hfsm2.
Fixed in Beta 7.3
from hfsm2.
Great, thank you
from hfsm2.
I still had some issues, but now I also #include <memory>
, this helps.
Do you require some extra libs, that are not included in your machine.hpp file?
from hfsm2.
Nope, HFSM doesn't have any other dependencies.
Are you saying you needed to #include <memory>
to fix an HFSM2 build issue?
from hfsm2.
Yes. Without it complains about new
for many different things inside hfsm2.
Maybe #include <memory>
is not the direct needed dependency, but it solves the problem
from hfsm2.
MinGW64 version 8.1.0
Issue at line 577 in your machine.hpp
error: no matching function for call to 'operator new(sizetype, hfsm2::detail::Array<hfsm2::detail::RequestT<hfsm2::EmptyPayload>, 8>::Item*)'
new (&_items[_count]) Item{std::move(value)};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
from hfsm2.
Interesting.
Do any of the bundled examples compile on your platform?
from hfsm2.
Added #include <new>
for all platforms.
Let me know if this fixes the issue.
from hfsm2.
Related Issues (20)
- Reacting to events deeply HOT 2
- Compile error in B_<TFirst>::stateId() HOT 3
- The logger can freeze due to unknown methods HOT 5
- Only one headless region is allowed in an FSM instance HOT 1
- Trouble with HFSM2 master version in MSVC2019 16.6.5 HOT 9
- Can't get Context from Control in Utility function HOT 2
- Tracking use in Godot Engine HOT 14
- Usage within ecs systems like entt HOT 2
- Using in embedded systems HOT 3
- Port travis to Github Actions HOT 3
- Looped plan HOT 2
- State machine stuck in update method HOT 3
- Macro conflict between sys/ioctl.h and hfsm2/machine.hpp HOT 4
- thread-safe?
- How get machine state id? HOT 4
- Fetching payload contents HOT 2
- Broken links in doc HOT 1
- Does it support writing the states in different files? HOT 1
- State members? HOT 2
- Any example about "Hierarchical" ? HOT 3
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 hfsm2.