-
Notifications
You must be signed in to change notification settings - Fork 18
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
Error using WBToolbox on Windows on MATLAB R2019b #197
Comments
I tested on Windows with robotology-superbuild-vcpkg-dependencies 0.6.0 and I could not replicate this behaviour, as the blocks are loaded correctly. However, I added in Blockfactory a simple command line tool to simplify test and debug of situation like that, in robotology/blockfactory#61 . In particular, if you like to debug this situation further @vpunithreddy I would kindly ask to do the following:
At this point, you should have a new command line tool called
On my system in which everything is working fine, the output is:
on your system given your output I would guess that the output should be different. |
I followed the procedure described by @traversaro and was able to receive the message |
@vpunithreddy Now that we have Conda binaries for WB-toolbox also on Windows the installation process should be much simpler, in a nutshell you should just follow https://github.com/robotology/robotology-superbuild/blob/2b0d3299ffecc3f4bce780ae999b08d2432d59d0/doc/conda-forge.md#binary-installation, and then in a command prompt in which you enabled your environment, run:
and then from the same terminal launch matlab. You should not even have either CMake or Visual Studio installed. |
I just installed wb-toolbox from source with conda-provided dependencies on Windows on R2021a, and I have a similar problem when using the QP block:
Installation instructions:
|
Closing as the problem was solved. |
Description
The WBToolbox blocks do not load correctly on Windows.
Platform
Windows on Simulink, no robot involved.
Reproducibility
Unfortunately, this is emerged in a private repo, but I guess you can reproduce by running the https://github.com/robotology/whole-body-controllers on Windows.
Additional information
Additional context
The error was experienced by @vpunithreddy . The first error was:
Even if the name/error is not clear, the error code (2) pointed out that for some reason the
WBToolbox.dll
plugin was not found (see https://github.com/robotology/blockfactory/blob/v0.8.1/deps/sharedlibpp/src/shlibpp/SharedLibraryFactory.h#L41). However, this was an error in settingBLOCKFACTORY_PLUGIN_PATH
, that was fixed by robotology/robotology-superbuild#599 . After fixing that, we run again the model and we obtained:So now the error is instead that the library was not loaded (see https://github.com/robotology/blockfactory/blob/v0.8.1/deps/sharedlibpp/src/shlibpp/SharedLibraryFactory.h#L42).
The text was updated successfully, but these errors were encountered: