Comments (7)
Hello
I need more info about your build environment to reproduce this issue:
- System version and processor architecture (x86/x64, other?)
- Compilator type and version (gcc/clang)
- What build commands are you using (
make config=release_x64 avocado
, something different).
from avocado.
-
System version and processor architecture (x86/x64, other?)
Alpine linux x86_64 -
Compilator type and version (gcc/clang)
gcc
Well apparently I already found the bug was that it detected the x86 architecture and I have x86_64
and apparently passing this command
- make config=release_x64 avocado
the architecture changes to x86_64
but it gives me another mistake
And here's the mistake.
==== Building core (release_x64) ====
voice.cpp
../../../src/device/spu/voice.cpp: In member function 'void spu::Voice::processEnvelope()':
../../../src/device/spu/voice.cpp:64:69: error: 'ceil' is not a member of 'std'
step = static_cast(static_cast(step) * std::ceil(static_cast(adsrVolume._reg) / static_cast(0x8000)));
^~~~
../../../src/device/spu/voice.cpp:64:69: note: suggested alternative: 'cend'
step = static_cast(static_cast(step) * std::ceil(static_cast(adsrVolume._reg) / static_cast(0x8000)));
^~~~
cend
make[1]: *** [Makefile:360: obj/x64/release/voice.o] Error 1
make: *** [Makefile:107: core] Error 2
make: *** Waiting for unfinished jobs....
from avocado.
Please try building latest commit e106b75, there were few issues in code that prevented it from building on certain compilers.
In case of merge conflicts, reset branch to origin (I was rebasing the code):
git fetch
git reset --hard origin/develop
from avocado.
apparently I cloned the code again and compile with these instructions
- premake5 gmake
- make config=release_x64 avocado
and I compile without errors but at the time of running the emulator says to me
Illegal instruction
from avocado.
It seems like you have older cpu which doesn't support AVX. You have to either build 32 bit version or remove this line from premake5.lua and rebuild the whole project (as 64 bit version)
vectorextensions "AVX"
from avocado.
Thank you very much but now that I did it gives me another error here the error
[GL] Cannot load render shader: File doesn't exists.
Cannot setup graphics
from avocado.
Oops, I forgot to fix that. It will be fixed in future commits.
Simply comment line
chdir(workingDirectory.c_str());
in src/platform/windows/main.cpp
from avocado.
Related Issues (20)
- Error trying to open application HOT 2
- Play With The Teletubbies [SLUS-00959] PS1 Bios hangs the game + other issues
- Medievil II (USA)
- Silver Jiken (Japan)
- Catch2 needed update mainline for fix broken linux build
- Audio cracks / timing issues [pdx-s3uf]
- Hardware rendering mode displays black screen [pdx-s3uf]
- Support Model Export HOT 23
- Avocado crashes after connecting (cheap) USB Controller
- Gran Turismo 2 Arcade Disc V1.1
- Star Wars Episode 1: The Phantom Menace (US and EU)
- Tenchu 1/2
- Tales of Destiny II Disc 1 (U) [SLUS-01355]
- Legacy of Kain Soul Reaver (U) [SLUS-00708]
- Cannot install Android version HOT 11
- Loading PS-X EXE causes unresolved exception [LFC-002] HOT 2
- Shaded lines rendered with wrong color [PDX-014] HOT 1
- cmdVramToCpu: Suspicious [PDX-030]
- Screen shrinked to half its width [PDX-067]
- Emulation significantly faster than real hardware [FZN-ESS]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avocado.