Why atom is not compiling my c++ program? [duplicate] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed last month.
Improve this question
I am trying to install platformio-ide-terminal into Atom 1.63.1. I got the error certificate has expired. I tried alternative Terminus and got the same error. Any package install attempts end with the same error. Please help.

As others have pointed out, GitHub has been ”sunsetting Atom”. Hence its website and all infrastructure have been taken offline. While both major forks, Pulsar and Atom Community, don't provide a full replacement yet, there are other ways to install packages in your existing Atom installation.
Example
# Clone the repository
git clone https://github.com/platformio/platformio-atom-ide-terminal ~/.atom/packages/platformio-ide-terminal
# Change directory to the cloned package
cd ~/.atom/packages/platformio-ide-terminal
# Install dependencies
apm install
If you don't use git, you can simply download the package as zip-file and extract it to the same directory as used in the example above.
Note that some packages might require an additional build step. Take a look at the scripts section of package.json if it includes one or more build commands.

Atom seems dead 🥹 🫶
It seems we have to migrate to "some alternative"…
https://github.blog/2022-06-08-sunsetting-atom/
When we introduced Atom in 2011, we set out to give developers a text editor that was deeply customizable but also easy to use—one that made it possible for more people to build software. While that goal of growing the software creator community remains, we’ve decided to retire Atom in order to further our commitment to bringing fast and reliable software development to the cloud via Microsoft Visual Studio Code and GitHub Codespaces.
On June 8, 2022, we announced that we will sunset Atom and archive all projects under the organization on December 15, 2022.
If I’m using Atom, what changes can I expect after the sunset?
Pre-built Atom binaries can continue to downloaded from the atom repository releases
Atom package management will stop working
No more security updates
Teletype will no longer work
Deprecated redirects that supported downloading Electron symbols and headers will no longer work

Related

Termux repository is under maintenance or down [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I tried updating my package list but got the following error.
$ pkg update
Checking availability of current mirror: ok
Ign:1 https://dl.bintray.com/grimler/game-packages-24 games InRelease
Ign:2 https://dl.bintray.com/grimler/science-packages-24 science InRelease
Hit:3 https://termux.mentality.rip/termux-packages-24 stable InRelease
Err:4 https://dl.bintray.com/grimler/game-packages-24 games Release
403 Forbidden
Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release
403 Forbidden
Reading package lists... Done
E: The repository 'https://dl.bintray.com/grimler/game-packages-24 games Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
E: The repository 'https://dl.bintray.com/grimler/science-packages-24 science Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
Somebody know how to fix this problem?
I also had this problem and I found a way to slove this
Follow these steps :
pkg remove game-repo
pkg remove science-repo
pkg update
It should work now! :)
Also btw, termux is permanently shutting down bintary hosted repos example :
https://dl.bintray.com/grimler/game-packages-24 games InRelease
https://dl.bintray.com/grimler/science-packages-24 science InRelease
Solve Termux repository is under maintenance or down issue
There are mainly 2 options to solve this issue:
Solution 1:
If possible, use Termux from F-Droid because there are some problems with the one from Google Play.
Solution 2:
If you are unable to update or install any package in termux then you can follow the below method to solve this issue.
First of all type the below command:
termux-change-repo
Now You will see the main repo will be already selected and you just have to check all ( select all ) gaming as well as the science repo and then tap on the OK button.
Now you have to switch from official repo to Alberto repo just select the Alberto Repo and tap on OK Button and the problem will be sloved.
p.s. If Alberto is not working, then try switching to other repos.
Source : https://www.learntermux.tech/2021/08/termux-repository-under-maintenance.html
you can also use
termux-change-repo #Note : Do not select Bintray repo or it will not work
Or
Remove science and game repo packages to fix it
This problem is caused by the shutdown of bintray repos
the orginal post is from r/Termux

microsoft visual studio installer projects issue

I made a laucher application in c++ that use direct 2d and 3d. Now i making a installer for this. I followed microsoft docs and i made it but there is a issue.
I use 'Microsoft Visual Studio Installer Projects' extension to make that.
The issue is if i already installed my launcher with a previous installer msi file, if i rebuilt a new installer msi and try to run it it show me this error
This is the microft docs i followed to make this: https://learn.microsoft.com/en-us/cpp/ide/walkthrough-deploying-your-program-cpp?view=msvc-160
In the future maybe i need make a update for my laucher. It isn't good idea everytime need go to control panel, search and delete the previous application and install the new one manually.
Anyone know how can i make it automatic remove old version and install new one? Maybe there is a better way to create a installer?
Major Upgrade: In order to upgrade properly, you need to use a major upgrade so that your new version uninstalls the old one and then installs itself (this can happen in reverse order too: new version installed and old remnants deleted afterwards, but this is another story). There are further upgrade types, but stick to major upgrades for simplicity.
The message you are receiving is basically because you have a different package code for the new MSI, but not a new product code or version number (or just one of those problems). You need to get the settings straight.
Recommended step-by-step:
Set "RemovePreviousVersions" to True in the project properties.
In the same place: bump up your version number (one of the first 3 digits)
Answer yes when asked to change product code, or do so yourself manually.
Keep the UpgradeCode the same - it needs to be stable across releases.
Rebuild your setups. Clean out your box of old remnants before testing or test on a virtual.
Testing: Remember to simulate your full upgrade process from first version installed to the new one with different version numbers for a few core files and also try to add a few files and such things. Very important to verify.
Heads-Up: Before ending, it is standard procedure to warn about the potential limitations of VSInstaller Projects (shorter list form).
MSI Tools: Here is a short "review" of other MSI tools.
MSI Upgrade Types: Shamelessly stolen from the InstallShield help file (towards bottom):

