sucle icon indicating copy to clipboard operation
sucle copied to clipboard

sucle:start crashes on Windows 10 64-bit

Open rpherman opened this issue 4 years ago • 7 comments

I installed sucle per the instructions on my Windows 10 x64 box, and everything works up until (sucle:start), when I get this message:

* (ql:quickload :sucle)
To load "sucle":
  Load 1 ASDF system:
    sucle
; Loading "sucle"
.............
(:SUCLE)
* (sucle:start)
#<SB-THREAD:THREAD "Anonymous thread" RUNNING {1006207803}>
*
debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "Anonymous thread" RUNNING {1006207803}>:
  An exception occurred in context #.(SB-SYS:INT-SAP #X03C0D0F0): #.(SB-SYS:INT-SAP #X03C0DD50). (Exception code: 1073807370)`

rpherman avatar Jul 25 '19 00:07 rpherman

Hello rpherman! Thank you for taking the time to be a part of the sucle development effort!

The exception code 1073807370 seems to be related to the loading of foreign libraries, and glfw3 is the only foreign library which is used. What IDE are you using? I'll try to copy your setup to see what is going wrong.

gregcman avatar Jul 25 '19 03:07 gregcman

Giorgio,

I'd love to be a part of this, if I can get it working, and I am competent enough to help.

I followed the installation instructions on the repository.

I simply did a fresh install of Roswell, with the default SBCL install, and the subsequent install of sucle per the installation instructions.

This happens at the Windows Command Prompt with the SBCL REPL running after issuing the 'ros run' command.

I can use any IDE, but I did install Lem via Roswell, but when I execute Lem it says it is incompatible with the 64 bit Windows 10 I am running.

I do have a Linux box at home, so I will try that when I get back home in a few days. Windows is my daily driver and work computer.

Thanks!

Rob

On Thu, 25 Jul 2019 at 11:52, Giorgio Masching III [email protected] wrote:

Hello rpherman! Thank you for taking the time to be a part of the sucle development effort!

The exception code 1073807370 seems to be related to the loading of foreign libraries, and glfw3 is the only foreign library which is used. What IDE are you using? I'll try to copy your setup to see what is going wrong.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gmasching/sucle/issues/19?email_source=notifications&email_token=AAVRDNPOURAG4K23DELNMA3QBEPQDA5CNFSM4IGV2V2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2YIKTY#issuecomment-514884943, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVRDNNSKEZULY74FBK3IVDQBEPQDANCNFSM4IGV2V2A .

rpherman avatar Jul 25 '19 05:07 rpherman

I need to use it on Windows, so I will reinstall. What IDE do you recommend, and when to install it in the process? If I have Emacs and Slime, is that all the IDE I need, or are you looking for an OpenGL context IDE? Thanks!

rpherman avatar Jul 27 '19 00:07 rpherman

I still get the same error from my original post. Any ideas on Windows and sucle?

rpherman avatar Jul 31 '19 23:07 rpherman

I also have issues with sucle on Windows 10. It doesn't crash but only produces a black unresponsive window. I am starting sucle from portacle, and do not get any errors. Output below:

CL-USER> (ql:quickload :sucle)
; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2019-10-08/releases.txt">
; 436.17KB
==================================================
446,638 bytes in 0.05 seconds (7930.36KB/sec)
To load "sucle":
  Load 1 ASDF system:
    sucle
; Loading "sucle"

(:SUCLE)
CL-USER> (sucle:start)
#<SB-THREAD:THREAD "Anonymous thread" RUNNING {10036AEE03}>
CL-USER> 

maacl avatar Nov 19 '19 15:11 maacl

@maacl

Sorry for the delayed response. I really need to add a help menu/ splash screen/tutorial. Right now I'm working on documenting everything and writing test cases on how to use it. If you click/focus on the window and press "E" a blue screen should appear with a white dot at the center. this is the sky and the crosshair.

Then if you run:

(dotimes (x 100)
   (flet ((foo () (- (random 20) 10)))
        (world::plain-setblock (foo) (foo) (foo)  2)))

You'll see some grass blocks appear.

Sorry this is so convoluted, I'm working on documenting and explaining everything.

see: https://github.com/gmasching/sucle/issues/20 for more details

gregcman avatar Jan 12 '20 21:01 gregcman

Thanks. Whene I press "E" I get a landscape etc. but I get undefined function, when trying to call world::plain-setblock.

maacl avatar Jan 14 '20 17:01 maacl