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

[CMAKE build] Can't find Jsoncpp data #1

Open
Iruuka opened this issue Aug 26, 2024 · 4 comments
Open

[CMAKE build] Can't find Jsoncpp data #1

Iruuka opened this issue Aug 26, 2024 · 4 comments

Comments

@Iruuka
Copy link

Iruuka commented Aug 26, 2024

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 :

  • cmake version 3.30.2
  • vcpkg package management program version 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
  • Environment variable :
    image

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 !

@arves100
Copy link
Member

arves100 commented Aug 27, 2024 via email

@Iruuka
Copy link
Author

Iruuka commented Aug 27, 2024

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 ?

@arves100
Copy link
Member

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

@arves100
Copy link
Member

arves100 commented Mar 2, 2025

Should I consider this issue to be closed? I will close it automatically in case of no reply in 2 weeks.

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

No branches or pull requests

8 participants
@arves100 @Iruuka and others