PDA

Voir la version complète : [PSP][Aide] Installing oslib package on vista with MSC++. [résolu]


Netaro
24/11/2007, 19h08
Well, hello there!

so, i've bought a new pc, with vista as the os. So, in order to make everything working i do everything as listed on thtat page:
http://oslib.playeradvance.org/doku.php?id=day1
except that psp copier bat (even if, that's not the problem).
And so, i do it, and oslib appears as one of the existing project options. And that's where ewerything gets worse.
1st:
As seen on that wiki, you can add files, makefiles etc to the project. But, when i'm trying to do anything, that window always pops up:
http://s63.photobucket.com/albums/h134/Nejiro/?action=view&current=Beztytuu.png
So, i cannot do anything about it.
2st problem:
So, i try to make the default main.c file.
------ Build started: Project: Project2, Configuration: Debug Win32 ------
Performing Makefile project actions
psp-gcc -I. -IC:/pspdev/psp/sdk/include -G4 -Wall -O2 -c -o main.o main.c
main.c:2:25: error: oslib/oslib.h: No such file or directory
(...)
make: *** [main.o] Error 1
Nie można odnaleźć dysku.
Build log was saved at "file://c:\Users\Netaro\Documents\Visual Studio 2005\Projects\Project2\Project2\Debug\BuildLog.htm"
Project2 - 6 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
'
As it is visible, it just doesn't work, because oslib.h cannot be found, but it is installed using install_cygwin batch.

So, i just cannot do anything at all. Do you know what to repair here?

Netaro
24/11/2007, 21h34
Well, hello there!

so, i've bought a new pc, with vista as the os. So, in order to make everything working i do everything as listed on thtat page:
http://oslib.playeradvance.org/doku.php?id=day1
except that psp copier bat (even if, that's not the problem).
And so, i do it, and oslib appears as one of the existing project options. And that's where ewerything gets worse.
1st:
As seen on that wiki, you can add files, makefiles etc to the project. But, when i'm trying to do anything, that window always pops up:
http://s63.photobucket.com/albums/h134/Nejiro/?action=view&current=Beztytuu.png
So, i cannot do anything about it.
2st problem:
So, i try to make the default main.c file.
------ Build started: Project: Project2, Configuration: Debug Win32 ------
Performing Makefile project actions
psp-gcc -I. -IC:/pspdev/psp/sdk/include -G4 -Wall -O2 -c -o main.o main.c
main.c:2:25: error: oslib/oslib.h: No such file or directory
(...)
make: *** [main.o] Error 1
Nie można odnaleźć dysku.
Build log was saved at "file://c:\Users\Netaro\Documents\Visual Studio 2005\Projects\Project2\Project2\Debug\BuildLog.htm"
Project2 - 6 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
'
As it is visible, it just doesn't work, because oslib.h cannot be found, but it is installed using install_cygwin batch.

So, i just cannot do anything at all. Do you know what to repair here?

Edit:
I've changed the "check include directories" in my ide to check the cugwin's include folder :snif2: I've forget about that one.
Please, delete this topic.

Yodajr
24/11/2007, 22h18
Are you sure you have a "oslib" folder in : "C:\Cygwin\usr\local\pspdev\psp\sdk\include" and some .h files with the oslib.h one ?

Can you compile sdk samples ?
Launch cygwin.bat and go here : "\usr\local\pspdev\psp\sdk\samples\controller\basic" and type "make", you must have in return the eboot.pbp file.

[edit] auto-solve problem, nice ^^