Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need compile instructions #4

Closed
NicolasR opened this issue Nov 11, 2017 · 8 comments

Comments

Projects
None yet
2 participants
@NicolasR
Copy link
Contributor

commented Nov 11, 2017

Hello,

Could you please give more information about how to compile sources ?
I tried for days to compile but unable to link with sdl.

@usineur

This comment has been minimized.

Copy link
Owner

commented Nov 11, 2017

Pretty sure you try to link with SDL2, for this port, you need:

@NicolasR

This comment has been minimized.

Copy link
Contributor Author

commented Nov 11, 2017

And you are perfectly right.
Thanks for packages.

Now I have an error:

/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/7.2.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): In function `vita2d_common_dialog_update':
(.text+0xeba): undefined reference to `sceCommonDialogUpdate'
collect2: error: ld returned 1 exit status
CMakeFiles/Zelda3T.dir/build.make:666 : la recette pour la cible « Zelda3T » a échouée
make[2]: *** [Zelda3T] Erreur 1
CMakeFiles/Makefile2:67 : la recette pour la cible « CMakeFiles/Zelda3T.dir/all » a échouée
make[1]: *** [CMakeFiles/Zelda3T.dir/all] Erreur 2
Makefile:83 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
@usineur

This comment has been minimized.

Copy link
Owner

commented Nov 11, 2017

add SceCommonDialog_stub into target_link_libraries of CMakeLists.txt

@NicolasR

This comment has been minimized.

Copy link
Contributor Author

commented Nov 11, 2017

Ok it works now.
Thanks for your work and your help !

@usineur

This comment has been minimized.

Copy link
Owner

commented Nov 11, 2017

No problem. Feel free to close this issue.

@NicolasR NicolasR closed this Nov 11, 2017

@NicolasR

This comment has been minimized.

Copy link
Contributor Author

commented May 4, 2018

Hello,

I got new problems with last release.
I compiled VitaGL, SDL_VitaGL, imgui-vita but go some errors when compiling Zelda3T:

error: 'SDL_Shader' does not name a type
error: 'SDL_SetVideoShader' was not declared in this scope
error: SDL_SHADER_NONE' was not declared in this scope
error: 'SDL_SHADER_SHARP_BILINEAR_SIMPLE' was not declared in this scope

...

Could not find at all where these elements are declared.

@NicolasR NicolasR reopened this May 4, 2018

@usineur

This comment has been minimized.

Copy link
Owner

commented May 4, 2018

Hi,

It seems that some headers are not updated in your vitasdk

Rinnegatamante/SDL-Vita@9a44958

Make sure you to do 'make -f Makefile.vita install'. Copying the libSDL.a only is not enough

@NicolasR

This comment has been minimized.

Copy link
Contributor Author

commented May 5, 2018

I forgot this one. I used your SDL-Vita fork only.
It's working now.

Thank you.

@NicolasR NicolasR closed this May 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.