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

  • Thread starter Thread starter Inexplicit
  • Start date Start date
  • Views Views 1,079
  • Replies Replies 5

Inexplicit

Well-Known Member
Newcomer
Joined
Dec 1, 2014
Messages
80
Reaction score
21
Trophies
0
Age
28
XP
200
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
 
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++.
 
Thanks for the reply!



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++.
provide the full output from when you run make along with the makefile.
 
  • Like
Reactions: Inexplicit
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