Skip to content
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

Usage example in Docs not compiling. #110

Open
CMF-TOM opened this issue May 15, 2024 · 0 comments
Open

Usage example in Docs not compiling. #110

CMF-TOM opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CMF-TOM
Copy link

CMF-TOM commented May 15, 2024

Describe the bug
Documentation is very good organised but first usage example is not working for me.
https://eipscanner.readthedocs.io/en/latest/getting_started.html#usage

To Reproduce
Fallowing the usage directly after buıld ıs complete wıth no issue on minGW (However MSVC does not compile)

also:
in CMakeLists.txt
include_directories("${EIPScanner_DIR}/include")
and in main.cpp

#include <EIPScanner/MessageRouter.h>
#include <EIPScanner/utils/Logger.h>
#include <EIPScanner/utils/Buffer.h>

this does not compile,
I tried this as fallows;
in CMakeLists.txt
include_directories("${EIPScanner_DIR}/include/EIPScanner")
and in main.cpp

#include <MessageRouter.h>
#include <utils/Logger.h>
#include <utils/Buffer.h>

so the rest of the includes can use correct path, I am not sure if it is only me.
and reduced this only to linker error, which the path is in system enviroments and also link_directories, bu still not succesful.
EIPScanner.lib is not generated, Only EIPScannerS.lib file exist

Screenshots
image

image

image

Environment (please complete the following information):

  • OS: Win11
  • Compiler: GCC 9.2.0 minGW

Additional context
Add any other context about the problem here.

@CMF-TOM CMF-TOM added the bug Something isn't working label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant