Hello My goal is to build the OpenCascade webGL sample on Windows. Its description suggests installing and using emscripten to build the webAssembly. I've installed the latest version following the instructions, and I could build and run the provided mini examples just fine.
I am having trouble using emcmake to build FreeType and OpenCascade statically on Windows. The main issue is that emcmake insists on finding a file called freetypeConfig.cmake or freetype-config.cmake But these files don't exist. And if I can resolve this, I may run into the same issue with OpenCascade which likewise doesn't provide any *config.cmake files. cmake itself doesn't have this problem when I set freetype_DIR (as suggested on the OpenCascade Forums), but apparently emcmake ignores this. I have already posted this at Opencascade forums, but there are already various threads on this topic, and none of the suggestions seem to have any effect when using emcmake. I should mention that Opencascade refers to an old version of FreeType (2.5.5), but neither this nor the most current version (2.11.1) can be built using emcmake! I have installed the latest version of emscripten, running Windows 10. I would provide more info but I have tried so many different things and changed so many parameters that I've lost track, and indeed may need to set up everything from scratch again to make sure I haven't introduced side effects. (Besides, I will eventually need to install from scratch again on the other devs' machines) Therefore my first question to ask is: what version of emscripten should I use for Windows (and how can I query the currently installed version?), and is there anything I specifically need to do beyond the descriptions provided on the website with regard to Windows? Second question: I've already spotted various threads dealing with building freetype. But as far as I can tell, most if not all were related to building on Linux. Is there anything specific I need to watch out for when building FreeType on Windows? Lastly: can I force emcmake not to search for the *config.cmake files? Alternately, is there any recommended way how to create them on Windows? In short: How can I build FreeType with emcmake on Windows when there's no *config.cmake file? Thanks for reading this far, Stefan -- 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/f3f5c7a4-5e83-4134-8d39-e518872cabe5n%40googlegroups.com.
