GlobalVent / wiki

central place organize jamvent
GNU General Public License v3.0
3 stars 0 forks source link

Make GUI structure configurable #170

Closed carlyjb closed 4 years ago

carlyjb commented 4 years ago

Run time? Compile time? (preference for run)

jwildhome commented 4 years ago

I am running into problems trying to get this to work with YAML. I was able to install and configure the yaml-cpp library on the RPI and set up the VisualGDB environment to use.

However, the CMake find_package(yaml-cpp) is failing and I cannot figure out why. It all looks correct. I tried using a manual alternative to find_package(), which builds but I had to use a file path from my setup and have not figured out how I can do in a general way.

At this point, I spend 6 or more hours trying to make it work. I think I will just drop back to using JSON which is available in the Qt Core library and I am more familiar with.

jwildhome commented 4 years ago

I added a Config.json file for configuration. As mentioned above, I switched from YAML to JSON as I was unable to the YAML library to build in this environment. I think JSON is good enough for now. Attached is the Config.json file. We can add to as we see fit.

P.S. Had to change suffix to .txt to attach here.

I consider this task completed and will close.

Config.json.txt