-
Notifications
You must be signed in to change notification settings - Fork 3
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
[CMAKE build] Can't find Jsoncpp data #1
Comments
Hello, from the command line I don't understand if that the first time you
launched the cmake executable in the configuration directory.
If that's the case , you should pass -DCMAKE_TOOLCHAIN_FILE that points to
vcpkg.cmake as it was explained in the vcpkg documentation.
Side done, I suggest you to use a separate directory for the build
directory (aka do not build in the root directory) so you will have a
easier time remove the build directory in case some command line changes.
…On Mon, Aug 26, 2024, 22:31 Iruuka ***@***.***> wrote:
Hello 👋
Hope you are doing well !
I'm trying to install and launch the server and everything around your
decompfrontier.
But I'm hitting a wall with trying to build the server part (and I'm not a
cpp dev)
When I launch *cmake build* at the root of the server repository, I have
this error :
PS C:\Users\cleme\Desktop\brave-frontier-emulator\server> cmake . --
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22631.
CMake Error at C:/Program
Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233
(message): **Could NOT find Jsoncpp (missing: JSONCPP_INCLUDE_DIRS
JSONCPP_LIBRARIES)** Call Stack (most recent call first): C:/Program
Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603
(_FPHSA_FAILURE_MESSAGE)
C:/Users/cleme/Desktop/brave-frontier-emulator/pour-install/vcpkg/packages/drogon_x64-windows/share/drogon/FindJsoncpp.cmake:36
(find_package_handle_standard_args) C:/Program
Files/CMake/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76
(find_package)
C:/Users/cleme/Desktop/brave-frontier-emulator/pour-install/vcpkg/packages/drogon_x64-windows/share/drogon/DrogonConfig.cmake:39
(find_dependency) CMakeLists.txt:12 (find_package)
I've looked on the web and only found one post (github issue jsoncpp
<open-source-parsers/jsoncpp#455> that would
show the same error that I have. But I couldn't make it works with the
solution in the answers.
I understand this might not be related directly into this project, but i'm
hopping you would know something or could share some data of how you do
this (like if you've seen this error before, how you corrected it)
Informations that could help :
- cmake version 3.30.2
- vcpkg package management program version
2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
- Environment variable :
image.png (view on web)
<https://github.com/user-attachments/assets/e5de9fc6-8f32-4f8d-a96b-8cab53d8653d>
If you have any clue about this bug while you were working on this
project, I would thank you a lot for your help !
If you don't know or don't have time to help, don't worry, I'll find a way
somehow one day !
Thank you for reading all of this. Hopping you a great week !
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABE7QE762FTRWAXV3XORFX3ZTOGARAVCNFSM6AAAAABNEXK6O6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4DONZSGMYDENY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
That's what was missing ! Thank you for your help ! I should have started using the documentation. Now it build a .net solution. Is it fine with you if I keep this issue open in case I still have some problem in the futur with the build/installation of the server side of the project ? |
Sure thing |
Should I consider this issue to be closed? I will close it automatically in case of no reply in 2 weeks. |
Hello 👋
Hope you are doing well !
I'm trying to install and launch the server and everything around your decompfrontier.
But I'm hitting a wall with trying to build the server part (and I'm not a cpp dev)
When I launch cmake build at the root of the server repository, I have this error :
PS C:\Users\cleme\Desktop\brave-frontier-emulator\server> cmake . -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22631. CMake Error at C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message): **Could NOT find Jsoncpp (missing: JSONCPP_INCLUDE_DIRS JSONCPP_LIBRARIES)** Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) C:/Users/cleme/Desktop/brave-frontier-emulator/pour-install/vcpkg/packages/drogon_x64-windows/share/drogon/FindJsoncpp.cmake:36 (find_package_handle_standard_args) C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) C:/Users/cleme/Desktop/brave-frontier-emulator/pour-install/vcpkg/packages/drogon_x64-windows/share/drogon/DrogonConfig.cmake:39 (find_dependency) CMakeLists.txt:12 (find_package)
I've looked on the web and only found one post (github issue jsoncpp that would show the same error that I have. But I couldn't make it works with the solution in the answers.
I understand this might not be related directly into this project, but i'm hopping you would know something or could share some data of how you do this (like if you've seen this error before, how you corrected it)
Informations that could help :
If you have any clue about this bug while you were working on this project, I would thank you a lot for your help !
If you don't know or don't have time to help, don't worry, I'll find a way somehow one day !
Thank you for reading all of this. Hopping you a great week !
The text was updated successfully, but these errors were encountered: