Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Creating portable executable with Visual Studio

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-02-2009
Member
 
Join Date: Feb 2009
Posts: 56
Creating portable executable with Visual Studio
  

Using Visual Studio I created a program in C that uses opengl and opencv libraries and I would like to make it available as an executable without having to be compiled.

I tried to create a Setup project type but I really do not understand how to get what I need.

Can someone give me a hand?

Reply With Quote
  #2  
Old 04-02-2009
Member
 
Join Date: Oct 2008
Posts: 167
Re: Creating portable executable with Visual Studio

Quote:
Using Visual Studio I created a program in C that uses opengl and opencv libraries and I would like to make it available as an executable without having to be compiled.

I tried to create a Setup project type but I really do not understand how to get what I need.
You can even make the exe with its associated dll, remember to fill out the modalities "Release."
If you want to create un'installer you must use the "Setup" but honestly I never tried.
Reply With Quote
  #3  
Old 04-02-2009
Member
 
Join Date: Feb 2009
Posts: 56
Re: Creating portable executable with Visual Studio

I did exactly that and in my computer but of course it works in other computers, no. Even with the same operating system.
Reply With Quote
  #4  
Old 04-02-2009
Member
 
Join Date: Jan 2006
Posts: 211
Re: Creating portable executable with Visual Studio

right click on project, Properties, select Configuration in the Release configuration, then go to C / C + +, Code Generation and set Runtime Library to Multi-threaded (/ MT). the final executable will be some big but you will have more removed from the dependency of the runtime version of Visual C + +.

alternatively you should make it clear that Visual Studio generates when the Manifest File must put the directive that sets the dependence with an old version of the runtime, but I do not know how to do; eliminates dependence and go quiet.

PS: the whole problem exists only if the final program must run on XP, Vista and Seven have already the latest version of the runtime.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Creating portable executable with Visual Studio"
Thread Thread Starter Forum Replies Last Post
Visual Studio 2010: features and changes compared to Visual Studio 2008 BinDs14 Guides & Tutorials 2 16-02-2011 01:49 PM
Guidelines for Creating Side-by-side Assemblies in Visual Studio 2010 Madhulika Software Development 4 29-01-2010 02:28 AM
Compare Visual Studio 2010 and Visual Web Developer Express Zacharia Software Development 5 28-01-2010 03:27 AM
Difference between Visual studio 2005 and Visual studio 2008 RohanS Software Development 3 12-06-2009 10:48 AM
Visual Studio 2008 - Creating DLL Hemal Das Software Development 3 26-03-2009 02:36 PM


All times are GMT +5.5. The time now is 08:27 AM.