Homebrew Editing make file for use with other libraries.

Magicrafter13

Well-Known Member
OP
Member
Joined
Feb 19, 2017
Messages
134
Trophies
0
Website
matthewrease.net
XP
245
Country
United States
How do I do it. ("It" referring to the title).
I'm trying to implement the boost c++ libraries.
I'm also using citro3d but since it came with the instructions of 'make install' and I noticed it put a file in the devkitpro folder (which is already set up to be used by the makefile). Thing is I didn't make the 'makefile' so I don't know how it works, it's just the basic makefile 3ds homebrew template I found in one of the examples.
So basically how do I add other directories. Here are the lines I'm assuming need to be edited:
Code:
include $(DEVKITARM)/3ds_rules
INCLUDES := include
LIBDIRS := $(CTRULIB)
but I have no idea how to edit them to also have the other directories I need.

EDIT:
Sorry for the double post, don't know how that happened.
 
Last edited by Magicrafter13,

Magicrafter13

Well-Known Member
OP
Member
Joined
Feb 19, 2017
Messages
134
Trophies
0
Website
matthewrease.net
XP
245
Country
United States
Okay well, even without the help of gbatemp I did figure it out.
But the boost libraries aren't exactly working the greatest.
Make gets past the .elf linking step but then stops with these errors:

Code:
Breakout.o: In function `__static_initialization_and_destruction_0':
c:/local/boost_1_64_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'
c:/local/boost_1_64_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::generic_category()'
c:/local/boost_1_64_0/boost/system/error_code.hpp:224: undefined reference to `boost::system::system_category()'
collect2.exe: error: ld returned 1 exit status

So once I again, I'm here asking: What do I do? I googled it, but my search turned up nothing.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol