GithubHelp home page GithubHelp logo

Comments (10)

mrcmunir avatar mrcmunir commented on May 11, 2024 2

It's a bug in archlinux unicorn version package..

I solved this compile manually from https://github.com/unicorn-engine/unicorn
create folder i.e src/external/unicorn/linux/

make UNICORN_QEMU_FLAGS="--python=/usr/bin/python2"

Edit src/external/CMakelist.txt

target_include_directories(unicorn INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/unicorn/linux/include")
target_link_libraries(unicorn INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/unicorn/linux/libunicorn.a")

Now linker fine for me tested with gcc7 and clang 5.0

from vita3k.

aimileus avatar aimileus commented on May 11, 2024 2

While this workaround works, it's not an Arch Linux bug. If I manually add the linker flags to CXXFLAGS in cmake, Vita3K builds fine.

cmake -E env CXXFLAGS="-lglib-2.0 -lpthread -lm -lunicorn" cmake ../src, worked. I didn't test with only -lunicorn, maybe that's enough.

from vita3k.

Rinnegatamante avatar Rinnegatamante commented on May 11, 2024 2

@parkerlreed The software rendered version too doesn't work due to Sce dirent not being implemented still (at least for me).
If you want to try it, it's available on my website (not VitaDB). Pick v.2.1 or lower.

from vita3k.

mrcmunir avatar mrcmunir commented on May 11, 2024 1

The ux0 folder are created for me $HOME/.local/share/Vita3K/Vita3K/ux0/data

from vita3k.

parkerlreed avatar parkerlreed commented on May 11, 2024

CMakeError.log
CMakeOutput.log

from vita3k.

TingPing avatar TingPing commented on May 11, 2024

UNICORN_LIBRARIES is certainly defined as unicorn so it should work, I'm not very familiar with cmake personally though.

from vita3k.

parkerlreed avatar parkerlreed commented on May 11, 2024

Sweet, that worked. I had to copy build-linux/emulator/Vita3K to src/emulator (for the shaders folder).

screenshot from 2018-01-29 10-12-52

(VitaQuake bailed but I assume it's just because I'm trying to use the VitaGL version)

from vita3k.

parkerlreed avatar parkerlreed commented on May 11, 2024

@Rinnegatamante Any special place for the data folder? vitaQuake (2.1) and data in the same folder gives me

[parker@e55 emulator]$ ./Vita3K ~/vitaQuake.vpk 
Vita3K (git 92a3667c699e8ed5179d5a1e12fd77b47f34b757)
>>> sceKernelCreateLwMutex <<< Unimplemented import called.
>>> sceKernelCreateMutex <<< Unimplemented import called.
>>> sceKernelUnlockLwMutex <<< Unimplemented import called.
>>> sceCtrlSetSamplingMode <<< Unimplemented import called.
>>> sceTouchSetSamplingState <<< Unimplemented import called.
>>> sceAppUtilInit <<< Unimplemented import called.
>>> sceCommonDialogSetConfigParam <<< Unimplemented import called.
>>> sceKernelLockMutex <<< Unimplemented import called.
>>> sceKernelUnlockMutex <<< Unimplemented import called.
>>> sceKernelLockLwMutex <<< Unimplemented import called.
GL_VERSION = 3.0 Mesa 17.4.0-devel (git-4d61eb8018)
GL_SHADING_LANGUAGE_VERSION = 1.30
>>> sceIoDopen <<< Unimplemented import called.
>>> sceIoDread <<< Unimplemented import called.
>>> sceIoDclose <<< Unimplemented import called.
Segmentation fault (core dumped)

from vita3k.

Rinnegatamante avatar Rinnegatamante commented on May 11, 2024

The emulator should create a ux0 folder however i've not clearly understood where this is created.

from vita3k.

petmac avatar petmac commented on May 11, 2024

It's created wherever SDL says app preferences go. Maybe there's a better place but SDL doesn't supply it, AFAIK. Thanks all for your work on Linux support.

from vita3k.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.