Trying to add all of the computerscare modules #606
Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
I had previously made an UPDATE 2, where I was getting a lot of 'was not declared in this scope' and 'marked as override but does not override'. Before all these errors, I got an error that said "app.hpp not found", so I commented it out. Thinking it would solve the issue. It turns out that I do indeed need "app.hpp" and the master branch in the computerscare repo wasn't up to date as described in this issue, so I'll sort that out first. Will update with results. |
Beta Was this translation helpful? Give feedback.
-
UPDATE 3: After checking out and updating the submodule, I added the line This is where I'm at right now. The errors seem to have something to do with dBiz which I haven't touched but judging by the first error, both dBiz and computerscare are declaring the same thing "const NVGcolor BLACK", now I have no idea how I'd sort that out beyond manually editing the computerscare files. Any pointers would be appreciated. EDIT: I think I figured it out, I'll change BLACK to BLACK_COMPUTERSCARE and change BLACK in the rest of the .hpp files, will post an update. EDIT2: I had to change a bunch of other things, for instance I added "CS" to the end of BGPanel which was also being declared by JW Modules, and a couple of others as well. I also forgot to install libXext-devel. It's compiling now. I'll have to wait. Fingers crossed. |
Beta Was this translation helpful? Give feedback.
-
UPDATE4: Last update of the day, and another roadblock. I have no idea how to fix this. Calling it a day here. Will probably continue next weekend. |
Beta Was this translation helpful? Give feedback.
-
I give up |
Beta Was this translation helpful? Give feedback.
-
Hello!
To preface, I have zero git experience, zero build experience, zero programming experience, etc., no experience at all. I make t-shirts for a living and music is just a hobby. I want to add all of the computerscare modules to Cardinal and then make a pull request, so I followed this guide. I cloned the repository with the --recursive flag first.
plugins/Makefile
plugins/plugins.cpp
Hopefully I did everything correctly here. Now it's time to build, so I tried following this guide. This is where I have no clue how to proceed.
I installed all the dependencies I could. A couple of them were already installed, the libx* dependencies I had to capitalize the X to install, and libgl isn't in the Fedora repo but I installed mesa-libGl, honestly not sure if they're the same thing.
I use Windows too, so I'd like to build for Windows as well, so I installed (what I think are) the necessary compilers following this guide, installing the C and C++ compilers for both Win32 and Win64.
Now I cd into the Cardinal directory and tried both
make
andmake SYSDEPS=true
...But jansson and jansson-devel are already installed... I have no idea how to proceed here. Running make with no other options seems like it'll do something and then it errors out. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions