Results 1 to 2 of 2

Thread: PAlib Beta

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    53
    Posts
    140,433
    Blog Entries
    3209
    Rep Power
    50

    Default PAlib Beta

    Mollusk posted this news:

    <blockquote>If you are unsure of what you are doing, do not use this version. It should not replace the final version yet. I need some more tests before releasing it to be sure that as many things as possible work... This is a BETA version

    It's a major update to PAlib, not in terms of functionnality, but in it's inner workings... I changed the way it's compiled, renamed/moved/changed a lot of files. Because of this, you will have to delete both PAlib and PAlibExamples before using this version. I would recommend renaming them to OldPalib, etc... This version does not require recompiling, should work for both C and C++ (from what I tested), and takes much less memory. It only includes the used elements. So a simple text example takes 63kB, while 8bit text will take 300kB... No recompiling is necessary to take into account the different elements used. Using the keyboard will add an extra 20k, etc... Globably, you should always get smaller results than with any other PAlib version. PA_Config.h is dead !

    I tested this version on a few codes I had, on superstar's C++ demo he sent me, and it worked perfectly. I also compiled all the example to check that everything was ok, but couldn't test it all on DS. Sprites seem 100% ok, as well as all the background functions. Text is perfect (except 16c text). Keyboard, recognition, pad and stylus work (C and C++). GBFS and PAFS seem to work too, all the 8/16bit functions, jpeg, gif and all seem to work. 2 3d examples are broken (looking for PAlogo which I don't have ?), and video doesn't compile (didn't have the time to correct it yet). This will be fixed in the final release. Kleevah told me sound worked too !

    For those who wish to test it, please tell me if you get any compilation error with your projects (paste the error here so I can correct it). </blockquote>

    More info --> http://teamnnc.free.fr/phpBB2/viewtopic.php?t=601

  2. #2
    DCEmu Newbie Krisando's Avatar
    Join Date
    May 2006
    Posts
    54
    Rep Power
    0

    Default

    THIS YOU HAPPY!

    > "make"
    PAlogo.bin
    main.c
    In file included from c:/devkitPro/PAlib//include/nds/arm9/PA_Math.h:10,
    from c:/devkitPro/PAlib//include/nds/arm9/PA_Sprite.h:14,
    from c:/devkitPro/PAlib//include/nds/PA9.h:34,
    from c:/devkitPro/PAlibExamples/3d/textured_Cube/source/main.c:2:
    c:/devkitPro/PAlib//include/nds/arm9/PA_Interrupt.h:45:1: warning: "REG_VCOUNT" redefined
    In file included from c:/devkitPro/libnds/include/nds.h:65,
    from c:/devkitPro/PAlib//include/nds/PA9.h:10,
    from c:/devkitPro/PAlibExamples/3d/textured_Cube/source/main.c:2:
    c:/devkitPro/libnds/include/nds/system.h:111:1: warning: this is the location of the previous definition
    arm-eabi-g++ -g -mthumb-interwork -mno-fpu -L/c/devkitPro/PAlib/lib -specs=ds_arm9.specs PAlogo.o PAlogo.o main.o -Lc:/devkitPro/PAlib//lib -lpa9 -L/c/devkitPro/libnds/lib -lnds9 -o build.elf
    PAlogo.o: In function `PAlogo':
    (.rodata+0x0): multiple definition of `PAlogo'
    PAlogo.o.rodata+0x0): first defined here
    PAlogo.o: In function `PAlogo_end':
    (.rodata+0x8000): multiple definition of `PAlogo_end'
    PAlogo.o.rodata+0x8000): first defined here
    c:\devkitpro\devkitarm\arm-eabi\bin\ld.real.exe: cannot find -lpa9
    collect2: ld returned 1 exit status
    make[1]: *** [/c/devkitPro/PAlibExamples/3d/textured_Cube/textured_Cube.elf] Error 1
    "make": *** [build] Error 2

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

Thread Information

Users Browsing this Thread

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

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
  •