Installing Cygwin x11 package - cygwin

So iam trying to install this :
http://rcc.its.psu.edu/user_guides/remote_display/cygwin/
And after about 2 hours, when i got to :
C:\cygwin\usr\X11R6\bin"
I only see two files : cygXft-1.dll and X-start-menu-icons.sh
Please help me as Ive spent about 3 days trying to do this and it stil doesnt work. What could i possibly be doing wrong?

Those instructions are at least 4 years out of date (probably more) and no longer correct.
X11 doesn't install into /usr/X11R6/ anymore.
You might find the instructions at http://x.cygwin.com/docs/ug/cygwin-x-ug.html helpful.

Related

Inno Setup - No constant on saved games

Greetings first time in here, I've got a question I'm making a simple installation on Inno, but I need some files to install on the default user/saved games folder, I'm unable to find a constant which fits this, anyone knows a turn around to do it?

I have tried many methods and I couldn't find solution. So how to convert Python file to executables?

Python : 3.5
PYinstaller : 3.5
Win64
cx_Freeze : 6.0
According to the above information, I have tried to convert Python project to exe but it does not work.
First I have tried pyinstaller but the process throw some error:
After that, I have tried cx_Freeze and it works, but the exe are working on some computer but not on every computer that have same platform.
I don't know what I can do. I looked for google and stackoverflow but there are unsolved problems or I couldn't see the solution.
Later I have tried to change python version but doesn't work again. Computers that have tried to running the exe, have same OS platform, I'm sure.
By the way, if you receive the following cx_Freeze error, resolving like this:
Build\exe.win-amd64-3.7\lib\scipy\spatial\cKDTree.cp37-win_amd64
change to
Build\exe.win-amd64-3.7\lib\scipy\spatial\ckdtree.cp37-win_amd64
Program uses the following modules : tkinter, pydicom, skimage, PIL, cv2, etc.
Primarily Program has 2 page that content code but I made single file for I came across this sentence "It's worth noting that pyinstaller can compile to a single .exe file"
What do you suggest I do? Thanks for your help.
Edit: I have been tried "Auto-py-to-exe" but I got an error (Fatal Error : Failed to execute script")
Edit2: I tried to run outside the anaconda. I think its work. But I'm still testing.
Edit3: I have tried to change python version, GUI was opened another computer but the program is not work properly. the program works on my computer but not on another computers
If you are not able to convert python file to executable format, you can try using auto py-to-exe library.
This library contains a GUI format to convert .py files to .exe
Here you can find auto py-to-exe with usage instructions,
https://pypi.org/project/auto-py-to-exe/

Problem of Running Monodevelop-Stable on Linux

I've tried to install Monodevelop-Stable on Arch-Based Linux ( Manjaro ) and i'd fault 3 times, it wasn`t possible to build from Github sources or from AUR or Flatpak, so i decided to use monodevelop-stable-bin also from AUR, but when i tried to run my app , i got this problem
"$(MSBuildBinPath)\Microsoft.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk (MSB4019)
Another words:
"MonoDevelop/7.0/MSBuild/2472_1/Microsoft.Csharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk (MSB4019)
But i have in my directory:
Microsoft.Csharp.Crosstargetting.targets
Notice , that this answer also wasn`t helpful:
this one
Question is indeed so popular on the internet , but i still haven`t found an answer , and i need some help
I have the same problem, I talked a bit more in detail in this answer, but the short of it is that, for now, it seems that there is no way to use Monodevelop on Arch based systems.
I recommend using a Ubuntu based distro for programming (there are many other similar problems with Arch). There Monodevelop should work just fine.
Of course, you can try to use other IDEs, like JetBrains Rider (I haven't personally tested it) or just use text editors with appropriate extensions, like VSCode or Atom.

How do I change the pin mode on the BeagleBone Green?

I'm looking to set the mode to 7 for a lot of the pins since I need more GPIOs. I've tried downloading different python scripts from github to help with it, and I've also looked into using bonescript, but that's not working on my board. Any ideas are welcome.
Edit: the other question mentioned in the comments doesn't work for me. I tried the solution and I get to the point where you need to modify slots. Then, when I try to do that, it says operation no such file or directory

-bash: _fzf_orig_completion_g++: bad substitution in Cygwin

When I open my Cygwin terminal, it shows the following at the top of window:
-bash: _fzf_orig_completion_g++: bad substitution
Eventhough it does not affect my jobs, but I want to avoid it.
Suggestions please.
Thanks!
To be precise, edit file C:\cygwin64\etc\bash_completion.d\zzz-fzf. Locate the function _fzf_defc() and add the following lines:
cmd="${cmd//+/_}"
cmd="${cmd//-/_}"
between the lines opts="$3" and orig_var="_fzf_orig_completion_$cmd"
Worked for me. Regards.
cygwin64, modify /etc/bash_completion_d/zzz-fzf, then it does work.
cmd="$1"
func="$2"
opts="$3"
cmd="${cmd//+/_}"
cmd="${cmd//-/_}"
orig_var="_fzf_orig_completion_$cmd"
It seems that this is a known issue. An issue on the github page for fzf posted on Jan 16, 2017 talks about it. The poster there posits the problem is the following,
the way i read all this is the reason for the error is the presence of the terminal part of the string, "...g++", as the ..++ part comprises illegal characters in a name
The above link references another similar issue posted on Sept 24, 2016 where the author responded on Jan 11th,
The support for Cygwin was discontinued since 0.9.0 due to the portability issue of ncurses library. But I'm working on a new renderer that does not depend on ncurses (#782), and it might be possible that we can make the latest fzf work on Cygwin again (#794). I'll let you know if it works out.
The easiest way to remove the bad substitution error that you are getting would be, as #dubnde posted in the comments and I can verify as well, to uninstall fzf and its related packages until the support is worked out for cygwin.

Resources