Can't include libraries from c++ folder?

Discussion in '3DS - Homebrew Development and Emulators' started by Inexplicit, May 9, 2016.

  1. Inexplicit
    OP

    Inexplicit Advanced Member

    Newcomer
    77
    20
    Dec 1, 2014
    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
     
  2. Inexplicit
    OP

    Inexplicit Advanced Member

    Newcomer
    77
    20
    Dec 1, 2014
    United States
    Bump
     
  3. Slashcash

    Slashcash GBAtemp Fan

    Member
    334
    461
    Oct 15, 2015
    Italy
    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?
     
    Inexplicit likes this.
  4. Inexplicit
    OP

    Inexplicit Advanced Member

    Newcomer
    77
    20
    Dec 1, 2014
    United States
    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++.
     
  5. elhobbs

    elhobbs GBAtemp Advanced Fan

    Member
    783
    292
    Jul 28, 2008
    United States
    provide the full output from when you run make along with the makefile.
     
    Inexplicit likes this.
  6. Inexplicit
    OP

    Inexplicit Advanced Member

    Newcomer
    77
    20
    Dec 1, 2014
    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