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

Started by
4 comments, last by NightCreature83 11 years, 1 month ago

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.

Advertisement

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.

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.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// 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

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?

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>

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

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, theHunter, theHunter: Primal, Mad Max, Watch Dogs: Legion

This topic is closed to new replies.

Advertisement