Comments (6)
Looks like the same issue I ran into here: dirkwhoffmann/vAmiga#611 (comment)
When compiling against the vAmigaCore library you need to ensure that you have the same feature flags defined (in this case, you probably need to define SCREEN_RECORDER). It's easier to keep in sync if everything is compiled with CMake, since the flags are automatically propagated (if they're PUBLIC at least).
from vamigaweb.
I only took out the screenrecorder in the
Emulator/CMakeLists.txt
# Enable additional features on certain architectures
if(NOT WIN32)
# target_compile_definitions(vAmigaCore PUBLIC SCREEN_RECORDER)
target_compile_definitions(vAmigaCore PUBLIC GDB_SERVER)
endif()
which made it work ...
@mras0 thank you π that was really fast and precise !π
the next step will be to learn now how to integrate the mainsdl.cpp also with cmake. I have to look some tutorials first about cmake I bet...π
from vamigaweb.
you probably need to define SCREEN_RECORDER
Oh yes, that makes sense. I should merge in the Windows code for the screen recorder asap. Once this is done, we don't have to take care about different feature sets any more.
from vamigaweb.
It's easier to keep in sync if everything is compiled with CMake
I am completely new to cmake and had first some trouble to get it running with emscripten toolchain ... after hours of studying it I deleted all previously handmade makefiles π and now we have a result which I am very happy withπ ... ... nevertheless would you mind to have a look on it and do some code review ? Escpecially the base CMakeLists.txt
to build and run vAmigaWeb locally, the following command sequence is now necessary
mkdir build
emcmake cmake -S . -B build
cd build
make
make run
start a web browser and head to localhost:8080
from vamigaweb.
Looks good to me π
Optionally you may want to add DEPENDS vAmiga
to your custom targets (run/publish) to make sure you have the latest version and can always just run make run
.
I'd probably also create a .gitignore
file for build
, index.html
, vAmiga.js
and vAmiga.wasm
.
from vamigaweb.
@mras0 that's great now we can just call make run
and everything is being build automatically π
mkdir build
emcmake cmake -S . -B build
cd build
make run
start a web browser and head to localhost:8080
or without using make
mkdir build
emcmake cmake -S . -B build
cd build
cmake --build . --target run
start a web browser and head to localhost:8080
I also added the generated files to .gitignore as you said ....π
from vamigaweb.
Related Issues (20)
- directly boot from local storage via URL/JSON parameters HOT 4
- vamigaweb.github.io no longer boots certain ROMs after 3-4 update HOT 2
- BT Mouse - RMB (Secondary Button) Not Work iPadOS [FIXED: Update iPadOS to 16.5] HOT 5
- Incorrect Filename Save DF0 or DH0 If Both Mounted HOT 2
- LMB / Fire Btn Stuck On When Switch Between Apps
- 'Error: undefined' if a second HDF is mounted HOT 16
- Dark Bottom Bar not activated on launch... HOT 2
- Cannot load vAmigaWeb in iFrame if on same domain (Chromium specific?) HOT 18
- When using a HDF with WB the filedates are wrong HOT 5
- Onscreen Keyboard Issue HOT 3
- iPad Keyboard Issue HOT 9
- iPad Keyboard Issue HOT 1
- next to the INTL virtual keyboard support also the US version HOT 6
- Insert media eg DF0 popup touch also registers as LMB in emu... HOT 5
- vAmigaWeb runs on Apple Vision Pro HOT 13
- Warp button in the bottom player icon bar HOT 1
- action button enhancements HOT 23
- Active mouse and joystick signals stay open when bringing the app to background HOT 2
- add vAmiga activity monitors HOT 5
- Random Cannot Save Snapshot / ADF / HDF HOT 3
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 vamigaweb.