Hacking Official Corbenik - Another CFW for advanced users (with bytecode patches!)

  • Thread starter Thread starter chaoskagami
  • Start date Start date
  • Views Views 286,927
  • Replies Replies 2,153
  • Likes Likes 60
Getting this error when compiling @chaoskagami

Code:
rm -rf ../out/corbenik/bits
rm -rf ../out/corbenik/module
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/external'
make -C patch clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
rm -f *.vco
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
make -C host/bdfe clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -f bdfe
rm -f *.o
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -rf out build
make -C host/bdfe
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
make: *** [hosttools] Error 2
 
  • Like
Reactions: peteruk and Madridi
Getting this error when compiling @chaoskagami

Code:
rm -rf ../out/corbenik/bits
rm -rf ../out/corbenik/module
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/external'
make -C patch clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
rm -f *.vco
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/patch'
make -C host/bdfe clean
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -f bdfe
rm -f *.o
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
rm -rf out build
make -C host/bdfe
make[1]: Entering directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/Users/Rohul/Documents/3DS/corbenik/host/bdfe'
make: *** [hosttools] Error 2

We've already been over this. You need a host gcc/g++. If you're on linux, install it. On windows, use a cygwin environment with the proper packages.
 
We've already been over this. You need a host gcc/g++. If you're on linux, install it. On windows, use a cygwin environment with the proper packages.
Been reading some old posts. So mingw does not work, and we need cygwin installed, and have it in path before mingw?

Can we use a command like:
make --compiler=cygwin

or something similar?
 
Been reading some old posts. So mingw does not work, and we need cygwin installed, and have it in path before mingw?

Can we use a command like:
make --compiler=cygwin

or something similar?

Cygwin's tools must be before mingw in the path unless you override them. However, the Makefile only sets the variables to a default. You should be able to run something like:

Code:
make CC=/usr/bin/gcc CXX=/usr/bin/g++ CPP=/usr/bin/cpp OC=/usr/bin/objcopy LD=/usr/bin/ld

but don't quote me on this. I don't run Windows for anything aside from FO4 nowadays.
 
  • Like
Reactions: Madridi
Cygwin's tools must be before mingw in the path unless you override them. However, the Makefile only sets the variables to a default. You should be able to run something like:

Code:
make CC=/usr/bin/gcc CXX=/usr/bin/g++ CPP=/usr/bin/cpp OC=/usr/bin/objcopy LD=/usr/bin/ld

but don't quote me on this. I don't run Windows for anything aside from FO4 nowadays.
Thanks, I'll check this out and hopefully it works :)
 
In the time you took to make this post, you'd already have been halfway to just trying it.

Exactly.

>SDK app styled
>font anti-aliasing
Were you even trying?

Dev apps use 3x2 anyways, so the correct layout would be:

C o r
b e n

But let's not give the poor guy any more ideas. I'm perfectly capable of graphics. I made the not-so-crappy logo in the OP, after all.
 
I'm going to take a break for a week or so from development. I've been working nonstop. The only things left to do before the big stuff are all minor and afaik there's no bugs in the current version.

I'll still be active on the forums, if anyone finds anything horribly wrong. My game and anime queue has been piling up and it's nigh time I make a dent on it.
 
someone can help me please :

Code:
C:\corbenik-master>make
make: git: Command not found
/bin/sh: git: command not found
make -C host/bdfe
make[1]: Entering directory `/c/corbenik-master/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/corbenik-master/host/bdfe'
make: *** [hosttools] Error 2

C:\corbenik-master>
 
someone can help me please :

Code:
C:\corbenik-master>make
make: git: Command not found
/bin/sh: git: command not found
make -C host/bdfe
make[1]: Entering directory `/c/corbenik-master/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
make[1]: g++: Command not found
make[1]: *** [main.o] Error 127
make[1]: Leaving directory `/c/corbenik-master/host/bdfe'
make: *** [hosttools] Error 2

C:\corbenik-master>

We've already been through this two times. Go look back through the thread. tl;dr - Cygwin or Linux, you need a POSIX host compiler for your OS.

EDIT: It's in the FAQ now - people no longer have any excuse. This will be answered from now on with RTFM.
 
Last edited by chaoskagami,
We've already been through this two times. Go look back through the thread. tl;dr - Cygwin or Linux, you need a POSIX compiler.

EDIT: It's in the FAQ now - people no longer have any excuse. This will be answered from now on with RTFM.
I've Cygwin installed on my pc :(
 
I've Cygwin installed on my pc :(

Well, you're evidently not using a cygwin shell to build by the prompt (C:\).

Open a cygwin shell, `cd /cygdrive/c/corbenik-master` and try again.

EDIT: Actually, looks like it still doesn't build on cygwin due to li2c. I've made a stubbing-out patch that I'm pushing to master. This allows cygwin to work (I think.)

EDIT: Pull changes and run `patch -Np1 -i host/stub-i2c-bdfe.patch` if you're trying to build in cygwin. This stubs out the Linux i2c code in bdfe so it should build (under Cygwin.)
 
Last edited by chaoskagami,
Well, you're evidently not using a cygwin shell to build by the prompt (C:\).

Open a cygwin shell, `cd /cygdrive/c/corbenik-master` and try again.

EDIT: Actually, looks like it still doesn't build on cygwin due to li2c. I've made a stubbing-out patch that I'm pushing to master. This allows cygwin to work (I think.)

EDIT: Pull changes and run `patch -Np1 -i host/stub-i2c-bdfe.patch` if you're trying to build in cygwin.
2faff86fe1f1625f325e4d881f620a15.png
 

Are you going to type `make` in the cygwin shell, or what?

I highly doubt you should be building this from source. Also, there's absolutely zero changes from the current stable at the moment.

EDIT: Line 3595 of font.h is misgenerated on cygwin for whatever reason. Maybe someday I'll manage to fix this, but I did say I can't support compiling on Windows. It's a royal PITA.
 
Last edited by chaoskagami,

Site & Scene News

Popular threads in this forum