[01:52] *** Swizzle has joined #jsmess [02:41] *** Knarfian has joined #jsmess [02:41] Hello [02:43] Tried to build the latest mame+emscripten, having trouble with pthread... [02:43] aside from the glXXX unresolved symbols, there are 2 for pthread_condattr_init and _setclock [02:44] and it crashes at launch looking for pthread_condattr_init [02:44] I built it on Windows, is that the issue I wonder? [02:45] never tried a windows build, actually [02:45] but normally we build with pthread support disabled [02:47] I've never tried mame+emscripten, this is my first go at it. Is it disabled in emscripten or in MAME? [02:52] I'll just try the same thing in a linux vm...if that's the preferred way of doing it [02:55] 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] thanks - i guessed as much. I'm amazed I got as far as I did :) [03:03] 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] like dfjustin said, it's probably just a few checks in the build scripts [03:08] 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] Some component was doing an #include and it hit this file in emscripten: [03:09] *** Swizzle has quit IRC (Quit: Leaving) [03:09] #warning redirecting incorrect #include to #include [03:10] I can document that one, and see what was causing it [03:10] I commented out to warning for the moment and the build finished [03:11] Actually - just hit that same issue on Linux! [03:11] 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 to [-Werror,-W#warnings] #warning redirecting incorrect #include to ^ 1 error generated. ERROR:root:compiler frontend failed to generate LLVM bitcode, halting [03:12] yeah I've been getting that and been too lazy to fix it [03:12] since it would have to go upstream to asio [03:12] if you add NOWERROR=1 REGENIE=1 to the make command it should go past it [03:13] Ah - didn't know about NOWERROR... [03:15] Thanks...that did the trick [04:00] Well, thanks guys. It runs now, although the screensize is weird and it sounds like a car idling, but ok [04:01] 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] cool [04:07] 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] I still like Jason Scott's quote, "Every boot a miracle." That's exactly how I feel :) [04:09] bye for now [04:10] *** Knarfian has quit IRC (Quit: ) [04:11] nice [04:11] I bet those sound issues are gone in the webassembly build [04:14] actually once you get into the games it sounds fine [14:30] *** Knarfian has joined #jsmess [18:58] *** azakai has joined #jsmess [19:57] hi knarfian [19:58] you're not in #freenode #mame-dev ? [19:58] er [19:58] freenode #mame-dev [19:58] not right now [19:59] at work anyhow [19:59] was building mame with emscripten last night and needed a bit of help here [20:18] *** Ravenloft has joined #jsmess