-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Building with WSL does not work #868
Comments
Installing with Pixi works but program crashes because "libzmq-mt-4_3_5.dll was not found". I've literally tried all ways I can think of to build this.
Would appreciate some help. |
Building with OSX replicates the issue. I think the build works, but there could be some configuration that does not build a dll/lib for non-Windows OS. Unfortunately, I need to add this to a Windows VS Project, so I do need to be able to link the library over. Looks like I've made one full circle and need to build in Windows, but that doesn't work. #867 |
Building it directly with VS fails to build the library with zmq and sqlite3 errors: 2>------ Build started: Project: behaviortree_cpp, Configuration: Debug x64 ------ |
Removing ZMQ and SQLite3 from CMakeList allows the library to build properly. However, when running a sample program on Debug mode, I get a Read Access Violation error from behaviortree_cppd.dll. Release mode works, but I need to be able to run in Debug mode. This error should be another topic. #869 |
Are you building with ROS2 by any chance? if so I have been adding https://github.com/tony-p/BehaviorTree.CPP/blob/e923c1fc412e2775cf1b5dbeae77cf7fd78525f0/cmake/ament_build.cmake#L7 for the pixi build to work. Can't remember exactly why I haven't upstreamed it, either it broke the regular build or I thought it was just too hacky On WSL/Linux with pixi/robostack I ended up manually linking the libraries RoboStack/ros-humble#119 Not sure if this actually still an issue with behaviortree.CPP ZMQ as I believe the libraries are now linked as Public, but definitely had to do that in the past |
when you run with pixi, are you running it within the pixi environement? pixi is built for a flavour of a conda virtual environment, so to run you should either use |
Running WSL on Windows 11, on BehaviorTree.CPP v4.6.2.
Continuation from #867
Commands to build works without errors, but folder does not reflect built files.
i.e. No difference made after running: cmake --build . --parallel
After running:
...
[ 99%] Built target t12_default_ports
[ 99%] Built target t06_subtree_port_remapping
[100%] Linking CXX executable t11_groot_howto
[100%] Linking CXX executable ex03_sqlite_log
[100%] Built target t11_groot_howto
[100%] Built target ex03_sqlite_log
[100%] Linking CXX executable behaviortree_cpp_test
[100%] Built target behaviortree_cpp_test
But build folder does not contain any lib or dll etc.
![image](https://private-user-images.githubusercontent.com/52659891/368274759-9b9d88fe-89ba-446b-bac2-0eb1c74fd5a1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MjcyNDUsIm5iZiI6MTczOTkyNjk0NSwicGF0aCI6Ii81MjY1OTg5MS8zNjgyNzQ3NTktOWI5ZDg4ZmUtODliYS00NDZiLWJhYzItMGViMWM3NGZkNWExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE5VDAxMDIyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFiOGZhNDJiOTgxNTE2NjFhMmNiMDk4ZTQ4MGJiZGUzOWZlZDY2OTc0ZmZmYjdiNDNmMDEzZWRiN2Y0YTI5NzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nO_3f1eK8h1qjlXP57tn-WlDT2sD5rj_0EKfuiBOLBo)
Did something go wrong? Running with administrative privileges did not make a difference.
The text was updated successfully, but these errors were encountered: