Some time ago (some years) my company purchased a license for the library called LibXL.
Previously the application was built on CentOS 6.5 without troubles.
I have currently set up a new system (Ubuntu 16.04) but LibXL returns a warning:
Created by LibXL trial version. Please buy the LibXL full version for removing this message.
Version of this library is exactly the same - I just copied .so file.
Application is built using C language.
License setting code:
xlBookSetKey(book,"<name>", "linux-<characters>");
Do we need to buy a new license key?
Maybe some operating system settings are wrong? or maybe I missed some configuration file? (I just copied the libxl.so file to the right place).
Related
I want to set up a workflow that allows me to have a git repository with a uniform/consistent formatting. The developers (approx. 30) should be able to commit properly formatted changes to their local repository easily, independent of their operating system (either some Linux or Windows 10) and independent from their IDE. Changes shall be pushed to a Linux server which administrates the remote repository.
From my point of view there are two steps necessary to ensure that the remote repository is properly formatted:
Format the current state of repository according to a set of rules.
Format the files affected by every new commit according to these rules.
The first step can be implemented easily by running an auto-formatting tool (e.g. clang-format) on the complete repository. The implementation of the second step can be further divided into two substeps:
2a) Client side: Format a commit properly before pushing it to the server.
2b) Server side: Check if the repository will be properly formatted after the changes of the commit are applied.
The second substep (2b) can be implemented easily (simlar to step 1). However, the implementation of the first substep (2a) is more demanding and I would like to reach out to the community for tipps/tricks/ideas.
So far I've had a closer look on the Eclipse autoformatter and clang-format:
The Eclipse autoformatter can only be used when Eclipse is installed, I haven't found a Eclipse autoformatter standalone application. Is it possible to run the eclipse autoformatter from the command line without a GUI?
clang-format is a unix tool which I cannot install and run standalone on a windows system. I've seen there is a LLVM executable for windows but I am not sure if the installation will inflict any undesired changes to my system. Is anybody using LLVM/clang-format on windows?
Are there other auto-formatting tools for C which work on Linux and Windows 10? Is anybody successfully using python scripts for this purpose?
There is a note in http://fedoraproject.org/wiki/How_to_create_an_RPM_package#Other_tags, which states:
Do NOT use these tags
Packager
Vendor
Copyright
With no explanation given. Packager is quite commonly seen, so, when I am creating a new spec file to distribute software, why should I not include that tag (or any of the named tags)?
Copyright has been deprecated in 2000. Rpmbuild refuse to accept it since 2005. It was poorly named initially and should have been named License from the very start. Nowadays everyone uses License tag.
Vendor is usually set by build system (Koji, Copr, OBS) so you should not override it. I.e. every package in Fedora has Vendor set to "Fedora Project".
The same for Packager. But this one is a little bit relaxed. E.g., Koji set it, but Copr not.
I am learning C and I want to install MinGW on my laptop. The MinGW installer is a web-installer, it requires the computer to have access to the internet when installing. But the problem is that my computer's not connected to the internet. So it can't be installed.
So I am thinking of downloading the complete offline installer on my smart-phone and transfering it to my PC through blue-tooth.
I have already tried TDM-GCC, but even that requires me to download somthing.
So is there an offline installer to MinGW? If yes where can I get it?
I did not find an offline installer for MinGW,but instead I found a better Windows port; which is MinGW-W64
From http://mingw-w64.yaxm.org/doku.php:
Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.
Now to answer this question: it has to be mannually installed by downloading the zip file. It won't require additional download.
You can download it from link : https://github.com/jonasstrandstedt/MinGW
You need to extract the MinGW folder in C:\ eg: c:\MinGW . Then what you need to follow the steps given in the link above. In CodeBlock IDE go to settings>compiler>Tochain Executables. There you need to click on auto detect or specify the folder manually.
The most direct answer to the question "Is there an offline MinGW installer?" is "maybe, but it would be a snapshot from the past, and it's almost certainly not up-to-date with the latest available released versions." The individual packages are made available (almost) as soon as they're released, so capturing everything in a self-contained installer is a moving target.
But, you can use the standard installer offline with a bit of prep work if you use MSYS2's pacman, which manages dependencies and grabs all the right versions for you.
The details are given in an answer to another question (https://stackoverflow.com/a/46791235/).
We have compiled a fresh version of our software.
Yesterday we (accidentally) revealed that it is showing us different file (and product) versions depending on the machine you're looking at it.
If we look at it from the developer (virtual) machine it is showing the new file version. Even if it has not been compiled with "this" machine.
If we look at it from a host or different client it is showing an old version. It doesn't mind if you use the windows explorer or any different tool.
If you copy it from the virtual machine to the host - it magically changes its version.
The only OS difference between the Host and the VM is the language. The Host-OS is german, the VM-OS is english.
Has anybody an idea how this can be?
P.S.: Checked the files inside and outside the VM with a HexEditor and Resource Edtior and the new version number seems to be correctly in the file.
It showed up that the included resources had different versions for different languages. Didn't know that this is possible up to now.
I have one library using one function in the PnP configuration manager library. Therefor, the cfgmgr32.lib is included in our build.
But I don't know where it came from, nor do I know what license is attached to it. I assume it was in the DDK.
Could one label this as "Proprietary" software?
First I assume that you are talking about a lib that is part of the windows driver kit:
http://msdn.microsoft.com/en-us/windows/hardware/gg487428
Per: http://msdn.microsoft.com/en-us/windows/hardware/gg487463 "How to get the Windows DDK"
I end up there http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=36a2630f-5d56-43b5-b996-7633f2ec14ff and a download url of: http://download.microsoft.com/download/4/A/2/4A25C7D5-EFBE-4182-B6A9-AE6850409A78/GRMWDK_EN_7600_1.ISO ...
This is a large ISO image.
Once you have that, the terms of the license should be detailed in the ISO somewhere.
Per: http://www.microsoft.com/taiwan/whdc/devtools/wdk/RelNotesW7.mspx#EPD
"The contents included in the Windows Driver Kit (WDK) are licensed to you, the end user. Your use of the WDK is subject to the terms of an End User License Agreement (EULA) that accompanies the WDK and is located in the WDK installation directory. The name of the file is License.rtf. Before you access or use the WDK, you must read and accept the terms of the EULA. If you do not agree to the terms of the EULA, you are not authorized to use the WDK."
So get the ISO, install and get the exact license.
Also the doc is there:
http://msdn.microsoft.com/en-us/windows/hardware/gg487458
this is smaller and should also contain license terms.