.cpp to .nds

Discussion in 'NDS - Emulation and Homebrew' started by ramonsmit125, Mar 7, 2009.

  1. ramonsmit125
    OP

    ramonsmit125 Newbie

    Newcomer
    1
    Jul 6, 2008
    Netherlands
    Hello, (i'm not so good in english)

    I have a question. I want to make a NDS app and I have Programmers Notepad.
    I have my main.cpp and makefile. so i go to tools and then make (alt+1)
    Then I get this :

    > "make"
    basename: extra operand `Settings/Linda/Bureaublad/Nieuwe'
    Try `basename --help' for more information.
    make[1]: /c/Documents: No such file or directory
    make[1]: *** No rule to make target `/c/Documents'. Stop.
    "make": *** [build] Error 2

    > Process Exit Code: 2
    > Time Taken: 00:00

    and i cant vind my nds file. What's the problem here ? Can someboddy help my ?
     
  2. nIxx

    nIxx GBAtemp Advanced Maniac

    Member
    3
    Sep 30, 2007
    Gambia, The
    Germany
    if you downloaded devkitPro use the msys shell [​IMG]
     
  3. Normmatt

    Normmatt Former AKAIO Programmer

    Member
    6
    Dec 14, 2004
    New Zealand
    Your path has a space in it, move your project to a folder with no spaces in preferable on the root of C drive and try again.
     
  4. ramonsmit125
    OP

    ramonsmit125 Newbie

    Newcomer
    1
    Jul 6, 2008
    Netherlands
    now i get this. by the way msys doesnt work:(

    > "make"
    main.c
    In file included from C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:10,
    from C:/devkitPro/palib/lib/include/nds/arm9/PA_BgTiles.h:7,
    from C:/devkitPro/palib/lib/include/nds/arm9/PA_Text.h:9,
    from C:/devkitPro/palib/lib/include/nds/arm9/PA_GBFS.h:15,
    from C:/devkitPro/palib/lib/include/nds/PA9.h:19,
    from e:/source/main.c:3:
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_ReserveChannel':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:331: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:331: warning: 'getIPC' is static but used in inline function 'AS_ReserveChannel' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMasterVolume':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:337: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:337: warning: 'getIPC' is static but used in inline function 'AS_SetMasterVolume' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:338: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:338: warning: 'getIPC' is static but used in inline function 'AS_SetMasterVolume' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SoundStop':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:370: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:370: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:372: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:372: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Pause':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:379: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:379: warning: 'getIPC' is static but used in inline function 'AS_MP3Pause' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:380: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:380: warning: 'getIPC' is static but used in inline function 'AS_MP3Pause' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Unpause':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:386: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:386: warning: 'getIPC' is static but used in inline function 'AS_MP3Unpause' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:387: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:387: warning: 'getIPC' is static but used in inline function 'AS_MP3Unpause' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Stop':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:393: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:393: warning: 'getIPC' is static but used in inline function 'AS_MP3Stop' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_GetMP3Status':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:400: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:400: warning: 'getIPC' is static but used in inline function 'AS_GetMP3Status' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Volume':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Delay':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:413: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:413: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Delay' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Loop':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:419: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:419: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Loop' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Rate':
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:425: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:425: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Rate' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:426: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:426: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Rate' which is not static
    In file included from C:/devkitPro/palib/lib/include/nds/arm9/PA_BgTiles.h:7,
    from C:/devkitPro/palib/lib/include/nds/arm9/PA_Text.h:9,
    from C:/devkitPro/palib/lib/include/nds/arm9/PA_GBFS.h:15,
    from C:/devkitPro/palib/lib/include/nds/PA9.h:19,
    from e:/source/main.c:3:
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_PowerOff':
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:47: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:47: warning: 'getIPC' is static but used in inline function 'PA_PowerOff' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:47: error: 'TransferRegion' has no member named 'aux'
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_CheckLid':
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:308: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:308: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:314: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:314: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetScreenLight':
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:385: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:385: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:385: error: 'TransferRegion' has no member named 'aux'
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:386: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:386: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:386: error: 'TransferRegion' has no member named 'aux'
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetLedBlink':
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:402: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:402: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:402: error: 'TransferRegion' has no member named 'aux'
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:403: warning: 'getIPC' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:403: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:403: error: 'TransferRegion' has no member named 'aux'
    In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:53,
    from e:/source/main.c:3:
    C:/devkitPro/palib/lib/include/nds/arm9/PA_SpecialFx.h:8:1: warning: "REG_BLDCNT" redefined
    In file included from c:/devkitPro/libnds/include/nds/arm9/background.h:91,
    from c:/devkitPro/libnds/include/nds.h:183,
    from C:/devkitPro/palib/lib/include/nds/PA9.h:10,
    from e:/source/main.c:3:
    c:/devkitPro/libnds/include/nds/arm9/video.h:568:1: warning: this is the location of the previous definition
    In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:53,
    from e:/source/main.c:3:
    C:/devkitPro/palib/lib/include/nds/arm9/PA_SpecialFx.h:9:1: warning: "REG_BLDALPHA" redefined
    In file included from c:/devkitPro/libnds/include/nds/arm9/background.h:91,
    from c:/devkitPro/libnds/include/nds.h:183,
    from C:/devkitPro/palib/lib/include/nds/PA9.h:10,
    from e:/source/main.c:3:
    c:/devkitPro/libnds/include/nds/arm9/video.h:570:1: warning: this is the location of the previous definition
    In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:58,
    from e:/source/main.c:3:
    C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: At top level:
    C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h:45: error: 'Keyboard' redeclared as different kind of symbol
    c:/devkitPro/libnds/include/nds/arm9/keyboard.h:112: error: previous declaration of 'Keyboard' was here
    In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:71,
    from e:/source/main.c:3:
    C:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h: In function 'PA_16c8pixels':
    C:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h:61: warning: 'PA_Plot8Pixels' is static but used in inline function 'PA_16c8pixels' which is not static
    C:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h: In function 'PA_16cLetter':
    C:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h:483: warning: 'PA_16c16X16Letter' is static but used in inline function 'PA_16cLetter' which is not static
    make[1]: *** [main.o] Error 1
    "make": *** [build] Error 2

    > Process Exit Code: 2
    > Time Taken: 00:01
     
  5. anoNL

    anoNL Member

    Newcomer
    1
    Sep 27, 2008
    Netherlands
    PALib only works with older versions of devkitpro/libnds.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice