4coder » Forums » error on startup
iamwhosiam
Anthony Romano
5 posts

i am a man.

#13493 error on startup
6 days, 19 hours ago

im getting an error popup when i try to run 4coder

"w:\4ed\code\platform_win32\win32_4ed.cpp:610: OpenGL init fail - wglCreateContextAttribsARB missing"

does this mean i'm not going to be able to use future version of 4coder cus i have a crap onboard video card?
Croepha
David Butler
64 posts
1 project

I love pretty much anything technical, whether it be programming, networking, hacking or electronics.

#13494 error on startup
6 days, 18 hours ago Edited by David Butler on Nov. 13, 2017, 2:39 a.m.

A hack that might work would be to just use a software only version of Mesa, because the build of OpenGL that ships with windows is really old... This is a build that I use to get modern OpenGL on older machines: https://www.dropbox.com/s/9yqsp09jmbhxcct/OpenGL32.dll?dl=0

Download and copy that file into the directory that contains 4ed.exe

Of-course Allen will probably have a better solution...

404 Signature not found
iamwhosiam
Anthony Romano
5 posts

i am a man.

#13495 error on startup
6 days, 18 hours ago

hey it works! thank you!
Croepha
David Butler
64 posts
1 project

I love pretty much anything technical, whether it be programming, networking, hacking or electronics.

#13496 error on startup
6 days, 18 hours ago

Nice! no problem :) Btw, if you copy your build to another computer and want to use hardware acceleration, you will need to remove the .dll, so that it will use your GPU vendor's OpenGL implementation.

404 Signature not found
Mr4thDimention
Allen Webster
283 posts
2 projects

Heyo

#13499 error on startup
6 days, 15 hours ago Edited by Allen Webster on Nov. 13, 2017, 5:55 a.m.

Haha glad you were able to hack that in for now. No this will not alway be a problem. Now that the renderer is cleaned up properly, I am planning to start supplying alternate renderers to handle these sorts of problems. So, for instance, if I add a DirectX renderer, then if you are on a windows machine with poor support for OpenGL it will still work.

However that's not my top priority right now, so you'll want to keep Croepha's solution for a little while.