Code Monkey home page Code Monkey logo

Comments (4)

t-cool avatar t-cool commented on May 22, 2024

It was same as me...

[package sucle]...
(:SUCLE)
(sucle:start)

#<SB-THREAD:THREAD "Anonymous thread" RUNNING {1005CD49A3}>
* 
2018-12-02 08:39:21.192 sbcl[91187:1063045] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1454.93/Foundation/Misc.subproj/NSUndoManager.m:361
2018-12-02 08:39:21.193 sbcl[91187:1063045] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff4a56d59b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff718a0942 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff4a573182 +[NSException raise:format:arguments:] + 98
	3   Foundation                          0x00007fff4c6b9150 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
	4   Foundation                          0x00007fff4c647d44 +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 469
	5   AppKit                              0x00007fff47a6d96e -[NSApplication run] + 997
	6   libglfw.3.dylib                     0x000000000071903f initializeAppKit + 1393
	7   libglfw.3.dylib                     0x0000000000718706 _glfwPlatformCreateWindow + 34
	8   libglfw.3.dylib                     0x0000000000714592 glfwCreateWindow + 443
	9   ???                                 0x000000002276cf3f 0x0 + 578211647
	10  ???                                 0x0000000022775fcd 0x0 + 578248653
	11  ???                                 0x00000000229de49c 0x0 + 580773020
	12  ???                                 0x0000000022b4fdab 0x0 + 582286763
	13  ???                                 0x000000002296535e 0x0 + 580277086
	14  ???                                 0x0000000021caa465 0x0 + 566928485
	15  ???                                 0x0000000021caa8e5 0x0 + 566929637
	16  ???                                 0x0000000021ca9e51 0x0 + 566926929
	17  ???                                 0x0000000021b60f7e 0x0 + 565579646
)
libc++abi.dylib: terminating with uncaught exception of type NSException
fatal error encountered in SBCL pid 91187(tid 0xb0004000):
SIGABRT received.


Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> 

from sucle.

gregcman avatar gregcman commented on May 22, 2024

Thanks for the issue ticket! Apparently on macOS GLFW must be called in the main thread. This should be fixed with this commit which detects if you are using macOS, and if so uses the main thread for GLFW. Please let me know if this worked for you.

from sucle.

t-cool avatar t-cool commented on May 22, 2024

Hi.

Now, it starts a new window, but the window stops as soon as it starts up.
When I type "E"(toggle input), the error happens as follows:

 (sucle:start)

"ERROR: 0:1: '' :  version '330' is not supported
" 
debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {10005505B3}>:
  "ERROR: 0:1: '' :  version '330' is not supported
"

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(GLHELP::COMPILE-STRING-INTO-SHADER 2 "#version 330
out vec4 roloCgarF_lg;
in vec3 G4;
void main(){
((roloCgarF_lg.rgb) = G4);
}
")
   source: (ERROR "~S" SUCCESS)
0] 

from sucle.

gregcman avatar gregcman commented on May 22, 2024

Thanks for the feedback. This commit should fix the error.

version '330' is not supported

Previously the GLSL version was just a magic number scattered around, in this case 330.
Now instead of a magic number, the GLSL version is detected from OpenGL.

from sucle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.