Time |
Nickname |
Message |
01:52
🔗
|
|
Swizzle has joined #jsmess |
02:41
🔗
|
|
Knarfian has joined #jsmess |
02:41
🔗
|
Knarfian |
Hello |
02:43
🔗
|
Knarfian |
Tried to build the latest mame+emscripten, having trouble with pthread... |
02:43
🔗
|
Knarfian |
aside from the glXXX unresolved symbols, there are 2 for pthread_condattr_init and _setclock |
02:44
🔗
|
Knarfian |
and it crashes at launch looking for pthread_condattr_init |
02:44
🔗
|
Knarfian |
I built it on Windows, is that the issue I wonder? |
02:45
🔗
|
bai |
never tried a windows build, actually |
02:45
🔗
|
bai |
but normally we build with pthread support disabled |
02:47
🔗
|
Knarfian |
I've never tried mame+emscripten, this is my first go at it. Is it disabled in emscripten or in MAME? |
02:52
🔗
|
Knarfian |
I'll just try the same thing in a linux vm...if that's the preferred way of doing it |
02:55
🔗
|
DFJustin |
emscripten itself provides a linuxy environment, the makefiles/lua probably lack logic to set up the osd values appropriately for that when building under windows |
03:01
🔗
|
Knarfian |
thanks - i guessed as much. I'm amazed I got as far as I did :) |
03:03
🔗
|
bai |
yeah, would be interesting if you're willing to do the work on the makefiles to see if we can actually get it compiling in windows too |
03:03
🔗
|
bai |
like dfjustin said, it's probably just a few checks in the build scripts |
03:08
🔗
|
Knarfian |
I'm building in Lubuntu now. Once I get it working I'll see if I can spot the difference. I did have one other issue, emscripten had a warning in a header that stopped the build because of mame's -Werror |
03:09
🔗
|
Knarfian |
Some component was doing an #include <sys/poll.h> and it hit this file in emscripten: |
03:09
🔗
|
|
Swizzle has quit IRC (Quit: Leaving) |
03:09
🔗
|
Knarfian |
#warning redirecting incorrect #include <sys/poll.h> to <poll.h> #include <poll.h> |
03:10
🔗
|
Knarfian |
I can document that one, and see what was causing it |
03:10
🔗
|
Knarfian |
I commented out to warning for the moment and the build finished |
03:11
🔗
|
Knarfian |
Actually - just hit that same issue on Linux! |
03:11
🔗
|
Knarfian |
In file included from ../../../../../3rdparty/asio/include/asio/detail/socket_types.hpp:61: /home/palazzol/outside/emsdk_portable/emscripten/master/system/include/libc/sys/poll.h:1:2: error: redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> ^ 1 error generated. ERROR:root:compiler frontend failed to generate LLVM bitcode, halting |
03:12
🔗
|
DFJustin |
yeah I've been getting that and been too lazy to fix it |
03:12
🔗
|
DFJustin |
since it would have to go upstream to asio |
03:12
🔗
|
DFJustin |
if you add NOWERROR=1 REGENIE=1 to the make command it should go past it |
03:13
🔗
|
Knarfian |
Ah - didn't know about NOWERROR... |
03:15
🔗
|
Knarfian |
Thanks...that did the trick |
04:00
🔗
|
Knarfian |
Well, thanks guys. It runs now, although the screensize is weird and it sounds like a car idling, but ok |
04:01
🔗
|
Knarfian |
I'll look into the windows build dependancy when I can, I think that is the only issue with emscripten builds on Windows |
04:04
🔗
|
bai |
cool |
04:07
🔗
|
Knarfian |
Now I can show off my intermediate builds without worry about being done defining tape formats. No tape drive support yet but coming soon: http://cups.avoidspikes.com/emularity-master/example_intvkbd.html |
04:09
🔗
|
Knarfian |
I still like Jason Scott's quote, "Every boot a miracle." That's exactly how I feel :) |
04:09
🔗
|
Knarfian |
bye for now |
04:10
🔗
|
|
Knarfian has quit IRC (Quit: <sleep>) |
04:11
🔗
|
bai |
nice |
04:11
🔗
|
bai |
I bet those sound issues are gone in the webassembly build |
04:14
🔗
|
bai |
actually once you get into the games it sounds fine |
14:30
🔗
|
|
Knarfian has joined #jsmess |
18:58
🔗
|
|
azakai has joined #jsmess |
19:57
🔗
|
Lord_Nigh |
hi knarfian |
19:58
🔗
|
Lord_Nigh |
you're not in #freenode #mame-dev ? |
19:58
🔗
|
Lord_Nigh |
er |
19:58
🔗
|
Lord_Nigh |
freenode #mame-dev |
19:58
🔗
|
Knarfian |
not right now |
19:59
🔗
|
Knarfian |
at work anyhow |
19:59
🔗
|
Knarfian |
was building mame with emscripten last night and needed a bit of help here |
20:18
🔗
|
|
Ravenloft has joined #jsmess |