Thanks for all the help! Was wondering how I can compile a sub library that is using lz4. -s LZ4=1 doesn't seem to be enough
On Friday, November 8, 2019 at 8:31:54 PM UTC-5, Sam Clegg wrote: > > You will also want to remove all the references to `/usr/local/Cellar` > since (unless I'm misunderstanding) that are headers and libraries > from the homebrew project and won't be compatible with emscripten. > You will needs to build each of your dependencies from source unless > there is an existing emscripten port (e.g. -s USE_SDL2 for SDL2). > > On Thu, Nov 7, 2019 at 7:31 AM Floh <[email protected] <javascript:>> > wrote: > > > > The concept of MacOS "frameworks" doesn't exist outside of the Mac > platform. > > > > I *think* in your case you can just remove all -framework command line > options when compiling for emscripten. I think those > > are dependencies required by the macOS port of SDL2, and when compiling > on emscripten it should be sufficient to just link with SDL2. > > > > On Tuesday, 5 November 2019 02:04:53 UTC+1, Daniel Luu wrote: > >> > >> Trying to port an application on mac and not sure how to correctly > support -framework with CMAKE_CXX_FLAGS > >> > >> SET(CMAKE_CXX_FLAGS "-O3 -flto=full -ffast-math -DNDEBUG -std=c++17 > -fcolor-diagnostics -nostdinc++ > -I/usr/local/Cellar/llvm/9.0.0/include/c++/v1 > -L/usr/local/Cellar/llvm/9.0.0/lib -L/usr/local/Cellar/freeglut/3.0.0/lib > -L/usr/local/Cellar/sdl2/2.0.10/lib > -L/usr/local/Cellar/sdl2_mixer/2.0.4/lib > -Wl,-rpath,/usr/local/Cellar/llvm/9.0.0/lib -pipe -DASIO_STANDALONE > -DGLEW_NO_GLU -DBOOST_BIMAP_DISABLE_SERIALIZATION -framework OpenGL > -framework Cocoa -framework IOKit -framework CoreVideo -lglut -lSDL2 > -lSDL2_mixer -ldl -pthread -Wall -Wextra -Wshadow -Wpointer-arith > -Wcast-align -Wstrict-prototypes -Werror-implicit-function-declaration > -Wformat=2 -Wnull-dereference -Wstrict-overflow=5 -Wno-unused-private-field > -Wno-unused-command-line-argument -Wno-narrowing") > >> > >> > >> > > -- > > You received this message because you are subscribed to the Google > Groups "emscripten-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/5ac9b5dc-92de-4be6-913e-abd818b81c49%40googlegroups.com. > > > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/6637ec29-bfbd-481c-83c3-cdd6925313bf%40googlegroups.com.
