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

Compile issue #16

Closed
wolfarine opened this issue Feb 24, 2017 · 2 comments
Closed

Compile issue #16

wolfarine opened this issue Feb 24, 2017 · 2 comments

Comments

@wolfarine
Copy link

Hello, i'm a vita dev newbie . I find that the ds4vita is a very cool plugin.
A ds4 can connect to a vita automaticly and take over the physical joysticks and butttons Magicly.
So i tried to lookup into the code to learn the taihen func hook...
And it is the first time for me to run CMAKE to gen the makefile.
But the CMAKE told me:
CMake Error at CMakeLists.txt:19 (if): if given arguments: "(" "EQUAL" "1" ")" Unknown arguments specified
I have no idea how to modify the allowing code inside the cmakelists.txt
'if (${RELEASE} EQUAL 1)
add_definitions(-DRELEASE)
endif()'
So i just delette the if(...) and endif(). Now i got the makefile to make the .skprx
But there is still some problem when making the project:
'...missing -lSceThreadmgrForKernel_stub...'
After looking into the lib dir, i didn't find the relevant .a lib file.
So i just delette -lSceThreadmgrForKernel_stub inside the cmaklists.txt then regen the makefile.
Eventually, i got the compiling passed. And get the .skprx file which is running ok on my taihen vita.
But i still don't know the right way to solve these problem.

@parkerlreed
Copy link

...

cmake -DRELEASE=1 ..

@xerpi
Copy link
Owner

xerpi commented Apr 1, 2017

Fixed with 529635e.

@xerpi xerpi closed this as completed Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants