It always produce an error that cant find "unistd.h" why? Any remedies for this?
Services for Unix ships with various linux related headers (including unistd.h), so you could use that.
But that might require to link some of the SFU libraries..
Why? It's just not there. It looks like you try to compile a program that is not portable or you try to port the program to Windows.
unistd.h is a not a standard header. Probably you find it only on Unix-like systems.
See: Wiki
See Is there a replacement for unistd.h for Windows (Visual C)? for a partial replacement. (If you can add aditional functionality, please do so).
Related
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.
I'm need some help. I'd like to write a CLI program, that uses "windows". I mean it looks like the installer of Debian. So I want to know, what C libs I need to do this: http://iomem.com/uploads/tutorial/debiansargeraid/pic002.jpg
The thing used in debian installer is most probably the dialog(1) utility. See examples at http://unstableme.blogspot.com/2009/12/linux-dialog-utility-short-tutorial.html
If you really want C library than what you want is either ncurses library (more low-level) or dialog.h provided with dialog utility.
You're looking for Ncurses ... it's what debians installer and
most other CLI "windowing" tools use.
i want to communicate with usb port in c++. i know the libusb is a good way, but i can't use it. i have downloaded many libusb versions, for example libusbx-1.0.12.tar,libusb-win32-bin-1.2.6.0,libusb-1.0.9.tar. but i have many problem with them. for example there is a header file in them i have made a project then add libusb.h to header files and use #include command in to the c++ empty project bud this command is unspacified. is ther any one here to help me, i want a step by step and complete instruction to use libusb.
You should start with libusb-win32
and read their wiki very carefully.
Including a header file is not sufficient. You also need to link with the import library (which is a standard action you need to take when using 3th party libraries, and is unrelated to libusb)
I've been trying to find the equivalent command for the UNIX ypcat utility for Cygwin, but there is almost no documentation for it i regards to its presence (if any) for Cygwin. Can anybody help me find or teach me its equivalent, and if they can a brief explanation on how to use it if it differs from ypcat (it happened to me that Cygwin uses aspell for spell checking, replacing ispell or spell, and does not use the same entry format). TIA!
Someone made a port, but the files are no longer available at the specified domain, it seems.
http://www.cygwin.com/ml/cygwin-apps/2003-09/msg00144.html
You may have to contact the owner by e-mail to get a copy.
Anyone know of a free xls to text converter that can be run from the unix command line?
There is also the package catdoc (Ubuntu link) that includes a xls2csv utility.
A quick search of apt-cache turned up the Ubuntu package python-excelerator for excelerator, which includes py_xls2html, py_xls2csv and py_xls2txt utlities. Will this work for you?
Your question reminded me of anti-word. I looked up and found anti-excel. I have never used it, so I can't vouch for how well it work or whether it makes achievable the task you have at hand. Also, I remember using a utility called 'sc' on linux to created spreadsheets on the console---though, I do not know whether it is capable of interpreting XLS files.
I think gnumeric is better to convert document to csv http://xmodulo.com/2012/06/how-to-convert-xlsx-files-to-xls-or-csv.html