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

xXDungeon_CrawlerXx

Well-Known Member
OP
Member
Joined
Jul 29, 2015
Messages
2,092
Trophies
1
Age
28
Location
Liverpool
XP
3,720
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,092
Trophies
1
Age
28
Location
Liverpool
XP
3,720
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,092
Trophies
1
Age
28
Location
Liverpool
XP
3,720
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,092
Trophies
1
Age
28
Location
Liverpool
XP
3,720
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
34
XP
195
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
34
XP
195
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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Sup