Forum Replies Created
-
AuthorPosts
-
when i compile Ted it has the owner as ‘root’
ubuntu says i am not the owner
it opens when double clicked
but cant launch other commands like wget.
As soon as i start messing with the ownership or chmod Ted refuses to open anymore.
As in the executable does nothing when double clicked or if i try to start Ted in the terminal absolutely nothing happens.
I ran it with
sudo “./Monkey2 (Linux)”
it can do wget to download modules
but still cant move files so emscripten still doesnt work
where is the mx2 folder?
I had a look but couldnt see it
thanks both of you
got this error on linux:
./rebuildmx2cc.sh: 2: ./rebuildmx2cc.sh: source: not found
EDIT-
problem solved
its Ubuntu, you have to do chmod x+u *
to make all the .sh files executable
then
./rebuildall.sh
when compiling on linux i got:
./rebuildted2.sh
***** Rebuilding ted2 *****
Mx2cc version 1.1.12
***** Making app ‘/home/slenkar/Downloads/monkey2/src/ted2/ted2.monkey2’ (linux release x64 gcc) *****
Parsing…
Semanting…
/home/slenkar/Downloads/monkey2/src/ted2/scenedocument.monkey2 [47] : Error : Can’t find overload for ‘Render’ with argument types (mojo.graphics.Canvas,mojo3d.Camera)
/home/slenkar/Downloads/monkey2/src/ted2/ted2.monkey2 [101] : Error : Can’t find overload for ‘new’ with argument types (std.collections.Map<monkey.types.String,monkey.types.String>)fire fox and chrome, mserver seems to crash when i type in the correct address (into the browser)
also is the editor supposed to bring up the browser by itself, and insert the correct address ?
this used to happen with monkey but not with monkey2
MaxGUI seemed to be trying to create a unified interface for 3 different operating systems, even that was difficult .
So a monkey2 native gui app would basically need different code for each platform.
As you cant make a html5,iOS,android and windows button all appear in the same position at the same size without working on the module for a year or more.
The responsibility for the different platforms should fall to the monkey user.
The community would probably compile a list of tips n tricks to get simple things looking somewhat consistent across platforms.
Thanks, I have used Javascript promises, which seem to be the same as the
dothis().thenthis()
example you gave
Thanks.
, it’s not very readable I wonder if it is written like when someone writes in a way that is difficult to read in C.But it’s unnecessary.
Functional as in Lisp etc.
It’s getting popular so I’ve always wondered how things are done that way.
-
AuthorPosts