ceramic-engine / ceramic

Cross-platform 2D framework written in Haxe that can export natively to desktop (windows, mac, linux), mobile (ios, android), web (js + webgl) and to unity projects
MIT License
254 stars 22 forks source link

pop_os install #135

Open nanjizal opened 6 months ago

nanjizal commented 6 months ago

I am unsure how to get ceramic cpp on linux ( pop_os ) running.

Link: Main
/usr/bin/ld: cannot find -lSDL2: No such file or directory
collect2: error: ld returned 1 exit status

Also noticed that haxelib.json are more fussy in Ceramic with source path needing to be 'src/' rather than 'src' being acceptable ( seems other toolkits don't mind either? ). Also have to rebuild assest when changing this, which is easy to miss. Have checked in my current project, I am not really sure if this is ideal way to get and set pixels. https://github.com/nanjizal/pi_xy/commit/e8c0e65f55354cba5aa602fcd65de607f3e94cf8 to run sample in newProject it requires

    libs:
        - justPath: git:https://github.com/nanjizal/justPath.git
        - iterMagic: git:https://github.com/nanjizal/iterMagic.git
        - pi_xy: git:https://github.com/nanjizal/pi_xy.git

the html result image

l0go commented 6 months ago

try apt install libsdl2-dev