-
Notifications
You must be signed in to change notification settings - Fork 27
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
Build Fail #64
Comments
Moving the .h file to the correct location worked. Now just struggling with the right bass library for Raspberry pi OS and architecture. Keeps saying it is an incompatible version. |
Ok, per help from Greg, it looks like I have resolved some of the issues by moving some of the cpp and h files to src when compiling. Below is the error I am now getting with the make. smbaca@chinchilla:~/Spike-Recorder $ make g++ -o src/widgets/HorizontalNumberPicker.o -c src/widgets/HorizontalNumberPicker.cpp -g -O2 -Isrc -Isupport -Isrc/libraries -I. -Lsrc/support -Wall -DSIGSLOT_PURE_ISO --std=c++11 |
All of the errors now concern the BYBBootloaderController.cpp g++ -o src/BYBBootloaderController.o -c src/BYBBootloaderController.cpp -g -O2 -Isrc -Isupport -Isrc/libraries -I. -Lsrc/support -Wall -DSIGSLOT_PURE_ISO --std=c++11 sdl2-config --cflags |
I submitted a change that fixes it for linux on x86. I expect that it will also build on a raspberry pi now. The change is not merged at this time, hopefully someone will review it and merge it. |
Thank you for your help. We really appreciate it. We will review the code and test everything before merging. |
I tried to compile with Makefile.win on Windows but it fails: Executing task: make -f Makefile.win VERBOSE=1 g++ -c src/MainView.cpp -o src/MainView.o I will try to fix it and merge it. |
When I was working on this the BYB folks mentioned that some of the .h files were in different locations and that helped me resolve a few errors. Might be the same situation here.
Hope to tryout the build on the raspberry pi system soon.
… On Nov 18, 2024, at 10:37 AM, stanislavmircic ***@***.***> wrote:
I tried to compile with Makefile.win on Windows but it fails:
Executing task: make -f Makefile.win VERBOSE=1
g++ -c src/MainView.cpp -o src/MainView.o
In file included from src/MainView.h:4,
from src/MainView.cpp:1:
src/widgets/Widget.h:13:10: fatal error: sigslot.h: No such file or directory
13 | #include <sigslot.h>
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile.win:195: src/MainView.o] Error 1
I will try to fix it and merge it.
—
Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAVXMEVZIRH24UAREIQIUIL2BICVNAVCNFSM6AAAAABIZYD42GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTGQYDENBSGY>.
You are receiving this because you authored the thread.
|
I also found some paths were broken for the linux build. I modified the #include macros to match the directory structure. Maybe there are more broken links in the windows build that I did not see. Edit: On further inspection, the linux build also uses sigslot.h and the #include paths are working fine, so maybe it's just something with the windows makefile. Edit2: The linux Makefile has "-Isupport" which is why sigslot.h is found in the path. The windows version does not have that -- this seems to be the issue with the windows build. |
Just now I was able to build and run it on my raspberry pi 4 running ubuntu. I haven't tested it yet . |
That’s fantastic. I will try to build and link to the BYB spiker box and see how it goes and report back.
…-smb
On Nov 19, 2024, at 1:40 PM, James Amendolagine ***@***.***> wrote:
Just now I was able to build and run it on my raspberry pi 4 running ubuntu. I haven't tested it yet .
—
Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAVXMEWYT74VDV7T3J7LLN32BOA3VAVCNFSM6AAAAABIZYD42GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGQ3TENZXGY>.
You are receiving this because you authored the thread.
|
On raspberry pi4b and followed instructions. Everything seemed ok until make and then got the following error:
In file included from src/CalibrationWindow.cpp:6:
src/engine/RecordingManager.h:19:10: fatal error: BYBBootloaderController.h: No such file or directory
19 | #include "BYBBootloaderController.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:78: src/CalibrationWindow.o] Error 1
smbaca@chinchilla:~/Spike-Recorder $
The text was updated successfully, but these errors were encountered: