some-mthfka / NeoSFML

Neovim GUI based on SFML
Apache License 2.0
20 stars 4 forks source link

I get an error: "The application was unable to start correctly (0xc000007b). Click OK to close application. #5

Open adabo opened 6 years ago

adabo commented 6 years ago

I followed all the steps and everything seemed to install correctly. There were no errors installing python 3.3.5 ,pip, or python neovim. Finally I unzipped NeoSFML and ran the exe and this was the error:

---------------------------
neosfml.exe - Application Error
---------------------------
The application was unable to start correctly (0xc000007b). Click OK to close the application. 
---------------------------
OK   
---------------------------

I'm on Windows 10 64bit

Do I unzip the neosfml anywhere? How can I verify everything installed properly? I have checked the Path variable User variables for adabao not System variables. There is c:\Python33 and C:\tools\neovim\Neovim\bin. Am I missing something?

some-mthfka commented 6 years ago

I compiled on Windows 7 x64, so the OS is probably not the problem. Unzipping is necessary, but the place where you do it does not matter.

Could you, please, do the following things and see what happens? From the command prompt (Win + R), run:

python

then

nvim

If these two work (are found, that is), then it would help to see the output of neosfml.exe itself:

cd NeoSFML/build_windows neosfml

Since neovim is unstable, I would not be surprised to find out that API has changed. In this case, I am not sure when I can investigate, since I don't even have a Windows machine now.

If you are looking for a neovim front end for work and not for experiments, I would suggest using neovim-qt. I will soon update readme to warn about this.

adabo commented 6 years ago

Win+R > python > nvim says:

Python 3.3.5 (v3.3.5:62cf4e77f785, Mar  9 2014, 10:35:05) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> nvim
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'nvim' is not defined
>>>

I can call nvim from Win+R and cmd, however.

Since neovim is unstable, I would not be surprised to find out that API has changed. In this case, I am not sure when I can investigate, since I don't even have a Windows machine now.

Not a problem. I'm content using GVim. Truth be told I am just looking for a c++ autocomplete, syntax check, and snippets. I use Visual Studio Community to build/run. I prefer GVim as my editor, but out-of-the-box it is lacking these key features that I want.

If you are looking for a neovim front end for work and not for experiments, I would suggest using neovim-qt. I will soon update readme to warn about this.

I've tried many times over neovim's development cycle to make the switch, but I could not. The occasional bugs or errors really sucks the life out of the coding experience.

To be honest, I really don't know understand completely what your project is or intends to do. I just gave it my best shot to get it up and running.

I'd be willing to assist if you would like.

some-mthfka commented 6 years ago

I can call nvim from Win+R and cmd, however.

This is in fact what I was wondering about :+1:

I googled for the 0xc000007b error - proposed fixes vary from running as admin to running chkdsk. Maybe there is something wrong with the zip file (packing, downloading, unpacking). Anyway, since python and nvim are found, it would still be nice to see what the output of neosfml.exe is.

cd NeoSFML/build_windows # or wherevere it is
neosfml.exe

This might hint at the root of the problem, at this point I am just curious what went wrong.

To be honest, I really don't know understand completely what your project is or intends to do.

This project was a milestone to Viy - basically Vim with pictures. I use emacs now.

I use Visual Studio Community to build/run.

You could compile straight from vim - it can show you all the errors and you could jump to them.

I just gave it my best shot to get it up and running.

Thank you for that : ) And sorry that it didn't work.

adabo commented 6 years ago

There is no output in cmd:

Microsoft Windows [Version 10.0.16299.125]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\Skooch>cd C:\Users\Skooch\Downloads\neosfml

C:\Users\Skooch\Downloads\neosfml>neosfml.exe

C:\Users\Skooch\Downloads\neosfml>

It's just the window with the previously mentioned error message.

I read this from your Viy readme:

I did not figure out how to embed visuals in an elegant way.

Hahah but does it work? Can't you just revisit it later?

some-mthfka commented 6 years ago

Sure, the embedding of pictures works. But it isn't elegant - I prefer to think that API was not meant for what I had in mind, but maybe I missed something. Anyway, Emacs has pics and I am a happy man : )

There is no output in cmd:

Hmm, alright. Thank you for your cooperation!

adabo commented 6 years ago

You're welcome!