I am having a hard time to compile for Web using Ubuntu #2262
Replies: 7 comments 1 reply
-
@celebisait it seems it could be some problem with the paths. I think emsdk includes some script to properly configure the paths: |
Beta Was this translation helpful? Give feedback.
-
Yes, absolutely. I am already
And it looks like to me
I don't have much experience with
As a side note: I thought having a fresh Ubuntu installation on cloud and following the installation docs very closely and carefully will lead me to success here, however, sadly, this wasn't the case. |
Beta Was this translation helpful? Give feedback.
-
@jamesl-github where do I change
|
Beta Was this translation helpful? Give feedback.
-
you need the path to emcc to be in your PATH env var too (looks like you just have emsdk in there) |
Beta Was this translation helpful? Give feedback.
-
@chriscamacho thank you for the suggestion, I am trying to understand how I can actually address your comment. So running
When I check where it does come from:
It is coming from
What exactly are you suggestion to add? Thank you. |
Beta Was this translation helpful? Give feedback.
-
I was thinking you should try changing this to this the only change being |
Beta Was this translation helpful? Give feedback.
-
Seems like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been following this.
I have a fresh Ubuntu 20.04 LTS installation.
First I see we need emscripten. I have been following here to install.
(This is on an absolutely new Ubuntu installation on Google cloud)
I also add
source "/home/celebisait_gmail_com/emsdk/emsdk_env.sh"
to my~/.bashrc
.Everything seems well until here.
I jump here to verify if everything is installed properly.
Looks like
works on a basic
hello_world.c
program.Okay, we continue to raylib installation.
I add these to my
.profile
:Then I go to
raylib/src
and I do:I get
emcc
not found even though I obviously haveemcc
:Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions