a couple of challenges

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

a couple of challenges

Robert Withers
 
Good day,

On windows 7, I checked out the spur image and tried to run the
simulator and the generator. For the simulator, I did a
buildspurtrunkreaderimage.sh and got the spurreader.image and then
running the simulator it generated an error in, as cogit was nil.

CogStackPageSurrogate32>>lastAddress
     | v |
     ^(v := memory unsignedLongAt: address + 25) ~= 0 ifTrue:
         [cogit cCoerceSimple: v to: #'char *']

I then ran the generator and it blew up in
DosFileDirectory>>createDirectory:, where the receiver was '' and the
argument was: '\\C%3A' with a primitiveFailed.

Just to let you know. Thanks, Cog's beautiful.

--

robert



smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: a couple of challenges

Nicolai Hess
 


2015-10-11 16:08 GMT+02:00 robert <[hidden email]>:
 
Good day,

On windows 7, I checked out the spur image and tried to run the simulator and the generator. For the simulator, I did a buildspurtrunkreaderimage.sh and got the spurreader.image and then running the simulator it generated an error in, as cogit was nil.

CogStackPageSurrogate32>>lastAddress
    | v |
    ^(v := memory unsignedLongAt: address + 25) ~= 0 ifTrue:
        [cogit cCoerceSimple: v to: #'char *']

I then ran the generator and it blew up in DosFileDirectory>>createDirectory:, where the receiver was '' and the argument was: '\\C%3A' with a primitiveFailed.

Just to let you know. Thanks, Cog's beautiful.

--

robert




Reply | Threaded
Open this post in threaded view
|

Re: a couple of challenges

Nicolai Hess
In reply to this post by Robert Withers
 
Anyone got this working ? I get the same error on path \\U%3a... (on windows, but with msys and no cygwin)
I got this working by replacing
pathFromURI:
with
fullPathFor:



2015-10-11 16:08 GMT+02:00 robert <[hidden email]>:
 
Good day,

On windows 7, I checked out the spur image and tried to run the simulator and the generator. For the simulator, I did a buildspurtrunkreaderimage.sh and got the spurreader.image and then running the simulator it generated an error in, as cogit was nil.

CogStackPageSurrogate32>>lastAddress
    | v |
    ^(v := memory unsignedLongAt: address + 25) ~= 0 ifTrue:
        [cogit cCoerceSimple: v to: #'char *']

I then ran the generator and it blew up in DosFileDirectory>>createDirectory:, where the receiver was '' and the argument was: '\\C%3A' with a primitiveFailed.

Just to let you know. Thanks, Cog's beautiful.

--

robert




Reply | Threaded
Open this post in threaded view
|

Re: a couple of challenges

timrowledge
In reply to this post by Nicolai Hess

>
> CogStackPageSurrogate32>>lastAddress
>     | v |
>     ^(v := memory unsignedLongAt: address + 25) ~= 0 ifTrue:
>         [cogit cCoerceSimple: v to: #'char *’]

This appears to be fixed in VMMaker.oscog-eem.1493

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Base 8 is just like base 10, if you are missing two fingers.


Reply | Threaded
Open this post in threaded view
|

Re: a couple of challenges

Nicolai Hess
 


2015-10-19 21:58 GMT+02:00 tim Rowledge <[hidden email]>:

>
> CogStackPageSurrogate32>>lastAddress
>     | v |
>     ^(v := memory unsignedLongAt: address + 25) ~= 0 ifTrue:
>         [cogit cCoerceSimple: v to: #'char *’]

This appears to be fixed in VMMaker.oscog-eem.1493

Yes, that works, but I was talking about the second issue

"I then ran the generator and it blew up in DosFileDirectory>>createDirectory:, where the receiver was '' and the argument was: '\\C%3A' with a primitiveFailed."

 

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Base 8 is just like base 10, if you are missing two fingers.