Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown file type when running make.py #220

Open
rbrt opened this issue Aug 26, 2020 · 3 comments
Open

Unknown file type when running make.py #220

rbrt opened this issue Aug 26, 2020 · 3 comments

Comments

@rbrt
Copy link

rbrt commented Aug 26, 2020

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!

@soliton4
Copy link
Collaborator

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?

@rbrt
Copy link
Author

rbrt commented Aug 26, 2020

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]

@soliton4
Copy link
Collaborator

i will have to give it a try myself. will let you know how it goes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants