Unknown file type when running make.py
I am currently on the latest version of emsdk (2.0.1) and after upgrading make.py to work correctly with python3, I encounter the following error after building all of the object files and attempting to link:
error: unknown file type: obj\h264bsd_transform.o
I had previously encountered this error when running emsdk 1.35.xx and hoped that upgrading would resolve the issue. Any insights here would be appreciated!
i dont think i experienced that with 1.35.x are you sure you have to use python3? did the error also occur with the original make.py?
2.0.0 onward requires python3 (it will fail with a message stating as much), but with the earlier emsdk version and an unmodified make.py, I had encountered the same error. Perhaps it's an environment issue?
There are some warnings thrown when building the objects, but I haven't yet looked into the flags suggested by the warnings. The warnings are thrown for each object, and are as follows:
emcc h264bsd_transform.c -> h264bsd_transform.o
emcc:WARNING: --llvm-lto ignored when using llvm backend
emcc: warning: assuming object file output, based on output filename alone. Add an explict -c, -ror-shared to avoid this warning [-Wemcc]
i will have to give it a try myself. will let you know how it goes