Skip to content

Conversation

perara
Copy link
Contributor

@perara perara commented Dec 19, 2020

A few fixes to make this compile on MSVC. not really any big changes. Primarily macro collision and compilation error handling.

Naming convention is a bit different for ZeroMQ, specifically on Windows with vcpkg. While ZMQ and ZeroMQ are valid on linux, the ZMQ naming convention only works on linux.
On windows, the macros defined in the abstract logger collides with other in windows.h. Made them lowercase to avoid collision
@facontidavide facontidavide merged commit 34bd011 into BehaviorTree:master May 2, 2021
lilustga pushed a commit to ms-iot/BehaviorTree.CPP that referenced this pull request Nov 9, 2021
* Fix for detecting ZeroMQ on windows

Naming convention is a bit different for ZeroMQ, specifically on Windows with vcpkg. While ZMQ and ZeroMQ are valid on linux, the ZMQ naming convention only works on linux.

* Compilation on windows not working with /WX

* Macro collision on Windows

On windows, the macros defined in the abstract logger collides with other in windows.h. Made them lowercase to avoid collision
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants