Homebrew Can't include libraries from c++ folder?

Inexplicit

Well-Known Member
OP
Newcomer
Joined
Dec 1, 2014
Messages
80
Trophies
0
Age
25
XP
160
Country
United States
I'm trying to do as the title says but like, it just tells me that it doesn't exist if I just use the name, and if I include the exact path to the library, it can't find the dependencies:

fatal error: vector: No such file or directory

and

In file included from (project directory)
/opt/devkitpro/devkitARM/arm-none-eabi/include/c++/5.3.0/vector:60:31: fatal error: bits/stl_algobase.h: No such file or directory


How can I get it to recognize the folder? Thanks in advance
 

Inexplicit

Well-Known Member
OP
Newcomer
Joined
Dec 1, 2014
Messages
80
Trophies
0
Age
25
XP
160
Country
United States
Thanks for the reply!

Which os are you using? Which IDE? It seems that you are missing standard libraries. It is not even a 3ds related problem: can you compile a standard c++ program?

Fedora 24

None, I use VIM

Not with DevkitARM, it can't seem to be able to find the libraries for some reason. I'm only having this problem with c++. gcc works for just c++.
 

Inexplicit

Well-Known Member
OP
Newcomer
Joined
Dec 1, 2014
Messages
80
Trophies
0
Age
25
XP
160
Country
United States
So I made the stupid mistake of forgetting to change the format of the main to cpp, my b. Sorry for making such a trivial mistake, I'm not necessarily experienced.
Thanks for the help
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    BakerMan @ BakerMan: "I'm cheating on you with your hamster's cousin's owner's dog's favorite tree" +1