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

sucle:start crashes on Windows 10 64-bit #19

Open
rpherman opened this issue Jul 25, 2019 · 7 comments
Open

sucle:start crashes on Windows 10 64-bit #19

rpherman opened this issue Jul 25, 2019 · 7 comments

Comments

@rpherman
Copy link

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)`
@gregcman
Copy link
Owner

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.

@rpherman
Copy link
Author

rpherman commented Jul 25, 2019 via email

@rpherman
Copy link
Author

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
Copy link
Author

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

@maacl
Copy link

maacl commented Nov 19, 2019

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> 

@gregcman
Copy link
Owner

@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: #20 for more details

@maacl
Copy link

maacl commented Jan 14, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants