quinnj / Sublime-IJulia

An IJulia Frontend for Sublime Text 3
90 stars 17 forks source link

Julia starts but the plugin does not work #69

Open jebej opened 9 years ago

jebej commented 9 years ago

I have been trying to get this to work without success. I am on windows and I believe defined the user settings properly. Note that I have julia on my path and that the zmq_shared_library location was obtained from the command using ZMQ; ZMQ.zmq. I am on windows 64bit, julia and Sublime are 64bit versions.

"windows": {
    "zmq_shared_library": "C:/Users/name/.julia/v0.3/WinRPM/deps/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libzmq.DLL",
    "commands": [
        {
            "command_name": "default",
            "julia": "julia.exe", 
            "julia_args": "",
            "ijulia_kernel": "C:/Users/name/.julia/v0.3/IJulia/src/kernel.jl"
        }
    ]
}

When I open a new IJulia console, the page appears but stays blank. I can see from the task manager that julia was started.

jebej commented 9 years ago

I actually do get an error after a Sublime restart:

The procedure entry point _ZSt24_throw_out_of_range_fmtPKcz could not be located in the dynamic link library C:\ (...) \libzmq.DLL

It seems the libzmq.DLL I have is not valid. Do you have any idea why? I installed all the packages via Julia and IJulia itself works...

jebej commented 9 years ago

Even though the error message was not actually the same as in #68, the solution proposed there (copying libstc++-6.dll and libgcc_s_seh_1.dll in the windeps dir) worked.

halong2014 commented 9 years ago

I have the same problem as description of jeremy-12 !

ulzegasi commented 9 years ago

I have the same problem. When I open a new IJulia console nothing happens, although the task manager tells me that Julia is running. I am also on Windows 64bit, with both Julia and Sublime 64bit versions. I'm pretty sure I have set paths correctly.

"windows": {
    "zmq_shared_library": "C:/Users/ulzegasi/.julia/v0.3/WinRPM/deps/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libzmq.dll",
    "commands": [
        {
            "command_name": "default",
            "julia": "C:/Users/ulzegasi/Julia-0.3.11/bin/julia.exe",
            "julia_args": "",
            "ijulia_kernel": "C:/Users/ulzegasi/.julia/v0.3/IJulia/src/kernel.jl"
        }
    ]
}

I have read that copying libstc++-6.dll and libgcc_s_seh_1.dll might help, but I have no idea where to copy them. My installation of Sublime Text 3 (build 3083) has no windeps directory.
Can anyone help? Thanks a lot