Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I currently have MPICH (release 3.1.4) installed on my machine (running Mac OS X 10.10.5). I would like to remove it and install OpenMPI instead but could find no instructions online on how to uninstall MPICH.
Is it sufficient to simply delete MPICH's directory? If so, where can I find it? I thought I had installed it in usr/local and did find some MPI-related files there (in a folder named include) but nothing that seemed like it was the whole thing.
Also, I am planning to use OpenMPI together with Intel's c++ compiler. Is there some preferred order of installation of these two?
Juste type make uninstall from the directory you compiled. That should do it.
Regarding openMPI and the Intel compiler, better installing the compiler before ans using it to build the package, but that's not compulsory, using GCC will do as well.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have developed a software and would like to send it to other people.
Right now I have a folder with the compiled binary (.exe) and all necessary dlls and everything else you need.
So far I can simply copy this folder to another pc and it works.
It would be great to create a real setup.exe for windows and anything equivalent for Linux.
How can I start to create such installers? Can anybody provide a link with useful information?
This is well documented in multiple places.
To make a Windows MSI installer, take a look at WiX.
To create packages for RPM based Linux distributions, read up on RPM. For distros using Debian (deb) packages, read debian packages. For distributions using other package formats look at their websites and find their documentation on their package formats.
Also take a look at flatpak.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I generated an executable with C++ that copies files from a folder to another one,
Is there a way to include the folder that I copy inside my program instead of having it on the disk ?
I'm not using Visual C++, only DevCPP on windows and I'm targetting only windows machines.
Thanks
This is a basic option of most setup frameworks.
Free Option: NSIS
Use the example under Simply install a file to see how you can embed files into the installer, specify where to unpack them, etc.
Paid Option: InstallShield
See the Basic MSI Project Tutorial for more info
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Hi, I want to build a PacMan game project which is on github (https://github.com/edoren/Pacman)
As i understood it needs three library naming STP, janssoon and SFML2.1 .
Can any one help me to set the required settings in in order to build and run it?
I am using win 8.1 and eclipse neon (c/C++)
please give me a step by step guide to install and setup every thing that is required (including the gcc 4.7 , SFML, STP, jansson , eclipse setting and so on.)
Why you do not use CMake like the owner of this project said?
This project was build on CMake. I think you couldn't use eclipse to do that...
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm relatively inexperienced with the workings of downloading, making, and linking libraries, and I was hoping to get SOIL (Simple OpenGL Image Library) so that I can use it in Xcode (newest version) on Mac OS X El Capitan with OpenGL 3.3 and GLFW in C++. (link: http://www.lonesock.net/soil.html, download: http://www.lonesock.net/files/soil.zip) I downloaded the zip, but I wasn't sure how to go from there.
I tried cd'ing to the entire folder in terminal and typing "make", along with "make -f makefile", and even adding a line I found in a previous response to the makefile, but nonetheless I wasn't sure how to do it. Would anyone be able to describe how to build it in detail?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a Linux program that I want to run on Windows. I want to compile it for Windows using Mingw?
I am new to this Mingw thingy. So, I have no idea if it will work.
I installed Mingw and I have a make file. What's next? I have a bunch of exe files in Mingw. I don't even know how to start the compiler.
So, my question is: What are the steps necessary to compile the program I have?
UPDATE:
I figured out in the end what are the steps necessary to compile a Linux program for Win using Mingw.
I posted the solution below (solution is 7 steps), maybe it will be useful to others also.
To compile a Linux program on Win:
Install MingW
Edit the c:\MinGW\msys\1.0\etc\fstab file (it should contain this line: c:/mingw /mingw )
Start Wingw shell by running c:\MinGW\msys\1.0\msys.bat
In shell go to the folder where your Make file is (use cd command for this).
Type 'make'. This will compile your program.
Put the generated EXE and the required DLLs (libgcc_s_dw2-1.dll and libstdc++-6.dll) in the same folder
Run the exe file and enjoy it....