Desktop not working. Please help.

Monkey Targets Forums/Desktop/Desktop not working. Please help.

Stuart(Posted 2014) [#1]
What am I doing wrong? Please, would someone help me?
When Building, I don't receive error messages but when Building and Running I receive the following error messages:-
Building...
g++ -Wno-free-nonheap-object -I../glfw/include -I../glfw/lib -I../glfw/lib/win32 -I../openal/include -I../stb -c -o ../main.o ../main.cpp
g++ -Wl,--subsystem,windows -L../openal/libs/Win32 -o Debug/MonkeyGame ../glfw/lib/enable.o ../glfw/lib/fullscreen.o ../glfw/lib/glext.o ../glfw/lib/image.o ../glfw/lib/init.o ../glfw/lib/input.o ../glfw/lib/joystick.o ../glfw/lib/stream.o ../glfw/lib/tga.o ../glfw/lib/thread.o ../glfw/lib/time.o ../glfw/lib/window.o ../glfw/lib/win32/win32_dllmain.o ../glfw/lib/win32/win32_enable.o ../glfw/lib/win32/win32_fullscreen.o ../glfw/lib/win32/win32_glext.o ../glfw/lib/win32/win32_init.o ../glfw/lib/win32/win32_joystick.o ../glfw/lib/win32/win32_thread.o ../glfw/lib/win32/win32_time.o ../glfw/lib/win32/win32_window.o ../stb/stb_image.o ../stb/stb_vorbis.o ../main.o -lopengl32 -lOpenAL32 -lws2_32
Failed to find any usable GLFWFBConfigs
Unable to find a usable pixel format
Failed to create GLFW window
Done.

Do I have my config.winnt file incorrectly setup perhaps?
'--------------------
'MinGW path.
'
'Must be set to a valid dir for STDCPP target support.
'
'MinGW is currently available here:
' http://tdm-gcc.tdragon.net/download
'
MINGW_PATH="C:\TargetSDK\MinGW"
'MINGW_PATH="${SYSTEMDRIVE}\TDM-GCC-32"
'MINGW_PATH="${SYSTEMDRIVE}\MinGW32"
'MINGW_PATH="${SYSTEMDRIVE}\MinGW"
'--------------------


rIKmAN(Posted 2014) [#2]
Is the path to your MinGW dirrectory "C:\TargetSDK\MinGW"?

After you just build, does it create a working .exe?


AdamRedwoods(Posted 2014) [#3]
the recommended install for Mingw is c:\MinGW32\
Failed to find any usable GLFWFBConfigs
Unable to find a usable pixel format
Failed to create GLFW window

this looks like a graphics driver error. what is the graphics card?


dawlane(Posted 2014) [#4]
This has been mentioned before in a few other posts. Depending on the GPU; a driver update usually solves it as long as the driver supports OpenGL.


Stuart(Posted 2014) [#5]
rIkmAN, the answer to your question is no; after building it does not create a working .exe

I'm using an Acer Aspire 5720 , Intel Core 2 Duo processor T7300 ( 2.0 Ghz 800 Mhz FSB, 4 MB L2 cache ) , Up to 252MB Mobile Intel Graphics Media Accelerator X3100

Do you think my problem is being caused by Windows 8 ?


AdamRedwoods(Posted 2014) [#6]
https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Graphics&ProductLine=Laptop+graphics+drivers&ProductProduct=Mobile+Intel%C2%AE+965+Express+Chipset+Family

the 965 is older, but should work. i've gotten monkey to work on an intel950. try updating the driver on that link.

also, try turning off the depth buffer, as that may cause problems:
#OPENGL_DEPTH_BUFFER_ENABLED=0



SLotman(Posted 2014) [#7]
Yay for buggy Intel OpenGL drivers!!!!