Skip to content

Can't load native code to bring window to front using the absolute path: ... Hmm. Can't load native code to bring window to front. #1215

@skorphil

Description

@skorphil

Most appropriate sub-area of Processing 4?

I'm not sure

Processing version

4.4.6

Operating system

MacOS 15.6 (24G84)

Bug description

In console:

Hmm. Can't load native code to bring window to front using the absolute path: /Users/philipp/Documents/Processing/modes/PythonMode/mode/libjniosx.dylib.
Hmm. Can't load native code to bring window to front.

Steps to reproduce this

  1. run sketch

  2. close sketch preview window

  3. get error in console

snippet

# SOLVING EQUATIONS GRAPHICALLY

#set the range of x-values
xmin = -10
xmax = 10

#range of y-values
ymin = -10
ymax = 10

#calculate the range
rangex = xmax - xmin
rangey = ymax - ymin

def setup():
    global xscl, yscl
    size(600,600)
    xscl =  width / rangex
    yscl = -height / rangey
    
def draw():
    global xscl, yscl
    background(255) #white
    translate(width/2,height/2)
     #cyan lines
    strokeWeight(1)
    stroke(0,255,255)
    stroke(0,255,255)
    for i in range(xmin,xmax+1):
        line(i*xscl,ymin*yscl,i*xscl,ymax*yscl)
    for i in range(ymin,ymax+1):
        line(xmin*xscl,i*yscl,xmax*xscl,i*yscl)
    stroke(0) #black axes
    line(0,ymin*yscl,0,ymax*yscl)
    line(xmin*xscl,0,xmax*xscl,0)

But its doesn't matter which sketch

Additional context

No response

Would you like to work on the issue?

No, I’m just reporting the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions