Homebrew Help including NightFox’s Lib into hello world example

pistone

Well-Known Member
OP
Member
Joined
Feb 18, 2010
Messages
503
Trophies
0
Age
35
Location
in your heart...coz secretly you love me !!!!
XP
232
Country
Albania
i would like to put (include) nflib into a simple hello world example but i cant :wacko:
I dont know where to put nflib directory i cant find any info also i must say i am on linux so i cant find a IDE making the dirty work for my , now im with gedit. :tpi:
Does anyone have any idea?
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,839
Country
Poland
This is a good place to start, although I haven't updated it in a while and it needs some editing. The tutorial is Windows-oriented, but including NFLib does not require you to jump through hoops, as far as I know, you just need to toss it into the devkitPro installation folder and you're good to go. As for the Makefile, look through the template provided with the library.
 

madeinair

Well-Known Member
Newcomer
Joined
Jul 16, 2011
Messages
50
Trophies
0
XP
81
Country
A good tip for making a compatible make file is using the example makefiles, just run the current makefile and the example makefile through a text difference checker (e.g. http://www.diffchecker.com/), find the differences and merge the changes of the example makefile into your current makefile, it should work then.
P.S. remember to backup your original makefile incase this trick doesn't work.
Hope that helped !
 

pistone

Well-Known Member
OP
Member
Joined
Feb 18, 2010
Messages
503
Trophies
0
Age
35
Location
in your heart...coz secretly you love me !!!!
XP
232
Country
Albania
Hello all :lol:
And thank you for your reply :wub:

Foxi4 i have read you awesome post , thats why i made a new thread as it was windows oriented
also i put the nflib folder on the root of devkitPro folder and then tried to "make" a example (text16)
but this errors shows up :
arm-none-eabi/bin/ld: cannot find -lfilesystem
bad code ...very bad code...:whip:
madeinair what if a take the nflib makefile and put it on a libnds example shouldn't that work ?
 

Attachments

  • error.txt
    827 bytes · Views: 254

madeinair

Well-Known Member
Newcomer
Joined
Jul 16, 2011
Messages
50
Trophies
0
XP
81
Country
The makefile of libnds might have it's own resources included, if you were to overwrite it with nflib you would lose libnds makefile references throwing out errors.
That's why you need to combine them, combine references from both makefiles to get it to compile.
Hope that helped
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Bunjolio @ Bunjolio:
    if ur on a Chromebook and cant change jack about the laptop that's what I gotta use
  • SylverReZ @ SylverReZ:
    One of the sites that weren't blocked on the school's network was some file uploading sites. I would upload some games, write down the URL and take it to school one day.
  • Bunjolio @ Bunjolio:
    lol
  • SylverReZ @ SylverReZ:
    I did it when the teachers werent looking ofc. I even managed to take in a USB stick that wasn't allowed.
  • Bunjolio @ Bunjolio:
    my school has a chrome extension called light speed filter agent and it legit blocks YouTube pfps since the file cdn(I think aka yt3.ggpht.com) is classed as mature
  • Bunjolio @ Bunjolio:
    mhm
  • Bunjolio @ Bunjolio:
    they have other stuff like goguardian too
  • SylverReZ @ SylverReZ:
    Ours mainly relied on the router, I believe.
  • Bunjolio @ Bunjolio:
    our school network and chrome policies block stuff too
  • Bunjolio @ Bunjolio:
    alot of yt to mp3 sites are blocked by light speed for "Security"
  • SylverReZ @ SylverReZ:
    It was easy to bypass some of the restrictions, as one of the admins left a registry key in the administrative shares drive, which allowed me to get around the blocking of some sites.
  • Bunjolio @ Bunjolio:
    tf does tta mean
  • Bunjolio @ Bunjolio:
    yeah this is chrome os
  • Bunjolio @ Bunjolio:
    cant do shit
  • SylverReZ @ SylverReZ:
    @Bunjolio, Wdym 'TTA'?
  • Bunjolio @ Bunjolio:
    that* as in why yt to mp3 sites are blocked for security
  • SylverReZ @ SylverReZ:
    @Bunjolio, Remember when YouTubetoMP3 was a thing back in the 2010s?
  • SylverReZ @ SylverReZ:
    Until YT updated some stuffs and broke the website.
  • Bunjolio @ Bunjolio:
    I was 2 in 2010
  • SylverReZ @ SylverReZ:
    Oh lol
  • Bunjolio @ Bunjolio:
    lol
  • SylverReZ @ SylverReZ:
    This was in the Minecraft-era.
  • AncientBoi @ AncientBoi:
    lol Bun rockin out at 2 :rofl2:
    AncientBoi @ AncientBoi: lol Bun rockin out at 2 :rofl2: