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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - StephenGilbert

Pages: [1]
1
General / Re: Cannot Get 2.2 to Work - Crashes on Draw
« on: April 02, 2015, 07:25:19 pm »
Thank you. I feel a little foolish because I have no idea what an ICD is. All Google will tell me is an International Classification of Disease, and I'm sure that's not right.

In any event, the machine(s) in question do indeed return 1.1 (majorVersion, minorVersion) with getSettings(). Thanks for letting me know.

As I mentioned, I teach at a Community College so getting something like drivers fixed is not that easy. Our computers are bought on a State contract, installed by Dell and pretty much locked down so that nothing can be changed without doing a change to the base image and a reimage across campus. It's usually better if I can work around that. Since 2.1 doesn't seem to require Open-GL 2.1 (at least in the apps I've built so far), I can keep my class going for the next semester.

--Steve

2
General / Re: Cannot Get 2.2 to Work - Crashes on Draw
« on: April 02, 2015, 01:51:18 am »
Hello,

Sure; I just built a new version of the library with Visual Studio 2013 and stepped through the simplest ("green dot") program. The program crashes on line 445 of RenderTarget.cpp, specifically, this line:
 glCheck(GLEXT_glBlendEquation(equationToGlConstant(mode.colorEquation)));

In this case the mode.colorEquation is Add(0x0000000)

--Steve


3
General / Re: Cannot Get 2.2 to Work - Crashes on Draw
« on: March 28, 2015, 06:20:19 pm »
Thanks very much. Yes I did check debug/release builds and had those both correct. (I'm actually only checking the debug build; all the libraries with the -d in the name; same with the DLLs.)

It looks like you are on to something with the driver problem, though. I just copied the offending executables to a different lab with newer computers and they do not crash. The ATI driver difference happened somewhere between 8.56->8.64.

Thanks again for your help tracking down this problem. For the next semester, I'll just make sure all of my students know to use SFML 2.1 which seems to work on all the computers across campus. In the meantime, I'll put in an IT workorder to try and get the video-cards updated. I'm not very optimistic about that happening.

--Steve

4
General / Re: Cannot Get 2.2 to Work - Crashes on Draw
« on: March 28, 2015, 01:37:20 am »
Thanks for your reply. I'm pretty sure I wasn't mixing compiler versions. Each was downloaded into its own folder. I only tested the debug versions, and each folder had only the three runtime DLLs needed, again, each from the correct download folder.

For the three MingW compilers, I didn't use the prebuilt binaries but built the libraries myself.

I'll grab a verbose build command when I go into work in the morning and post it then.

Thanks again for your help.

Steve

5
General / Re: Cannot Get 2.2 to Work - Crashes on Draw
« on: March 28, 2015, 12:38:27 am »
Sorry. I forgot to add the list of DLLs that were loaded. All of them look like they come from the system folder.

Loaded 'C:\Users\sgilbert\Desktop\vs2012\SFML-2.1\Debug\SFML-2.2-VS2012.exe'. Symbols loaded.
Loaded 'C:\Windows\SysWOW64\ntdll.dll'.
Loaded 'C:\Windows\SysWOW64\kernel32.dll'.
Loaded 'C:\Windows\SysWOW64\KernelBase.dll'.
Loaded 'C:\Users\sgilbert\Desktop\vs2012\SFML-2.1\Debug\sfml-graphics-d-2.dll'.
Loaded 'C:\Users\sgilbert\Desktop\vs2012\SFML-2.1\Debug\sfml-window-d-2.dll'.
Loaded 'C:\Users\sgilbert\Desktop\vs2012\SFML-2.1\Debug\sfml-system-d-2.dll'.
Loaded 'C:\Windows\SysWOW64\winmm.dll'.
Loaded 'C:\Windows\SysWOW64\msvcrt.dll'.
Loaded 'C:\Windows\SysWOW64\user32.dll'.
Loaded 'C:\Windows\SysWOW64\gdi32.dll'.
Loaded 'C:\Windows\SysWOW64\lpk.dll'.
Loaded 'C:\Windows\SysWOW64\usp10.dll'.
Loaded 'C:\Windows\SysWOW64\advapi32.dll'.
Loaded 'C:\Windows\SysWOW64\sechost.dll'.
Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'.
Loaded 'C:\Windows\SysWOW64\sspicli.dll'.
Loaded 'C:\Windows\SysWOW64\cryptbase.dll'.
Loaded 'C:\Windows\SysWOW64\msvcr110d.dll'. Symbols loaded.
Loaded 'C:\Windows\SysWOW64\msvcp110d.dll'. Symbols loaded.
Loaded 'C:\Windows\SysWOW64\opengl32.dll'.
Loaded 'C:\Windows\SysWOW64\glu32.dll'.
Loaded 'C:\Windows\SysWOW64\ddraw.dll'.
Loaded 'C:\Windows\SysWOW64\dciman32.dll'.
Loaded 'C:\Windows\SysWOW64\setupapi.dll'.
Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'.
Loaded 'C:\Windows\SysWOW64\oleaut32.dll'.
Loaded 'C:\Windows\SysWOW64\ole32.dll'.
Loaded 'C:\Windows\SysWOW64\devobj.dll'.
Loaded 'C:\Windows\SysWOW64\dwmapi.dll'.
Loaded 'C:\Windows\SysWOW64\imm32.dll'.
Loaded 'C:\Windows\SysWOW64\msctf.dll'.
Loaded 'C:\PROGRA~2\Sophos\SOPHOS~1\SOPHOS~1.DLL'.
Loaded 'C:\Windows\SysWOW64\psapi.dll'.
Loaded 'C:\Windows\SysWOW64\uxtheme.dll'.
Loaded 'C:\Windows\SysWOW64\dinput.dll'.
Loaded 'C:\Windows\SysWOW64\hid.dll'.
Loaded 'C:\Windows\SysWOW64\wintrust.dll'.
Loaded 'C:\Windows\SysWOW64\crypt32.dll'.
Loaded 'C:\Windows\SysWOW64\msasn1.dll'.
Loaded 'C:\Windows\SysWOW64\ole32.dll'.
Unloaded 'C:\Windows\SysWOW64\ole32.dll'
First-chance exception at 0x00000000 in SFML-2.2-VS2012.exe: 0xC0000005: Access violation executing location 0x00000000.
Unhandled exception at 0x7534C9F1 in SFML-2.2-VS2012.exe: 0xC0000005: Access violation executing location 0x00000000.
The program '[7816] SFML-2.2-VS2012.exe' has exited with code 0 (0x0).

--Steve

6
General / Cannot Get 2.2 to Work - Crashes on Draw
« on: March 28, 2015, 12:25:35 am »
Hello,

I'm a teacher at a community college in California and I've been having my students work with SFML in their C++ I class. They have been using SFML 2.0 with both MingW and with Visual Studio. Today I tried to upgrade to 2.2 and was unsuccessful. Here are the particulars:

1. Using sample "green dot" starter from the getting started tutorial
2. Code compile and links and crashes on draw()

Operating System is Window 7-64 bit.
Video card is ATI Radeon HD 3470 (computer configured by IT)

Downloaded and installed prebuilt binaries for VS2012 for both 2.1 and 2.2.
  - Works for SFML 2.1, crashes on SFML 2.2
Downloaded and installed prebuilt binaries for VS2013 for 2.2:
  - crashes at same place.
Used CMake to build libraries for 2.0, 2.1 and 2.2 for MinGW 4.8.1 (from MingW.org).
  - 2.0 works, 2.1 works, 2.2 crashes on draw
Used CMake to build libraries for MingW64-4.82
  - 2.2 crashes on draw.

In Visual Studio I can get a stack trace which is shown below. Since I don't seem to have debugging symbols (although I am using the debugging version of the library), I can't tell what code is actually executing in the dll.

    00000000()   Unknown
    [Frames below may be incorrect and/or missing]   
    sfml-graphics-d-2.dll!50be0762()   Unknown
    sfml-graphics-d-2.dll!50be02e2()   Unknown
    sfml-graphics-d-2.dll!50bdfa86()   Unknown
    sfml-graphics-d-2.dll!50c092bd()   Unknown
    sfml-graphics-d-2.dll!50bdfa03()   Unknown
    sfml-graphics-d-2.dll!50bfedf8()   Unknown
    sfml-graphics-d-2.dll!50bdfa03()   Unknown
>   SFML-2.2-VS2012.exe!main() Line 19   C++
    SFML-2.2-VS2012.exe!_WinMain@16()   Unknown
    SFML-2.2-VS2012.exe!__tmainCRTStartup() Line 528   C
    SFML-2.2-VS2012.exe!WinMainCRTStartup() Line 377   C
    kernel32.dll!76df33aa()   Unknown
    ntdll.dll!77d59ef2()   Unknown
    ntdll.dll!77d59ec5()   Unknown

This is the first help request that I've submitted, so I'm not sure if I'm doing something incorrectly.

Thanks for your consideration.

--Steve

Pages: [1]