![]() |
|
This thread is locked; no one can reply to it.
![]() ![]() |
1
2
|
Distrobution |
adamk kromm
Member #5,432
January 2005
|
When people try my game on other computers they get this error when trying to open the game this application has failed to start becase the application cnfiguration is incorrect. reinstalling the applicatin may fix the probelm how do i fix that? ---------- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Sounds like you are using a beta version of your compiler, because the error messages are all misspelled. Alternatively, it could be because you are using MSVC 8 / Express and aren't including the Microsoft VC Runtime package. |
adamk kromm
Member #5,432
January 2005
|
I'm using msvc 2005 express, and the spelling errors are because my friend cant spell very good. Is there a way to statically link the Microsoft VC Runtime Package? or a way to build the program so it doesn't need them? ---------- |
Jonatan Hedborg
Member #4,886
July 2004
![]() |
Yes! Use mingw!
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
Quote: Is there a way to statically link the Microsoft VC Runtime Package? or a way to build the program so it doesn't need them? Yes, but you need to rebuild Allegro (STATICLINK=1 STATICRUNTIME=1) and every 3rd party library with a static runtime as well. |
adamk kromm
Member #5,432
January 2005
|
any ideas what those 3rd party libraries are ---------- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
I'm referring to any 3rd party libraries that you might be using, such as AllegroGL, FBlend, DUMB, etc... |
adamk kromm
Member #5,432
January 2005
|
ohh, ok, thanks. Now just to test it. ---------- |
_Dante
Member #7,398
June 2006
![]() |
Quote: Yes, but you need to rebuild Allegro (STATICLINK=1 STATICRUNTIME=1) and every 3rd party library with a static runtime as well. The binary packages (at least the ones distrubuted on this site) come with statically linked versions of the libraries, no? ----------------------------- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
They do not come with static runtimes. There are 12 versions of Allegro for MSVC:
The binaries only include the first six, but he will want the 10th version on the list. |
Jonatan Hedborg
Member #4,886
July 2004
![]() |
Just out of curiosity; what is the difference between for example 4 and 10?
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
External dependence on the C Runtime. |
A J
Member #3,025
December 2002
![]() |
if you can stick with static for everything, it will lead to less end-user headaches ___________________________ |
adamk kromm
Member #5,432
January 2005
|
ok, i added STATIC_RUNTIME to the linking and they still get the same error, am i missing something? ---------- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
You have to completely rebuild the alleg_s.lib file. |
adamk kromm
Member #5,432
January 2005
|
as in dl the source then do a make && make install? ---------- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Yes. |
adamk kromm
Member #5,432
January 2005
|
i've aleady done that, and i also did make install DEBUGMODE but i'll try again and see what happens ---------- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
You have to use the static runtime flag. |
adamk kromm
Member #5,432
January 2005
|
you'll have to forgive my newbyness, but what's the static runtime flag? ---------- |
A J
Member #3,025
December 2002
![]() |
have you COMPLETELY read the /docs/html/build/[my_compiler].html ? Quote:
make install DEBUGMODE STATICLINK and DEBUGMODE are not different sides of a coin, they are different attributes of a build. ___________________________ |
adamk kromm
Member #5,432
January 2005
|
yep, i've read it, and i've make installed all the ones the doc said to, and right now im linking with alleg_s.lib and i get the error. Am i missing a lib? ---------- |
A J
Member #3,025
December 2002
![]() |
which error ? ___________________________ |
Matthew Leverton
Supreme Loser
January 1999
![]() |
How many times do I have to say that STATICRUNTIME and STATICLINK are not the same things? fix msvc8 --msvcpaths make STATICRUNTIME=1 STATICLINK=1 make install STATICRUNTIME=1 STATICLINK=1 After this is finished, I would rename the new alleg_s.lib to something else like alleg_s_srt.lib. |
adamk kromm
Member #5,432
January 2005
|
"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." thats the error. Also before i was compiling with runtime library Multi-threaded DLL (stupid me) but after changing it to just Multi-Threaded i got errors like this. 1>alleg_s.lib(allegro.obj) : error LNK2001: unresolved external symbol __imp__sprintf EDIT: thank you Matthew, but after doing that i still get errors like the following 1>alleg_srt.lib(allegro.obj) : error LNK2001: unresolved external symbol __imp__sprintf (i cant believe im having so much trouble...) ---------- |
|
1
2
|