Comments (3)
Yeah, it's been a long time since I built this repository, and something has changed since. Try perhaps changing the include to #include <SDL/SDL.h>
, that might work. The intent is that it should pick up the Emscripten-provided SDL "1.4" header (here https://github.com/kripken/emscripten/blob/master/system/include/SDL/SDL.h), as opposed to a precompiled SDL 2 or something installed to the system.
from emscripten-scummvm.
Thanks.
One step closer. Now I'm getting this (on both Mac and GNU/Linux, btw).
C++ base/main.o
In file included from base/main.cpp:39:
In file included from ./engines/engine.h:26:
./common/str.h:83:3: warning: anonymous types declared in an anonymous union are
an extension [-Wnested-anon-types]
struct {
^
base/main.cpp:364:2: error: use of undeclared identifier 'emscripten_async_call'
emscripten_async_call(emscriptenUpdate, 0, 1);
^
base/main.cpp:373:6: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/dott")) { args[1] = "-p/dott"; args[2] = "...
^
base/main.cpp:374:13: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/monkey")) { args[1] = "-p/monkey"; args[2...
^
base/main.cpp:375:13: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/samnmax")) { args[1] = "-p/samnmax"; args[...
^
base/main.cpp:376:13: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/atlantis")) { args[1] = "-p/atlantis"; arg...
^
base/main.cpp:377:13: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/indy3")) { args[1] = "-p/indy3"; args[2] ...
^
base/main.cpp:378:13: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/comi")) { args[1] = "-p/comi"; args[2] = "comi"; }
^
base/main.cpp:379:6: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/loom")) { args[1] = "-p/loom"; args[2] = "loom"; }
^
base/main.cpp:380:6: error: use of undeclared identifier 'directoryExists'
if (directoryExists("/maniac")) { args[1] = "-p/maniac"; args[2...
^
1 warning and 9 errors generated.
make: *** [base/main.o] Error 1
When I manually call em++, I'm told that I'm missing components such as the correct LLVM version required by emscripten, so I assume I'm simply missing parts of the toolchain.
Setting it all up as per the following instructions now.
http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html
EDIT: Now I'm really confused.
Isn't the SDK supposed to install the emscripten specific version of LLVM?
Literally the first message I get when launching the installer is that it can't find the emscripten specific version of LLVM.
from emscripten-scummvm.
I got the same problems. I changed the SDL.h include manually which brought me to the "undeclard identifier error. Any recommendations how to proceed?
from emscripten-scummvm.
Related Issues (20)
- Mouse cursor does not work in Internet Explorer.
- Disable smoothing HOT 4
- Add support for ScummVM image scalers.
- Add support to Beneath a Steel Sky. HOT 2
- Add support to Curse of Monkey Island. HOT 2
- Looking at the Lost Dialog of Plato in Indy 4 halts the game HOT 1
- Constant regeneration of the NoScript menu preventing the user from whitelisting audio HOT 1
- Maniac Mansion fails to run. HOT 4
- High memory consumption compared to native. HOT 2
- Voice lags behind animation in Sam&Max in Firefox. HOT 1
- Write build instructions. HOT 2
- No audio in Internet Explorer 10 (or older). HOT 1
- Audio stutters if browser window is minimized.
- "emmake make" fails HOT 7
- Looking for sdl-config... none found! HOT 3
- fatal error: SDL.h: No such file or directory HOT 2
- Any chance of making wintermute plugin/engine working as well? HOT 2
- Compiled but scummvm: Stray argument '' when running scummvm.html HOT 6
- Building with Windows . . . Stuck at Step 4 HOT 6
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 emscripten-scummvm.