Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: MS VisualStrudio9 C++ SFML: How to port exe on others PC?  (Read 15607 times)

0 Members and 2 Guests are viewing this topic.

T.T.H.

  • Full Member
  • ***
  • Posts: 112
    • View Profile
MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« Reply #15 on: October 10, 2008, 09:52:12 am »
Quote from: "fixus971"
Hi I tested on WinXP SP2 with framework 2 just installed..
with Debug version all go ok
with Release mode Mini program halt on definition of RenderRindow


Did you compile on Windows 2000 and then did run it on Windows XP ?

or

Did you both compile and run it on Windows XP ?


For your info: the problem I am having (see this thread) sounds very similar. I have Windows 2000, too

Maybe something to try out: get revision 651 directly from the Subversion repository of SFML and see whether your application crashes using that revision. In my case revision 651 and all below work while revision 652 and all above crash.

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« Reply #16 on: October 12, 2008, 06:11:47 pm »
Hi to all
Hi T:T:H:.. we can collaborate to understand our problems source to give more info to SirJulio & Laurent and try to found a solution.
I love SFML and I want to spread great software coded with that.
Now post new data on my thread.
For your questions..
My Master PC where I compile is a XP SP3 nVidia with SFML svn(1.4) compiled with MS Visual Studio V9 2008
Then I try on my old PC that is a Win2000 SP4 Framework2 (can't instal3 on Win2000) On that PC I haven't others compiler but use "Dependency Walker" and now installed a free MS Debugging found here:
http://www.microsoft.com/whdc/devtools/debugging/default.mspx

I have other 3 different PC with XP but I can't mismanage a lot on these.. are reserved for work.
One is only a server and have installed only XP and KIS antivirus.
One have olds VS VB 6 installation
One on laptop have XP and I start to try on it now

For now I Understand that there is a problem on graph window initialization related to OpenGL that have different components on all my PC I suppose.
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« Reply #17 on: October 12, 2008, 06:15:39 pm »
Hi.. now I try to use compiled code with all DLL on my old PC that is a Win2000 SP4 Framework2 (can't instal3 on Win2000) On that PC I haven't others compiler but use "Dependency Walker" and now installed a free MS Debugging found here:
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
After installation of Windows symbols I get more accurate response but don't understand very well it:
 
Code: [Select]
Microsoft (R) Windows Debugger Version 6.9.0003.113 X86
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: P:\Fix\Trasporter\bin\TrasporterFW2_Debug.exe
Symbol search path is: C:\WINNT\Symbols;srv*c:\SymbolCache*http://msdl.microsoft.com/download/symbols
Executable search path is:
ModLoad: 00400000 006b3000   TrasporterFW2_Debug.exe
ModLoad: 78460000 784e1000   ntdll.dll
ModLoad: 693e0000 694a7000   C:\WINNT\system32\OPENGL32.dll
ModLoad: 78000000 78045000   C:\WINNT\system32\MSVCRT.dll
ModLoad: 796b0000 7976b000   C:\WINNT\system32\KERNEL32.dll
ModLoad: 79260000 792c5000   C:\WINNT\system32\ADVAPI32.dll
ModLoad: 77120000 7718f000   C:\WINNT\system32\RPCRT4.dll
ModLoad: 79340000 7934f000   C:\WINNT\system32\Secur32.dll
ModLoad: 77f40000 77f7c000   C:\WINNT\system32\GDI32.dll
ModLoad: 77e10000 77e6f000   C:\WINNT\system32\USER32.dll
ModLoad: 6fa30000 6fa50000   C:\WINNT\system32\GLU32.dll
ModLoad: 51000000 51049000   C:\WINNT\system32\DDRAW.dll
ModLoad: 72840000 72846000   C:\WINNT\system32\DCIMAN32.dll
ModLoad: 77550000 77581000   C:\WINNT\system32\WINMM.dll
ModLoad: 10200000 10323000   P:\Fix\Trasporter\bin\MSVCR90D.dll
ModLoad: 10480000 10556000   P:\Fix\Trasporter\bin\MSVCP90D.dll
(78c.790): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00131f04 ecx=00000009 edx=00000000 esi=7ffdf000 edi=00131f88
eip=7847193c esp=0012f984 ebp=0012fc98 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202
ntdll!DbgBreakPoint:
7847193c cc              int     3
0:000> g
ModLoad: 75990000 75997000   C:\WINNT\system32\mmdrv.dll
ModLoad: 5f580000 5f5a8000   C:\WINNT\system32\DINPUT.DLL
ModLoad: 6f910000 6f918000   C:\WINNT\system32\HID.DLL
ModLoad: 783c0000 78450000   C:\WINNT\system32\SETUPAPI.DLL
ModLoad: 79060000 790c5000   C:\WINNT\system32\USERENV.DLL
ModLoad: 71710000 71794000   C:\WINNT\system32\COMCTL32.dll
ModLoad: 015e0000 01add000   C:\WINNT\system32\atioglxx.dll
ModLoad: 6c7e0000 6c7e6000   C:\WINNT\system32\MCD32.DLL
(78c.790): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=0ac68000 ebx=0ada0020 ecx=00000dce edx=0ade8ca0 esi=00000000 edi=00080000
eip=0168e9d6 esp=0012efbc ebp=0012efd0 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00010202
*** WARNING: Unable to verify checksum for C:\WINNT\system32\atioglxx.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINNT\system32\atioglxx.dll -
atioglxx+0xae9d6:
0168e9d6 0f6f00          movq    mm0,mmword ptr [eax] ds:0023:0ac68000=????????????????
0:000> g
(78c.790): Access violation - code c0000005 (!!! second chance !!!)
eax=0ac68000 ebx=0ada0020 ecx=00000dce edx=0ade8ca0 esi=00000000 edi=00080000
eip=0168e9d6 esp=0012efbc ebp=0012efd0 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202
atioglxx+0xae9d6:
0168e9d6 0f6f00          movq    mm0,mmword ptr [eax] ds:0023:0ac68000=????????????????
0:000> g
(78c.790): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=0ac68000 ebx=0ada0020 ecx=00000dce edx=0ade8ca0 esi=00000000 edi=00080000
eip=0168e9d6 esp=0012efbc ebp=0012efd0 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00010202
atioglxx+0xae9d6:
0168e9d6 0f6f00          movq    mm0,mmword ptr [eax] ds:0023:0ac68000=????????????????
0:000> g
(78c.790): Access violation - code c0000005 (!!! second chance !!!)
eax=0ac68000 ebx=0ada0020 ecx=00000dce edx=0ade8ca0 esi=00000000 edi=00080000
eip=0168e9d6 esp=0012efbc ebp=0012efd0 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202
atioglxx+0xae9d6:
0168e9d6 0f6f00          movq    mm0,mmword ptr [eax] ds:0023:0ac68000=????????????????
0:000> g
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

T.T.H.

  • Full Member
  • ***
  • Posts: 112
    • View Profile
MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« Reply #18 on: October 15, 2008, 10:36:20 am »
"Trasporter" is your own developed application, right?

That debugger log does contain things like "TrasporterFW2_Debug.exe" and "MSVCR90D.dll" and "MSVCP90D.dll" - so is it the debug or the release build of your application that is crashing?

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« Reply #19 on: October 15, 2008, 01:27:40 pm »
Is equal. I tried Release version without D etc.etc. but get very similar result.
I get more fortune with mini application(console) explained in my forum post but crash when I insert into it code instruction to activate a window.
Now I have 0.1h/day to work on in workdays.
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

Avency

  • Full Member
  • ***
  • Posts: 113
    • View Profile
MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« Reply #20 on: October 15, 2008, 04:45:28 pm »
I have the same problem (and somehow think that it is linked to http://www.sfml-dev.org/forum/viewtopic.php?t=605, http://www.sfml-dev.org/forum/viewtopic.php?t=460&start=15).
Older revisions of sfml were working ok, but since the last big change in the window-module it stopped working.
Everything runs fine on nvidia cards, but it fails on ati-cards (maybe others too).
Note that there is always that error code 0xC0000005.:
Quote
(78c.790): Access violation - code c0000005 (first chance

The same error seems to occur in combination with fonts (also no problem with nvidia cards so far):
http://www.sfml-dev.org/forum/viewtopic.php?t=704

It looks like a driver problem to me (from my research with google).

T.T.H.

  • Full Member
  • ***
  • Posts: 112
    • View Profile
MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« Reply #21 on: October 15, 2008, 08:39:29 pm »
Currently I assume there are two different problems.

 

anything