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

Issues on the Windows 10 paltform ... filename too long. #8442

Closed
woobagooba opened this issue Apr 15, 2019 · 5 comments
Closed

Issues on the Windows 10 paltform ... filename too long. #8442

woobagooba opened this issue Apr 15, 2019 · 5 comments
Labels

Comments

@woobagooba
Copy link

Greetings.

I am having no success to install an application which invokes Emscriptem to perform a compilation. We are getting a WIndowsError 206 file name too long error. Long filenames are enabled on the problem Win 10 machine.

Best we can determine, the only way around this is to use python 3.6 or later.

What say the Emscriptem experts?

image

@sbc100
Copy link
Collaborator

sbc100 commented Apr 15, 2019

Interesting, it looks like the executable in question is the clang binary you are using. Have you modified your LLVM path? Can you add EMCC_DEBUG=1 to your environment so we see more tracing here?

Another reason to switch to python3 only perhaps? #7198.

Regardless of if/when we make the switch is there any reason you can't use python to solve your immediate issue?

@woobagooba
Copy link
Author

Interesting, it looks like the executable in question is the clang binary you are using. Have you modified your LLVM path? Can you add EMCC_DEBUG=1 to your environment so we see more tracing here?

We strictly followed the Encriptem install instructions for Windows here ... https://emscripten.org/docs/getting_started/downloads.html

Another reason to switch to python3 only perhaps? #7198.

It seems so. I think Python 3.6 or later is required to fix this issue.

Regardless of if/when we make the switch is there any reason you can't use python to solve your immediate issue?

I am not sure what you are asking. We adhered to published Emscriptem installation instructions for Windows. As one component of the ARM Mbed OS simulator ... https://github.com/janjongboom/mbed-simulator

If you are suggesting we tackle introduction of Python 3, appreciated if you could provide some guidance.

@sbc100
Copy link
Collaborator

sbc100 commented Apr 15, 2019

Emscripten already supports (and is tested with) python3. However, emsdk for windows by default installs python2. Switching to python3 should be relatively simple but I don't have a windows machine handy to figure out exact instructions for you. It probably involves installing python3 by hand and injecting into the PATH before the one that emsdk installs.

I'm curious why you are having this issue and other windows users are not. Any ideas why which would not effect everyone?

@woobagooba
Copy link
Author

woobagooba commented Apr 15, 2019

Emscripten already supports (and is tested with) python3. However, emsdk for windows by default installs python2. Switching to python3 should be relatively simple but I don't have a windows machine handy to figure out exact instructions for you. It probably involves installing python3 by hand and injecting into the PATH before the one that emsdk installs.

I will try that. Maybe it is just a matter of installing Enscriptem as instructed, install Python 3, and changing the PATH setting emsdk_env.bat file.

I'm curious why you are having this issue and other windows users are not. Any ideas why which would not effect everyone?

Because I am in a hurry to get the dependent project working, and under a deadline! Of course there is a showstopper! ;)

Seriously, I suspect we are the first to try Mbed OS Simulator on a Windows 10 platform.

@stale
Copy link

stale bot commented Apr 15, 2020

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.

@stale stale bot added the wontfix label Apr 15, 2020
@stale stale bot closed this as completed Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants