Homebrew Can't compile bfcl for seedminer

IC_

GBAtemp's ???
OP
Member
Joined
Aug 24, 2017
Messages
1,572
Trophies
1
Location
The Forest
XP
5,587
Country
Antarctica
I'm trying to compile bfcl 0.5 from https://github.com/zoogie/bfCL/releases/tag/0.5 for seedminer on linux but I get an error
Code:
~/Programs/seedminer/bfcl $ make
cc -std=c11 -Wall -Werror -O2 -mrdrnd -I/include   -c -o bfcl.o bfcl.c
bfcl.c: In function ‘main’:
bfcl.c:24:27: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
   24 |  } else if (argc == 2 && !strcmp(argv[1], "info")) {
      |                           ^~~~~~
cc1: all warnings being treated as errors
make: *** [<builtin>: bfcl.o] Error 1
When I remove -Werror from makefile I get different errors
Code:
~/Programs/seedminer/bfcl $ make
cc -std=c11 -Wall -O2 -mrdrnd -I/include   -c -o bfcl.o bfcl.c
bfcl.c: In function ‘main’:
bfcl.c:24:27: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
   24 |  } else if (argc == 2 && !strcmp(argv[1], "info")) {
      |                           ^~~~~~
cc -std=c11 -Wall -O2 -mrdrnd -I/include   -c -o ocl_util.o ocl_util.c
ocl_util.c: In function ‘ocl_get_device’:
ocl_util.c:185:9: warning: implicit declaration of function ‘strstr’ [-Wimplicit-function-declaration]
  185 |     if (strstr((const char*)devices[j].name, "Intel") == 0) {
      |         ^~~~~~
ocl_util.c:185:9: warning: incompatible implicit declaration of built-in function ‘strstr’
ocl_util.c:8:1: note: include ‘<string.h>’ or provide a declaration of ‘strstr’
    7 | #include "utils.h"
  +++ |+#include <string.h>
    8 |
cc -std=c11 -Wall -O2 -mrdrnd -I/include   -c -o utils.o utils.c
utils.c: In function ‘hp_time_diff’:
utils.c:84:22: error: ‘pt1’ is a pointer; did you mean to use ‘->’?
   84 |  long long diff = pt1.tv_sec - pt0.tv_sec;
      |                      ^
      |                      ->
utils.c:84:35: error: ‘pt0’ is a pointer; did you mean to use ‘->’?
   84 |  long long diff = pt1.tv_sec - pt0.tv_sec;
      |                                   ^
      |                                   ->
utils.c:86:13: error: ‘pt1’ is a pointer; did you mean to use ‘->’?
   86 |  diff += pt1.tv_usec - pt0.tv_usec;
      |             ^
      |             ->
utils.c:86:27: error: ‘pt0’ is a pointer; did you mean to use ‘->’?
   86 |  diff += pt1.tv_usec - pt0.tv_usec;
      |                           ^
      |                           ->
make: *** [<builtin>: utils.o] Error 1
Should I replace the . with -> or can I get a compiled version anywhere or anything else I can do?

Edit: I used https://github.com/Mike15678/seedminer/releases/tag/v2.1.5 and it works
 
Last edited by IC_,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    +1
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    +1
  • BigOnYa @ BigOnYa:
    Easiest, simple way would be just restart scene, but player would restart from beginning.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, thx in advance
    +1
  • Spider2190 @ Spider2190:
    Heya
  • Spider2190 @ Spider2190:
    How are you doing, @Xdqwerty
    ?
  • Psionic Roshambo @ Psionic Roshambo:
    Dolphin porn??? This man has my vote!!! Lol
    Psionic Roshambo @ Psionic Roshambo: Dolphin porn??? This man has my vote!!! Lol