#jsmess 2017-07-04,Tue

↑back Search

Time Nickname Message
00:00 🔗 JohnTalen SDL.h is 'usuable' according to the script, but not 'present'. strange, all the other SDL options pass. but you have to remember this is all native until the make process starts.
00:00 🔗 JohnTalen usable rather
00:04 🔗 bai oh, yeah for sdl you want to use emscripten's, definitely
00:04 🔗 bai https://github.com/kripken/emscripten/tree/master/system/include/SDL
00:05 🔗 JohnTalen ah look at that.
00:05 🔗 JohnTalen i can use -s USE_SDL=1 right?
00:06 🔗 JohnTalen is USE_SDL just a macro like CC?
00:06 🔗 JohnTalen because I have export=USE_SDL=1 but it doesn't change anything.
00:08 🔗 JohnTalen it says: You will need to modify the build system to look for files in emscripten/system or emscripten/system/bin in order to use the Emscripten sdl-config.
00:21 🔗 JohnTalen okay so there is a system/bin/sdl-config to replace the native one. break.
00:27 🔗 bai sorry, yeah I think you want -s USE_SDL=1 to be included as both CFLAGS and LDFLAGS
00:28 🔗 JohnTalen ah ok!
00:28 🔗 bai that'll tell emcc to set up the paths automatically, I believe
00:31 🔗 JohnTalen hm, configure is breaking on the -s
00:53 🔗 JohnTalen well, it is infact pointing to emscripten's include. but there is no SDL_keysym.h. it is safe to symlink them over?
00:54 🔗 JohnTalen this is all new to me. but I am learning.
00:55 🔗 JohnTalen got past that one. i should carry this into a script.
00:55 🔗 bai I want to say that SDL_keysym.h is from SDL2 and SDL1.x just defined the SDL_keysym struct in SDL_keyboard.h
00:55 🔗 bai ok
00:55 🔗 JohnTalen argh.
00:56 🔗 JohnTalen what to do what to do. keysym gives errors so that was not a good idea.
00:56 🔗 JohnTalen redefinitions.
00:56 🔗 JohnTalen indeed.
00:58 🔗 JohnTalen okay, so vice_sdl.h is looking for SDL/SDL_keysym.h. i had thought this was a 1.2 sdl project.
01:00 🔗 JohnTalen i mean I could whip up an sdl 2.0. but I have to know.
01:02 🔗 JohnTalen aparently SDL_keysym is in SDL-1.2.15.
01:04 🔗 JohnTalen hm nativethe one installed and the desired version are no different. why on Earth isn't there one in emscripten?
01:18 🔗 DFJustin aiui SDL 1.3 is the development branch that became 2.0, so 1.2 and 1.3 are not compatible
01:20 🔗 bai oh I see
01:23 🔗 JohnTalen wow, got much frather.
01:23 🔗 JohnTalen farther
01:24 🔗 JohnTalen used this: https://pastebin.com/4uFmF0wi
01:24 🔗 JohnTalen DFJustin: thanks
01:27 🔗 JohnTalen hm, a memcpy without a <string.h> that is easy enough.
01:28 🔗 JohnTalen much much farther.
01:28 🔗 JohnTalen woohoo!
01:36 🔗 JohnTalen success.
01:36 🔗 bai got it to build?
01:36 🔗 JohnTalen not to go through the last sequence in accordance with vice.js
01:37 🔗 JohnTalen yes. to LLVM bitcode. including a non runnable executable. :)
01:37 🔗 JohnTalen thats *okay* though.
01:37 🔗 bai hey, it's something :D
01:40 🔗 JohnTalen Thank you for the support bai!
01:40 🔗 JohnTalen time to rsync!
01:46 🔗 bai glad I could help, cool to see that project coming together
01:47 🔗 JohnTalen yes. I"m thinking if it's easy enough to release a 1.2 version just to see if people want it but I definitely want to convert vice 3.1 over the sdl 2.0.
02:23 🔗 SketchCow I'm back
02:24 🔗 SketchCow And in CA this weekend!
02:24 🔗 bai gah, I'm gonna be out of town this weekend, going camping with the wife up in Leggett
02:45 🔗 JohnTalen SketchCow: try Old Town in San Diego if you get a chance. The food there is amazing.
02:45 🔗 JohnTalen ANd the gas lamp district is nice too. But Cali is one big place...so.
02:59 🔗 JohnTalen hm, symbol multiply defined again. i had thought this would go away.
03:00 🔗 JohnTalen here is my link process:
03:00 🔗 JohnTalen https://pastebin.com/DxBNZMEA
03:04 🔗 JohnTalen hm, some old cache. but a new multiply defined symbol. let's see.
03:06 🔗 JohnTalen hm, this looks like an actual instance. GREAT!
03:13 🔗 JohnTalen okay, progress. now is the funny one. 'main'.
03:17 🔗 JohnTalen i think i'm just going to read for the remainder of the day. Linux Kernels is a great book. At least I have a clear path to follow however short or long it may be!
03:46 🔗 JohnTalen adieu.
03:46 🔗 JohnTalen has quit IRC (Quit: leaving)

irclogger-viewer