Which Netbeans 8.2 project files should be committed to version control for C++ project?

Should this Netbeans (C++) project file:
nbproject/configurations.xml
be stored within version control/which ones should/shouldn't?
I am currently the only person using Netbeans but I worry what would happen if a second person was modifying that file (via their IDE), submitting and then me pulling/using that?
I have Google'd but answers appear to be out-of-date now.
Netbeans version is 8.2
I have had good experiences using whatever .gitignore entries are stored on Github. This is not some random repo, but one of GitHub's own that accepts community contributions. Following the link will show 9 contributors to this specific .gitignore for NetBeans and that it was last updated in Dec. 2018.
It appears that the configuration file you're asking about would and likely should be placed under version control.

What is the best way to install VC++ redistributables via a group policy?

This ought to be simple, but seems to be anything but.
I wish to create an installer that can be used by those using group policies to install products. I do not know then if this must be an MSI, or an EXE. Can an EXE install be installed via a group policy? I chatted with another Wix novice who seemed to think it was a bad idea to have an install that was a plain MSI file.
My product uses the Visual C++ 2010 redistributables. I do not wish to use merge modules. Both this and this link give some of the disadvantages of using them. I object to 1) installing things that the user has not consented to, and 2) not having a control panel uninstall item with a version number that users can inspect and see if they have the latest version of. Thus, I am not interested in responses consisting of people lecturing me on why I ought to use merge modules. If what I am asking for is truly IMPOSSIBLE without merge modules, then please explain why.
I do not know if it is necessary to use a bootstrapper to kick off an EXE install. I gather that it is, but it seems bizarre for me, for an MSI with such involved tables and descriptions, not to be able to kick of a mere EXE, ON THE CONDITION that the redistributable is not installed already.
If it is necessary to use a bootstrapper, I would like to know if anyone can find a complete example, with both bootstrapper and Wix code, for an example of a product install; ideally, together with the command lines necessary to compile them, for such a common case as installing a VC++ 2010 (or possibly 2012) program, together with its redistributable - with the latter being installed as the EXE.
I have found this to be straight-forward and easy to do in Inno Setup Pascal - except for the Group Policy part. I have found anything but COMPLETE examples and/or straightforward explanations to accomplish this using a Microsoft installer. No matter what Microsoft says, I would consider such an installer to be best practices. My code is not managed, and I would like to support XP. Thus, a bootstrapper that requires some .net to already be installed would only add another unsolved layer of complexity to the problem. One that statically links to a .net library might not be too bad, if it did not create very much overhead. My MSI install seems to work pretty well. I did not realize that installing a vcredist_x86.exe would be a problem with such an elusive solution. I do not have Visual Studio. I am using the Qt framework, and have Visual Studio installed only to compile my application. If you have a bootstrapper solution, please specify which bootstrapper you are using. Ideally, the same idea could be extended to more than one prerequisite, and the same coding pattern could be used. If there were a way to use a merge module or additional MSI so that the redistributable would have its own control panel entry, that could be acceptable.
Brownie points for suggesting a mailing list, forum or well-populated chat channel to talk about Wix that does not require one to receive a lot of unnecessary mailing list traffic.
Group Policies by default don't allow EXEs to be installed. I did read about some admins that repackage EXEs into MSIs to deploy them via GPO but that is rather hacky. There is also the possibility to script the deployment - GPOs support script execution, machine or user level.
You can't embed an MSI within another MSI either because only one installation can execute at any time (Windows Installer design).
I don't know how you will be providing your product to your customers but vcredist_x86.exe (I am trying this with the v100 version) uncompresses into the root folder and generates an msi and a cab (vc_red.msi and vc_red.cab) among other files. If you provide these to your customers they can add them to the same GPO used to deploy your product.

Modern Build tool suitable for Visual Studio MSBuild [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm new to build automation and Continuous Integration, but have done extensive research on the subject.
First the question: assuming I have an unmanaged Visual C++ .sln file, and that I can build it with MsBuild, which modern build tool should I pick which allows me to easily perform pre/post build steps?
I dont want "old" build tool like Ant, Nant, make, with its XML mess. I want something that can allow me to express freely what I want to do in a human-readble manner. Based on my research, it seems Waf, Scons, and Rake might fit the bill.
Background of my environment:
My source control is Subversion.
My unit test framework is GoogleTest which produces JUnit-compatible XML files.
I picked JIRA for my tracking tool.
I picked TeamCity for my CI server.
I use Visual Build to build my .sln file.
I want to be able to write a simple build script (callable from my CI server) that would:
1) Create a CI server workspace directory.
2) Check out code from SVN. (my repos is setup to use svn:externals to pull dependencies from my other repository)
3) Run Visual Build build file to build all projects/platforms combination in .sln.
4) Run static code analysis / dynamic code analysis tools
5) Gather results from MsBuild (whether compile fail, static/dynamic code analysis warnings, or unit test fail, etc) for CI server
6) CI server logs this and also links it to JIRA.
Along with compiling code, Visual Build can be used to pull source and run your analysis tools (and has a nice GUI which lets you hide any "xml mess".) Your CI server should have a method for integrating external logs into a build.
Hudson the Java build tool has a MSBuild and Nant plugin. Plugins are also available include fxcop and some of the funny unit testing libs you c# guys use.
I would say its the best free one available on the market. It can also invoke command line apps etc
http://wiki.hudson-ci.org/display/HUDSON/Installation+and+Execution
Karl
just for others who find this page (just like me):
check out these tools for CI build server:
Pulse
TeamCity
AnthillPro (this is very prof, but also requires a lot to learn)
CruiseControl
Pulse and TeamCity can build sln with msbuild. Also has loads of nice feature and I found the best (from 10+) tools as CI server. Easy management, great support and good features.