Unable to compile libbulldog from source

32 views
Skip to first unread message

Aaron Jeskie

unread,
Apr 6, 2016, 11:40:43 AM4/6/16
to libbulldog
Hey,

I am attempting to use libbulldog with a custom beaglebone-based board and have run into a bit of an issue. Upon constructing the board in my code it is throwing a stack trace for "Index Out of Bounds 0" which I have followed to the following line:

BBBSysFs
return getFilesInPath(getCapeManager().getAbsolutePath(), "slots")[0];

I see the the library looking for the directory bone_capemgr when in my sysfs my location is bone_capemgr.10. Due to this my application crashes and I am no longer able to control the assets on my board. Now I went to attempt to modify the source slightly have it not throw the stack, but I am finding that I cannot compile the build on my system. Since the instructions on the github page are minimal (1 line) and the actual libbulldog web page is down again. I am reaching out for anyone who might have some experience with building the project from source who might be able to assist in the process.

Currently I am attempting to build it on an ubuntu system, but I have any OS available if the instructions require it.

Thank you,
Aaron

Aaron Jeskie

unread,
Apr 6, 2016, 12:00:18 PM4/6/16
to libbulldog
Also, please note that when I do attempt to build the source I get the following:

---

parallels@ubuntu:~/Bulldog/bulldog.build$ gradle -x test --daemon clean build docs distribution archiveDistributions

FAILURE: Build failed with an exception.

* Where:
Script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle' line: 74

* What went wrong:
Could not compile script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle'.
> startup failed:
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 74: unable to resolve class TargetPlatformConfiguration 
   @ line 74, column 1.
     class BeagleboneArmSoftFpArchitecture implements TargetPlatformConfiguration {
     ^
  
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 79: unable to resolve class Platform 
   @ line 79, column 30.
         boolean supportsPlatform(Platform element) {
                                  ^
  
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 112: unable to resolve class TargetPlatformConfiguration 
   @ line 112, column 1.
     class BeagleboneArmHardFpArchitecture implements TargetPlatformConfiguration {
     ^
  
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 117: unable to resolve class Platform 
   @ line 117, column 30.
         boolean supportsPlatform(Platform element) {
                                  ^
  
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 150: unable to resolve class TargetPlatformConfiguration 
   @ line 150, column 1.
     class RaspberryPiArmArchitecture implements TargetPlatformConfiguration {
     ^
  
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 156: unable to resolve class Platform 
   @ line 156, column 30.
         boolean supportsPlatform(Platform element) {
                                  ^
  
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 189: unable to resolve class TargetPlatformConfiguration 
   @ line 189, column 1.
     class CubieboardArchitecture implements TargetPlatformConfiguration {
     ^
  
  script '/home/parallels/Bulldog/bulldog.linux.native/build.gradle': 197: unable to resolve class Platform 
   @ line 197, column 30.
         boolean supportsPlatform(Platform element) {
                                  ^
  
  8 errors


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

David Masshardt

unread,
Aug 31, 2016, 9:12:07 AM8/31/16
to libbulldog
I get the same error with TargetPlatformConfiguration. Did you manage to solve this problem?
Reply all
Reply to author
Forward
0 new messages