Homebrew How to setup Dev Environment? (nihstro, libsf2d, sfillib)

xXDungeon_CrawlerXx

Well-Known Member
OP
Member
Joined
Jul 29, 2015
Messages
2,098
Trophies
1
Age
27
Location
Liverpool
XP
3,528
Country
Hey Guys,

I want to setup the Dev Environment for 3DS.
Things I already installed and got to work:
- DevKitPro (DevKitARM)
- ctrulib
- MinGW
- cMake

but to build some homebrews, I need nihstro, libsf2d and sfillib.
I tried to build libsd2d but I get:
make[1]: nihstro-assamble: Command not found
make[1]: *** [shader.vsh.o] Error 127
make: *** [build] Error 2

So I got the newest builds of "nihstro-assamble.exe" and "nihstro-disassamble.exe" and placed them into some Folders but it didn't worked.

What do I need to do next to get everything I listed to work?
 
Last edited by xXDungeon_CrawlerXx,

norips

Active Member
Newcomer
Joined
Aug 13, 2012
Messages
32
Trophies
0
XP
162
Country
France
Download libsf2d, go to the folder, make and make install, check the makefile's sample for LIBS flag and you're done.
You can make the same with other lib such as sfilib.

EDIT:
Put your nihstro file here : /devkitPro/devkitARM/bin
Just tested and this work fine
 
Last edited by norips,
  • Like
Reactions: xXDungeon_CrawlerXx

xXDungeon_CrawlerXx

Well-Known Member
OP
Member
Joined
Jul 29, 2015
Messages
2,098
Trophies
1
Age
27
Location
Liverpool
XP
3,528
Country
Download libsf2d, go to the folder, make and make install, check the makefile's sample for LIBS flag and you're done.
You can make the same with other lib such as sfilib.

EDIT:
Put your nihstro file here : /devkitPro/devkitARM/bin
Just tested and this work fine
thank you, that worked well! :)
 

xXDungeon_CrawlerXx

Well-Known Member
OP
Member
Joined
Jul 29, 2015
Messages
2,098
Trophies
1
Age
27
Location
Liverpool
XP
3,528
Country
another problem :\
howtofixhgu66.png

anyone knows how to fix it?
tried to find a installer for the icu-i18n or something i have to use with "make" and "make install" but don't know where I get it and how I can get it to work.
 

xXDungeon_CrawlerXx

Well-Known Member
OP
Member
Joined
Jul 29, 2015
Messages
2,098
Trophies
1
Age
27
Location
Liverpool
XP
3,528
Country
Tried it, doesn't work either.
Tried to get the newest build of icu again and placed the folder to C:\
After this, I added "C:\icu\bin" to PATH.
Still don't work... Same error message like this from Post #4.
Any ideas? want to compile Easy RPG Player :P
 

Mastak

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
139
Trophies
0
Age
33
XP
185
Country
United States
You must use the Makefile in the builds/3ds folder in my 3ds branch 3DS
(you must set EASYRPG_PORTLIBS env var to the path of the PORTLIBS directory)

That's all I have to say about this, cross-compiling all the dependencies is very simple (almost always just configure && make with the usual cross-compile arguments).
Instead of ICU (compile liblcf with --disable-icu) you can use Iconv instead, is simpler to compile.
 
  • Like
Reactions: xXDungeon_CrawlerXx

Mastak

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
139
Trophies
0
Age
33
XP
185
Country
United States
You can't just simply copy-paste pixman into the easyrpg src folder... You must compile it as a library...

Read here for some hints Portlibs
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys