Seite 310 von 340 ErsteErste ... 210 260 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 ... LetzteLetzte
Zeige Ergebnis 9.271 bis 9.300 von 10174

C/C++ Programming Help Thread

This is a discussion on C/C++ Programming Help Thread within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Zitat von _dysfunctional This is what we are talking about. You can't just expect us to write and fix code ...

  
  1. #9271
    QJ Gamer Bronze
    Points: 5.594, Level: 48
    Level completed: 22%, Points required for next Level: 156
    Overall activity: 0%

    Registriert seit
    Aug 2008
    Ort
    thugz mansion
    Beiträge
    875
    Points
    5.594
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von _dysfunctional Beitrag anzeigen
    This is what we are talking about. You can't just expect us to write and fix code for you.

    Did you even bother to open up pspkerneltypes.h so you could find for yourself that you were including the wrong header? I guess not.

    Try psppower.h.
    I did actualy and these are all of my includes
    #include <pspdebug.h>
    #include <pspkernel.h>
    #include <pspctrl.h>
    #include <pspthreadman.h>
    #include <stdlib.h>
    #include <string.h>
    #include <psputilsforkernel.h>
    #include <psppower.h>
    #include <malloc.h>
    #include <pspsdk.h>
    #include <stdarg.h>
    #include <pspdisplay.h>
    #include <pspkerneltypes.h>
    #include <psptypes.h>
    #include <stdint.h>
    #include <graphics.h>
    #include <pspusb.h>
    #include <pspsysevent.h>
    #include <pspatrac3.h>
    #include <pspwlan.h>
    Every time i hear of an include i add it to all of my projects even if not neede.
    I mentioned the wrong one by accident.
    And im asking no one to write anything and also i do know where my includes are. ther @ C:\pspsdk\psp\sdk\include
    and also before you say this i did put the route to the lib in my makefile.

    So far with the project im working on since its very simple know exactly what im doing and i found the problem for myself. The lib was bad i replaced it and know it works.
    Dont know what ****ed it up but its working now.


    Zitat Zitat von SuperBatXS
    I use my psp all the time in the plane. I was masturbating once while watching some lesbian videos when a fat lady beside me was sleeping and her really hot daughter next to her was getting ready for my dong to shove up her ding. Then, her daughter and I were about to go to the bathroom together but, the air hostess came to tell me i should stop right now. I swear this happened. I am never taking my psp to the plane again. Always got my iPod though...hehe. ;)

  2. #9272
    QJ Gamer Gold
    Points: 17.453, Level: 84
    Level completed: 21%, Points required for next Level: 397
    Overall activity: 0%

    Registriert seit
    Jul 2005
    Ort
    everywhere
    Beiträge
    3.526
    Points
    17.453
    Level
    84
    Downloads
    1
    Uploads
    0

    Standard

    Zitat Zitat von BlackBurd Beitrag anzeigen
    its very simple know exactly what im doing
    ...
    Zitat Zitat von BlackBurd Beitrag anzeigen
    #include <pspdebug.h>
    #include <pspkernel.h>
    #include <pspctrl.h>
    #include <pspthreadman.h>
    #include <stdlib.h>
    #include <string.h>
    #include <psputilsforkernel.h>
    #include <psppower.h>
    #include <malloc.h>
    #include <pspsdk.h>
    #include <stdarg.h>
    #include <pspdisplay.h>
    #include <pspkerneltypes.h>
    #include <psptypes.h>
    #include <stdint.h>
    #include <graphics.h>
    #include <pspusb.h>
    #include <pspsysevent.h>
    #include <pspatrac3.h>
    #include <pspwlan.h>
    you do know, exactly, what your doing...
    1. Failed....again...
    2. http://slicer.gibbocool.com/ stay updated on all my projects
    3. it'll be 5 years in june, that's nearly 1/4 of my life on this planet that i've visited these forums, what a ride it has been

  3. #9273
    QJ Gamer Bronze
    Points: 5.594, Level: 48
    Level completed: 22%, Points required for next Level: 156
    Overall activity: 0%

    Registriert seit
    Aug 2008
    Ort
    thugz mansion
    Beiträge
    875
    Points
    5.594
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von slicer4ever Beitrag anzeigen
    ...


    you do know, exactly, what your doing...
    yeah i do i made an include that automatically include all those.
    Im not just dropping all of that in.
    Zitat Zitat von SuperBatXS
    I use my psp all the time in the plane. I was masturbating once while watching some lesbian videos when a fat lady beside me was sleeping and her really hot daughter next to her was getting ready for my dong to shove up her ding. Then, her daughter and I were about to go to the bathroom together but, the air hostess came to tell me i should stop right now. I swear this happened. I am never taking my psp to the plane again. Always got my iPod though...hehe. ;)

  4. #9274
    lol
    Points: 20.859, Level: 91
    Level completed: 2%, Points required for next Level: 491
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    Whittier, CA
    Beiträge
    5.791
    Points
    20.859
    Level
    91
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Durka Durka Mahn Beitrag anzeigen
    Most new PSP programmers don't know about looking into the header files, or even where they are for that matter.. (I didn't until a friend of mine showed me)
    Which is why people shouldnt start programming on the PSP and should learn on a PC.

  5. #9275
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von BlackBurd Beitrag anzeigen
    yeah i do i made an include that automatically include all those.
    Im not just dropping all of that in.
    While you are getting away with this now, this is a bad habit to get into as include more files adds to compiling time especially if they header files that get modified. E.g.

    B.h includes A.h. B.cpp includes B.h. C.cpp includes B.h.

    This means that when A.h gets changed, both B.cpp and C.cpp needs to be compiled as they have a dependency on A.h.

    Always try to include the minimum number of headers.

  6. #9276
    QJ Gamer Bronze
    Points: 5.594, Level: 48
    Level completed: 22%, Points required for next Level: 156
    Overall activity: 0%

    Registriert seit
    Aug 2008
    Ort
    thugz mansion
    Beiträge
    875
    Points
    5.594
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von yaustar Beitrag anzeigen
    While you are getting away with this now, this is a bad habit to get into as include more files adds to compiling time especially if they header files that get modified. E.g.

    B.h includes A.h. B.cpp includes B.h. C.cpp includes B.h.

    This means that when A.h gets changed, both B.cpp and C.cpp needs to be compiled as they have a dependency on A.h.

    Always try to include the minimum number of headers.
    i dont plan on doing any big programs for psp any time soon there all simple stuff that are not [release] quality in my opinion i just do this for simple stuff and i hardly ever edit my header files nor other includes that goes with them.
    Mostly because i cannot use the scanf function and alot of other functions i use for programing on the pc.
    Zitat Zitat von SuperBatXS
    I use my psp all the time in the plane. I was masturbating once while watching some lesbian videos when a fat lady beside me was sleeping and her really hot daughter next to her was getting ready for my dong to shove up her ding. Then, her daughter and I were about to go to the bathroom together but, the air hostess came to tell me i should stop right now. I swear this happened. I am never taking my psp to the plane again. Always got my iPod though...hehe. ;)

  7. #9277
    QJ Gamer Bronze
    Points: 8.045, Level: 60
    Level completed: 48%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2007
    Ort
    Australia
    Beiträge
    659
    Points
    8.045
    Level
    60
    Downloads
    0
    Uploads
    0

    Standard

    I haven't coded in a bit and I'm starting to get into it. Came across A_noob's ConfParser last night which has saved me having to right up my own. Everything's been going fine except when I've tried to load a sound file with OSLib.
    The entry from my config file I'm reading:
    Code:
    kitDir=kit1
    Then I'm using this to load the file:
    Code:
    char *file;
    sprintf(file, "Sounds/Drums/%s/snareon.wav", stringValueFromName("kitDir", config));
    snareOn = oslLoadSoundFile(file, OSL_FMT_NONE);
    However it crashes when it goes to load. Probably something simple I'm missing

  8. #9278
    QJ Gamer Green
    Points: 5.712, Level: 48
    Level completed: 81%, Points required for next Level: 38
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Ort
    USA SC/NC
    Beiträge
    699
    Points
    5.712
    Level
    48
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Xsjado7 Beitrag anzeigen
    I haven't coded in a bit and I'm starting to get into it. Came across A_noob's ConfParser last night which has saved me having to right up my own. Everything's been going fine except when I've tried to load a sound file with OSLib.
    The entry from my config file I'm reading:
    Code:
    kitDir=kit1
    Then I'm using this to load the file:
    Code:
    char *file;
    sprintf(file, "Sounds/Drums/%s/snareon.wav", stringValueFromName("kitDir", config));
    snareOn = oslLoadSoundFile(file, OSL_FMT_NONE);
    However it crashes when it goes to load. Probably something simple I'm missing
    sprintf doesn't allocate memory for you. You need to allocate memory and point to it with file before you can use it with sprintf the way you just tried.
    [CODE]Random Facts:
    irc://irc.malloc.us #wtf #**********
    [/CODE]

    [SIZE="6"][FONT="Century Gothic"][COLOR="Blue"][URL="http://forums.**********.net"]http://forums.**********.net[/URL][/COLOR][/FONT][/SIZE]

  9. #9279
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    I'm trying to get a global object, I've searched Google and found the method singleton, but in all honesty its not making any sense to me. I was wondering if someone knew of a good link explaining well, or could throw me some commented code giving me an idea what to do. From what I can see, I lose use of the constructor?

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  10. #9280
    QJ Gamer Blue
    Points: 3.795, Level: 38
    Level completed: 97%, Points required for next Level: 5
    Overall activity: 27,0%

    Registriert seit
    Jul 2007
    Beiträge
    296
    Points
    3.795
    Level
    38
    Downloads
    0
    Uploads
    0

    Standard

    Code:
    class Singleton
    {
    private:
        static Singleton m_mySingleton; // Our single instance of the class
    
    protected:
        Singleton() { }   // We don't want people calling these, but we want them to be easily
        ~Singleton() { }; // subclasses
    
    public:
        static Singleton& Instance() // Our way of getting the instance
        {
            return m_mySingleton;
        }
    
        void DoSomething() { std::cout << "I did something.\n"; } // A member function
    };
    There are other ways to do it, but this is safer, and pointer-free.

    // Somewhere else...
    Singleton::Instance().DoS omething(); // "I did something."

  11. #9281
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    Ok, I think I understood that, but is it then not possible to create multiple objects? Or would I have to create multiple instances in the same class?

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  12. #9282
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    You are trying to access a global object?

    Code:
    class Blah
    {
        // Some code
    };
    
    Blah gGlobalBlah;
    
    int main()
    {
        gGlobalBlah.SomeFunction(); // global objects accessed
    }

  13. #9283
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    Yes, but I'm doing it over a few source files, which is causing my application to crash from what I can tell.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  14. #9284
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    Look up the extern keyword

    Code:
    // blah.h
    #ifndef BLAH_H
    #define BLAH_H
    
    class blah 
    {
        // some code
    };
    
    extern blah gGlobalBlah;
    Code:
    // blah.cpp
    #include "blah.h"
    
    blah gGlobalBlah;
    
    // some code
    Code:
    // main.cpp
    #include "blah.h"
    
    int main()
    {
        gGlobalBlah.SomeFunction(); // global access to this variable
    }

  15. #9285
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    I was using extern.

    When I remove all calls to the objects except in the function that uses it the most, and when I "create" the object within that function, everything runs fine (appart from none of the other code functioning correctly). I also commented all my functions, but "created" the objects in the global source, and used extern in the header with the ifndef, define, endif, and it still crashes, so I know its not my code but rather the way I'm making my objects global.

    -Aura

    EDIT:
    I have to apologise, turns out I hadn't done something, still not 100% sure what it was, I did a couple of things including remove the constructor, and now it works as its supposed to without crashing.
    Geändert von Auraomega (12-07-2008 um 05:16 PM Uhr)
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  16. #9286
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    What was in the constructor and what do you mean by 'create'?

  17. #9287
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    I just initialised the private memebers, and called another function not in the class. And by create I mean
    Code:
    class blah
    {
    ...
    };
    
    blah meh;
    I couldn't think of the word last night and I'm doing no better now either.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  18. #9288
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    Did you attempt to call a virtual function in the constructor? Or a system function (such as initialising the GU or loading a texture)?

    And the word the you are looking for is define or class definition.

  19. #9289
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    Yeah I used a system function, is that not a good thing to do? And thanks, I thought defination but thought I'd got confused with precompilers.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  20. #9290
    QJ Gamer Silver
    Points: 10.263, Level: 67
    Level completed: 54%, Points required for next Level: 187
    Overall activity: 0%

    Registriert seit
    Jun 2006
    Ort
    UK
    Beiträge
    2.326
    Points
    10.263
    Level
    67
    Downloads
    0
    Uploads
    0

    Standard

    It is fine to but this highlights the problem with globals. All globals are instantiated before the program even runs the first line of code in main. This means that the constructors of all global objects are called first so if it uses a system function that relies on something else being initialised first, then this will cause problems.

    There are several ways round this:
    - Don't use globals (which is not always possible)
    - Use a two stage initialisation process (e.g. have another function called Init which gets called at the right time)
    - Other variations of the above

  21. #9291
    I'm back!
    Points: 8.236, Level: 61
    Level completed: 29%, Points required for next Level: 214
    Overall activity: 99,0%

    Registriert seit
    Feb 2007
    Ort
    England
    Beiträge
    902
    Points
    8.236
    Level
    61
    Downloads
    0
    Uploads
    0

    Standard

    Thanks I see what you mean now, although I knew they were instantiated before the rest, it hadn't occured to me that it would be calling a function which wasn't yet available. I changed my constructor to an init function last night which worked, but I'm happier now I know why it worked.

    -Aura
    Last.fm | Deviant Art | First working OS picture

    Zitat Zitat von nickxab Beitrag anzeigen
    I will beat myself. :p

  22. #9292
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    sceIoUnassign("flash0");
    sceIoAssign("flash0", "lflash0:0,0", "flashfat0:", IOASSIGN_RDWR, NULL, 0);

    This returns <0 on my 5.00M33 psp , i'm working in kernel mode , anyone knows what's wrong? It should just assign flash0 and make it writeable

  23. #9293
    QJ Gamer Gold
    Points: 13.727, Level: 76
    Level completed: 20%, Points required for next Level: 323
    Overall activity: 0%

    Registriert seit
    Apr 2007
    Beiträge
    1.493
    Points
    13.727
    Level
    76
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von hallo007 Beitrag anzeigen
    sceIoUnassign("flash0");
    sceIoAssign("flash0", "lflash0:0,0", "flashfat0:", IOASSIGN_RDWR, NULL, 0);

    This returns <0 on my 5.00M33 psp , i'm working in kernel mode , anyone knows what's wrong? It should just assign flash0 and make it writeable
    Code:
    sceIoUnassign("flash0:");  
    sceIoAssign("flash0:", "lflash0:0,0", "flashfat0:", IOASSIGN_RDWR, NULL, 0);
    You forgot the colons after flash0.

  24. #9294
    Heroes never die
    Points: 8.645, Level: 62
    Level completed: 65%, Points required for next Level: 105
    Overall activity: 0%

    Registriert seit
    Aug 2006
    Ort
    ...........
    Beiträge
    1.323
    Points
    8.645
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    Zitat Zitat von Bubbletune Beitrag anzeigen
    Code:
    sceIoUnassign("flash0:");  
    sceIoAssign("flash0:", "lflash0:0,0", "flashfat0:", IOASSIGN_RDWR, NULL, 0);
    You forgot the colons after flash0.
    :/ , thnx

    but now:
    int createdFile = sceIoOpen("flash0:/vsh/resource/gameboot.pmf", PSP_O_WRONLY | PSP_O_CREAT | PSP_O_TRUNC, 0777);

    returns a negative number , although I was able to assign flash0 (it returns 0 now)
    -=Double Post Merge =-
    Solved the problem , the file was read-only :)
    Geändert von hallo007 (12-08-2008 um 12:23 PM Uhr) Grund: Automerged Doublepost

  25. #9295
    QJ Gamer Bronze
    Points: 5.381, Level: 47
    Level completed: 16%, Points required for next Level: 169
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Beiträge
    550
    Points
    5.381
    Level
    47
    Downloads
    1
    Uploads
    0

    Standard

    I just reinstalled toolchain and got oslib set up again and everything, but classes seem to be broke :\

    I'm stumped, does anyone have any ideas?

    makefile:
    Code:
    TARGET = Test
    OBJS = main.o
    YOURLIBS=
    
    INCDIR = 
    CFLAGS = -G4 -Wall -O2
    CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
    ASFLAGS = $(CFLAGS)
    
    LIBDIR =
    LDFLAGS =
    STDLIBS= -lstdc++ -losl -lpng -lz -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgu -lpspaudiolib -lpspaudio -lm
    LIBS=$(STDLIBS)$(YOURLIBS)
    
    EXTRA_TARGETS = EBOOT.PBP
    PSP_EBOOT_TITLE = Test
    
    PSPSDK=$(shell psp-config --pspsdk-path)
    
    include $(PSPSDK)/lib/build.mak
    main.cpp:
    Code:
    #include <oslib/oslib.h>
    
    #include "TestClass.h"
     
    PSP_MODULE_INFO("Module name", 0, 1, 1);
    PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU);
     
    int main(int argc, char* argv[])
    {
    	TestClass testclass;
    	return 0;
    }
    TestClass.h
    Code:
    #ifndef TESTCLASS_H
    #define TESTCLASS_H
    
    class TestClass {
    public:
    	TestClass();
    	~TestClass();
    };
    
    #endif
    TestClass.cpp
    Code:
    #include "TestClass.h"
    
    TestClass::TestClass() {
    }
    
    TestClass::~TestClass() {
    }

    error:
    Code:
    psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -G4 -Wall -O2 -I. -I/usr/local/pspdev/psp/sdk/include -G4 -Wall -O2 -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o main.o main.cpp
    psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -G4 -Wall -O2 -D_PSP_FW_VERSION=150  -L. -L/usr/local/pspdev/psp/sdk/lib   main.o -lstdc++ -losl -lpng -lz -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgu -lpspaudiolib -lpspaudio -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o Test.elf
    main.o: In function `main':
    main.cpp:(.text+0x8): undefined reference to `TestClass::TestClass()'
    main.cpp:(.text+0x10): undefined reference to `TestClass::~TestClass()'
    collect2: ld returned 1 exit status
    make: *** [Test.elf] Error 1

    Any help would be appreciated.

  26. #9296
    QJ Gamer Bronze
    Points: 6.359, Level: 52
    Level completed: 5%, Points required for next Level: 191
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Ort
    france
    Beiträge
    170
    Points
    6.359
    Level
    52
    Downloads
    0
    Uploads
    0

    Standard

    Nielke, you forgot TestClass.o in your makefile (OBJS)
    Try my latest game (iOS):


  27. #9297
    QJ Gamer Bronze
    Points: 5.381, Level: 47
    Level completed: 16%, Points required for next Level: 169
    Overall activity: 0%

    Registriert seit
    Jul 2006
    Beiträge
    550
    Points
    5.381
    Level
    47
    Downloads
    1
    Uploads
    0

    Standard

    Wow, I can't believe I missed something as silly as that.
    Thanks, I guess I've spent too much time out of C++ :-(

  28. #9298
    QJ Gamer Blue
    Points: 2.426, Level: 29
    Level completed: 84%, Points required for next Level: 24
    Overall activity: 0%
    Achievements:
    First 1000 Experience Points

    Registriert seit
    Aug 2008
    Beiträge
    26
    Points
    2.426
    Level
    29
    Downloads
    0
    Uploads
    0

    Standard

    Just wildcard everything, makes it much easier.

  29. #9299
    QJ Gamer Green
    Points: 3.567, Level: 37
    Level completed: 45%, Points required for next Level: 83
    Overall activity: 0%

    Registriert seit
    May 2008
    Ort
    The Netherlands
    Beiträge
    330
    Points
    3.567
    Level
    37
    Downloads
    0
    Uploads
    0

    Standard

    Hey guys can someone help me out? I want to learn C++, but I having a little problem with installing the psptoolchain. I'm did everything from the tutorial of psp-programming.com but when I want to install the psptoolchain it gives me some errors. I am from the Dutch so I don't understand that errors. Can someone help me out?

    Here's the error:


  30. #9300
    QJ Gamer Silver
    Points: 8.475, Level: 62
    Level completed: 9%, Points required for next Level: 275
    Overall activity: 0%

    Registriert seit
    Sep 2006
    Ort
    Perth, Scotland
    Beiträge
    1.094
    Points
    8.475
    Level
    62
    Downloads
    0
    Uploads
    0

    Standard

    You need to setup your enviroment variables before you start installing.


 

Tags for this Thread

Forumregeln

  • Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
  • Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
  • Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
  • Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.
  •  





Alle Zeitangaben in WEZ -8. Es ist jetzt 09:14 PM Uhr.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .