Results 1 to 4 of 4

Thread: Help required to set the PAlib:DevKitPro ARM devellopment environment

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Dec 2009
    Posts
    2
    Rep Power
    0

    Default Help required to set the PAlib:DevKitPro ARM devellopment environment

    Hi all,
    I am trying to set-up a devellopment environment to code some applications for NDS.
    I followed the steps in http://www.palib.info/wiki/doku.php?id=day1 to the best I could but I nust do so,ething wrong as I keep getting error messages when I try to build the basic PAlib tenplate.

    the full error message is:

    main.c
    In file included from c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:45,
    from c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:10,
    from c:/devkitPro/PAlib/lib/include/nds/PA9.h:27,
    from c:/devkitPro/PAlib/template/source/main.c:10:
    c:/devkitPro/PAlib/lib/include/nds/arm9/../PA_Shared.h:9: error: expected specifier-qualifier-list before 'TransferSoundData'
    In file included from c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:10,
    from c:/devkitPro/PAlib/lib/include/nds/PA9.h:27,
    from c:/devkitPro/PAlib/template/source/main.c:10:
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_ReserveChannel':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:332: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:332: error: (Each undeclared identifier is reported only once
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:332: error: for each functionit appears in.)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMasterVolume':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:338: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SoundStop':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:371: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Pause':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:380: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Unpause':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:387: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Stop':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:394: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_GetMP3Status':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:401: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Volume':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:407: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Delay':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:414: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Loop':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:420: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Rate':
    c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:426: error: 'TransferRegion' undeclared (first use in this function)
    In file included from c:/devkitPro/PAlib/lib/include/nds/PA9.h:27,
    from c:/devkitPro/PAlib/template/source/main.c:10:
    c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h: In function 'PA_CheckLid':
    c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:258: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetScreenLight':
    c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:337: error: 'TransferRegion' undeclared (first use in this function)
    c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetLedBlink':
    c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:354: error: 'TransferRegion' undeclared (first use in this function)
    make[1]: *** [main.o] Error 1
    make: *** [build] Error 2

    I must have missed something in the instqll but I can't figure out what
    Any help advise is welcome.
    Thanks
    Gwech

  2. #2
    DCEmu Newbie
    Join Date
    Jan 2010
    Location
    uk
    Posts
    5
    Rep Power
    0

    Default

    hi gwech,
    I am having the same problem... can anyone help?
    I've had an older version of devkitpro & palib working, so i suspect it might be a mismatched version of the two... the palib changelog mentions "libnds 1.3.7." but the devkitpro 1.5 updater downloads libnds 1.4.0...

    can anyone confirm or help please?

    regards
    pn

  3. #3
    DCEmu Newbie
    Join Date
    Jan 2010
    Location
    uk
    Posts
    5
    Rep Power
    0

    Default

    Hi,

    I've got it working now, following the guide at;
    http://wiki.devkitpro.org/index.php/...rted/devkitARM

    manually building devkitpro (older release 26?) from these files;
    devkitARM_r26-win32.exe 10.9 MB 2009-05-01
    nds-examples-20090504.tar.bz2 1.0 MB 2009-05-09
    libgba-20090222.tar.bz2 105.4 KB 2009-02-23
    libmirko-0.9.7.tar.bz2 225.7 KB 2007-02-07
    libnds-1.3.7.tar.bz2 308.2 KB 2009-07-11

    plus these, all in libnds folder(s)
    libfat-nds-1.0.4.tar.bz2 68.9 KB 2009-04-05
    dswifi-0.3.10.tar.bz2 162.3 KB 2009-07-11
    maxmod-nds-1.0.6.tar.bz2 28.0 KB 2009-07-11
    libfilesystem-0.9.2.tar.bz2 12.3 KB 2009-04-27
    default_arm7-0.5.6.tar.bz2 31.4 KB 2009-07-11

    from sourceforge

    hope this helps....

    cheers
    pn

    p.s. but any easier solutions from anyone appreciated!!

  4. #4
    DCEmu Newbie
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Default

    Get the newest PAlib version here:
    http://palib-dev.com/downloads.html

    It should work with the latest devkitARM and libnds

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help required to set the PAlib:DevKitPro ARM devellopment environment
    By Gwech in forum DCEmu Gaming & General Discussion Forum
    Replies: 0
    Last Post: December 15th, 2009, 11:07
  2. University of Florida pharmacy students required to have iPhone or iPod Touch
    By wraggster in forum The Apple iPhone, Android & Mobile Phone News Forum
    Replies: 0
    Last Post: August 9th, 2009, 21:52
  3. PSP Dev Tutorials - Setting up the Development Environment
    By wraggster in forum DCEmu Homebrew, Emulation, Hacking and Development Forum
    Replies: 20
    Last Post: August 31st, 2007, 22:34

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •