-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to build? #3
Comments
Have you modified the CmakeLists.txt? Mine is just 10 lines, so not sure about line 17. I confess, I need to add some build instructions. Will do that along with the upcoming new release, which will fix some issues and should be available on all three platforms then. You need to create a folder lib in the blescout root and inside that folder you have to clone the nappgui_src repo and SimpleBLE repo. I'm going to add those as recursive git submodules with the next release. Then build NAppGUI:
And finally build blescout:
|
let me see. find_package(nappgui REQUIRED) SET(NAPPGUI_ROOT_PATH,"E:/works_napp/nappgui") include("${NAPPGUI_ROOT_PATH}/prj/NAppCompilers.cmake") Remove WIN32 in Linux and macOSadd_executable(BLEScout WIN32 blescout.c util.c logwin.c ble.c connect.c help.c) simplebleadd_subdirectory(simpleble/simpleble ${CMAKE_BINARY_DIR}/simpleble) I am new Programmer. |
Okay, that's a bit different to what I used recently. I need a moment to update all this and add build information into the repo, my bad. As a new programmer, the NAppGUI documentation is a great source of advice not just in particular for NAppGUI but also in general. Great reading from the author. |
OK,thanks. I wait your new build . |
I would leave that issue open and close when build information have been added. |
CMake Error at CMakeLists.txt:17 (target_link_libraries):
Cannot specify link libraries for target "BLEScout" which is not built by
this project.
The text was updated successfully, but these errors were encountered: