Jump to content

  • Log In with Google      Sign In   
  • Create Account


Finally finished a project; now how do I get it out?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 johnmarinelli   Members   -  Reputation: 304

Like
1Likes
Like

Posted 03 March 2013 - 12:35 PM

Hi everyone,

 

So I've finally finished something that I'm willing to let into the wild.  I've built it using SDL & VS2010.  The problem is, I have <i>no</i> experience distributing apps.  I tried to run it in release mode, and I get errors like

 

c:\users\john marinelli\desktop\~\programming $hit\c++ sources\killstuff\killstuff\c_Entity.h(2): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
 

so, I assume that I have to re-link the libraries or something, but before I go and do that and potentially mess things up I'd like to know exactly what to do.

 

 



Sponsor:

#2 EddieV223   Members   -  Reputation: 1392

Like
4Likes
Like

Posted 03 March 2013 - 12:58 PM

everything you setup for debug must also be setup for release, one trick is to click all configurations in the project settings window while setting up a project.  Sometimes you still need to setup separate settings though, for example if you have a debug lib and a release lib.


Edited by EddieV223, 03 March 2013 - 01:05 PM.

If this post or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


#3 johnmarinelli   Members   -  Reputation: 304

Like
0Likes
Like

Posted 03 March 2013 - 03:08 PM

So I basically do everything the same for release mode as I did in debug mode?  As in, going into the properties menu and editing the libraries to link to, etc...

 

After that, will the solution be saved in its own file?  Then do I put all the dlls in that file?


Edited by johnmarinelli, 03 March 2013 - 03:08 PM.


#4 Endurion   Crossbones+   -  Reputation: 3336

Like
0Likes
Like

Posted 04 March 2013 - 12:35 AM

No, it merely should be able to build the executable,  but this time it will be linked to release runtime.

 

You still have to deliver all your dependency Dlls manually.

 

 

It's important to only deliver the release build, since the debug runtime is usually only available on developers PCs.


Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

#5 Andy474   Members   -  Reputation: 652

Like
0Likes
Like

Posted 04 March 2013 - 04:59 AM

fyi ... http://www.jrsoftware.org/isinfo.php use this [Innosetup] to distribute, it will create a nice installer :)



#6 NightCreature83   Crossbones+   -  Reputation: 2674

Like
1Likes
Like

Posted 05 March 2013 - 07:54 AM

You can use dependency walker to figure out which dlls you need to distribute with your application.


Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, Mad Max




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS