bluerange-io / bluerange-mesh

BlueRange Mesh (formerly FruityMesh) - The first completely connection-based open source mesh on top of Bluetooth Low Energy (4.1/5.0 or higher)
https://bluerange.io/
Other
288 stars 109 forks source link

CherrySim unable to build #205

Closed mabner1996 closed 1 year ago

mabner1996 commented 1 year ago

Hello, I just downloaded the newest version of FruityMesh and would like to try the new CherrySim simulator However, I found that I cannot build the CherrySim properly image As seen in the screenshot, there is a syntax error in parameters constant of the GetReceptionRssiNoNoise function.

Dominik-Helfenstein commented 1 year ago

Hey,

I could not reproduce your issue. I did the following steps:

  1. Installed Visual Studio 2022 Community Edition with C++ build tools
  2. Cloned this repository
  3. Created a folder called cherrysim next to fruitymesh
  4. Opened the cherrysim folder in PowerShell
  5. Ran the command cmake ../fruitymesh -A Win32 -DBUILD_TYPE=SIMULATOR
  6. Opened the newly generated Visual Studio solution with ./CherrySim.sln
  7. Compiled and ran CherrySim with and without debug mode

From the screenshot I can tell that you are using an older Visual Studio version.

Let me know if you have further questions

mabner1996 commented 1 year ago

I was using visual studio 2017, the issue has been resolved with VS2022, thanks!