-
Notifications
You must be signed in to change notification settings - Fork 54
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
Compiling on Ubuntu 22.04 fails #206
Comments
|
yes, you are right if I just compile parts of it it compiles without error. Let me try to run some example if I get it to work. |
When just building the targets uscxml and uscxml-browser I can't seem to find anywhere a package file so that qt6.x cmake knows with find_package(USCXML .. ) how to link and include the headers. Do I miss something here? At least I was able to manually compile and link a simple example though. |
So, I finally got it to work that I can compile and run a state machine with an ecmascript datamodel. Can anyone point me to a simple example how to send and receive events? |
You can use as origin this example 1. Here you can see how to subscribe to different state machine events 2. Here is an example how to pass event to state machine |
Thanks! That helps a lot. |
When trying to compile on ubuntu 22.04 I get the following error:
` 59%] Linking CXX executable bin/uscxml-transform
/usr/bin/ld: lib/libuscxml_transform.so.2.0.3: undefined reference to `uscxml::PromelaParser::~PromelaParser()'
/usr/bin/ld: lib/libuscxml_transform.so.2.0.3: undefined reference to `uscxml::PromelaParserNode::dump(unsigned long)'
/usr/bin/ld: lib/libuscxml_transform.so.2.0.3: undefined reference to `uscxml::PromelaParser::PromelaParser(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/uscxml-transform.dir/build.make:126: bin/uscxml-transform] Error 1
make[1]: *** [CMakeFiles/Makefile2:367: CMakeFiles/uscxml-transform.dir/all] Error 2
make: *** [Makefile:166: all] Error 2`
Any idea how to solve that?
The text was updated successfully, but these errors were encountered: