Alice
May 22, 2020, 6:12pm
#1
Olá, Hi!
Sorry first post, beginner…
Using OF on windows from openframeworks.cc/download/
Does it work?
is the most recent release. It’s a minor version, with bugfixes only, so it is fully compatible with projects developed for 0.11.0 or any newer version. Please see the changelog to get an overview of the differences between versions.
Then I installed openframeworks.cc/setup/msys2/
And followed guide (good guide, guiders!)
This is my output, what to do??
Compiling Resource /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/project/msys2/icon.ico
Linking bin/blendingExample.exe for msys2
/mingw32/bin/g++ -o bin/blendingExample.exe obj/msys2/Release/src/main.o obj/msys2/Release/src/ofApp.o obj/msys2/Release/icon.res /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a -lpthread -mwindows /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/fmodex/lib/msys2/libfmodex.a /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/fmodex/lib/msys2/libfmodexL.a /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/kiss/lib/msys2/libkiss.a /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/pugixml/lib/msys2/pugixml.a /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/rtAudio/lib/msys2/librtaudio.a /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/tess2/lib/msys2/libtess2.a /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/uriparser/lib/msys2/liburiparser.a /c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/videoInput/lib/msys2/libvideoinput.a -LC:/msys32/mingw32/lib -lcairo -lz -lssl -lcrypto -lglew32 -lglfw3 -lcurl -lksuser -lopengl32 -lgdi32 -lmsimg32 -lglu32 -ldsound -lwinmm -lstrmiids -luuid -lole32 -loleaut32 -lsetupapi -lwsock32 -lws2_32 -lIphlpapi -lComdlg32 -lfreeimage -lboost_filesystem-mt -lboost_system-mt -lfreetype -lcairo
make[2]: Entering directory ‘/c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/blendingExample’
compiling done
to launch the application
cd bin
./blendingExample.exe
- or -
make RunRelease
make[2]: Leaving directory ‘/c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/blendingExample’
make[1]: Leaving directory ‘/c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/blendingExample’
Alice@Alice-P732 MINGW32 /c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/blendingExample
$ make run
[warning] ofInit: MSYS2 has limited support for UTF-8. using Portuguese_Portugal.1252
[ error ] ofAppGLFWWindow: 65542: WGL: The driver does not appear to support OpenGL
[ error ] ofAppGLFWWindow: couldn’t create GLFW window
/bin/sh: line 1: 1546 Segmentation fault ./blendingExample.exe
make: *** [/c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:186: run] Error 139
Alice@Alice-P732 MINGW32 /c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/blendingExample
$ make copy_dlls
copying dlls to bin
48 dlls copied
Alice@Alice-P732 MINGW32 /c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/blendingExample
$ make run
[warning] ofInit: MSYS2 has limited support for UTF-8. using Portuguese_Portugal.1252
[ error ] ofAppGLFWWindow: 65542: WGL: The driver does not appear to support OpenGL
[ error ] ofAppGLFWWindow: couldn’t create GLFW window
/bin/sh: line 1: 1660 Segmentation fault ./blendingExample.exe
make: *** [/c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:186: run] Error 139
How to fix? Thank you!
Alice
Alice
May 22, 2020, 6:48pm
#2
Hi again
The no window example runs! That’s very good news!
Do you have a guide to port the graphics to the console?
I’d like to use ofMesh on the window, or the console, it should work.
Is it a driver issue?
[ error ] ofAppGLFWWindow: 65542: WGL: The driver does not appear to support OpenGL
Thank you.
Alice
as1er
May 22, 2020, 9:38pm
#3
Olá Alice, tudo bem?
Podes ver se isto dá?
Desculpa não poder ajudar no windows, avisa se conseguires depois.
A
ofFbo fbo;
ofPixels pixels;
void setup(){
fbo.allocate(72,56);
}
void draw(){
fbo.begin();
ofClear(127);
ofTranslate(36,29);
ofRotateX(ofGetSeconds() * 3 + ofGetElapsedTimef());
ofRotateY(ofGetSeconds() * 3.7 + ofGetElapsedTimef() * 0.1);
ofBox(30);
fbo.end();
ofSetColor(255);
fbo.draw(0,0);
fbo.getTexture().readToPixels(pixels);
for (int y = 0; y < 56; y++)
{
for (int x = 0; x < 72; x++)
{
if(pixels.getColor(x,y).getBrightness()>200)
cout << '*';
else
cout << ' ';
if(x == 71) cout << endl;
}
}
cout << endl
<< endl
<< endl;
}
int main( ){
ofSetupOpenGL(72, 56, OF_WINDOW);
ofRunApp(new ofApp());
}
Alice
May 23, 2020, 12:45am
#4
Oh, tb não dá…
// Alice@Alice-P732 MINGW32 /c/Users/Alice/Documents/of_v0.11.0_msys2_release/apps/myApps/nowindowMeshConsole
// $ make run
// [warning] ofInit: MSYS2 has limited support for UTF-8. using Portuguese_Portugal.1252
// [ error ] ofFbo: GL frame buffer object not supported by this graphics card
// /bin/sh: line 1: 2333 Segmentation fault ./nowindowMeshConsole.exe
// make: *** [/c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:186: run] Error 139
// $ make run
// [warning] ofInit: MSYS2 has limited support for UTF-8. using Portuguese_Portugal.1252
// [ error ] ofAppGLFWWindow: 65543: WGL: A forward compatible OpenGL context requested but WGL_ARB_create_context is unavailable
// [ error ] ofAppGLFWWindow: couldn't create GLFW window
// /bin/sh: line 1: 1410 Segmentation fault ./blendingExample.exe
// make: *** [/c/Users/Alice/Documents/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:186: run] Error 139
Mas este já deu! Os gráficos estão todos estranhos…
// Alice@Alice-P732 MINGW32 /c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/imageSubsectionExample
// $ make run
// [warning] ofInit: MSYS2 has limited support for UTF-8. using Portuguese_Portugal.1252
// OpenGL Warning: GetRandomRgn returned (-1) instead of (1), VisibleRegions update failed
// Alice@Alice-P732 MINGW32 /c/Users/Alice/Documents/of_v0.11.0_msys2_release/examples/graphics/imageSubsectionExample
// $
Sorry non portuguese speakers, still no work, this one did work.
What to do?
Alice
May 23, 2020, 7:36am
#5
Hi again.
Console is working! Thanks @as1er !
Still no fbo’s and opengl access, but it’s a start!
I tried updating graphics drivers, but same result.
How do I add shadows?
**********************************************************************
* * ****** ***** ************* ***********************************
** *** * ****** *** *************
* * * ** * * * ***
* ** * * ** * * * ****
* ********* ********* * * **
************************* ************************
* ********************** * **************** ****** ** ***** ** *
**************************** * * * ***************** **
****** ** ************************************************** *********
* * ** * * * * **** ** ***** ** **********
************************** ***** ** * * * * * *
************************** * *** ******************************
***** ********************* ** * * ***************************
* ******** *** * * * * * * * ** ** **
******************************** **********************************
*********** * * ******************** * *************************
********** ********************** * ***************
********************************************* * ** * *************
** * *** ***************************************
** * * *** ****
** ** * * ****
** * * **** * ** ** *** ****
** * ** ** * * *** ****
** * ** **** ** * * ******** ** ****
** * **** ** * ** * ********** * ****
** * * ******* ** * *** * * ** * ****
** ******* ** ** * ************* * * ****
* ** ** *** * * ************ ** ****
** * * ****** * ** * * ****
* * ** ***** * * **** * ** ****
* *** ** ** * * * ** ****
* * ** * ** ** ** * * * ** * ****
* * ** * ***** * * * ** ****
* *** * * ** * * * *************** *** * ****
* ***** ** ***** * * * ************ ** * ****
* ***** * * *** * * ****
* *** *** * * * ** ****
* * * * * * ****
* * * * * * ****
* ** * * ****
* * *** ** * * * ****
* * * *** * * ** * ****
* **** ** * * ***** * ** * ****
* *** ** * * ***** * ** ****
* ** * * *** * * * ***** * ****
* * * *** *** *** * ** * ****
* ****** * * * ******* * ****
* * *** * *** * * * **** * * ****
* * ** ** *** * *** * * ** * ** ****
** **** ****** * ********* ** * * * ****
** * * **** * * * ** * *** ****
* ** **** * ** * ** ****
* * ****** * * ** ** ** ****
* * ***** * * ** * * * * ****
* ******** * * ** * * ****
* * * ** * * ****
*********************** * ** * ****
******* ** ****** **** * * * * ****
********** * **** ** ******** * * *** ****
**** * ** * ** * ********** ** ***** ****
********************** * ********** ** ******* ****
** * * ** ** ** **** *** ****
* ***** ** * ** **** ** *** ** ****
* *** * ** * ***** ** ** ** ****
* * ** ************ ** * ****
* * ** ** * *** **** ****
* * * * ** * **** * **************************
* *** * * * **** **** * * * * *******
* *** ** ** **** **** * * * ******
* ****** * ** *** **************************
* **** ** *** ** * ***************************
* * ** * **** *****
* ** * *** * *****
* ** ** ****** * *****
* * * ** ** ********* * * * **** *****
* * * * ** *** ****** *** * ********* *****
* * **** ** *** ****** * ********* *****
** * **** * * ** ******** * * ** ****** * *****
** **** ** *** * *** * ** ** *****
**** **** * * ****** *** * ***** * *****
** * * * ***** * * * *********** * * * **** * *****
* ******** ** ******* ******** * *** * *** ******
* ****** ********** ** ***** * * ******
* * * ***** * ************* * **** * * ******
* * * * *** ** ** *****
* *** ****** * * *****
* ***** ****** ** * ******
* ** *** * * * *****
* * * ** ** * * * *****
* * * * ** ** * * *****
* * * * ** ** ** * ******
* * * * * * ** * *****
* * * * * **** ** ** * ******
*** * * * * * * * ** * * * *****
** * * * * * * ** * * * ******
** * * * * ** * * ******
** * * * * * ** * ** ******
** * * * * * ** * * *****
** * * * * * * ** * * *****
** ** **** * *****
** * * * ******** *** *****
** * ** *** ***** *****
** **** * * ******
********* * * ******** * ** ****** *** ************
**** * * * ** * * * *** ** * * * * * *********
************************************************* * * * *************
as1er
May 23, 2020, 1:43pm
#6
How nice you got it working!
Here’s a simple shadow teaser
****
*******************
**********************************
o*******************************************
oo**********************************************
ooo*****************************************oooo
ooooo***********************************oooooooo
ooooooo*****************************oooooooooooo
oooooooo************************ooooooooooooooo
ooooooooo******************ooooooooooooooooooo
oooooooooo*************ooooooooooooooooooooooo
oooooooooooo******oooooooooooooooooooooooooooo
ooooooooooooo*ooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooo
oooooooooooooooooooooooooo
ooooooooooooooooooooooooo
oooooooooooooooooooooo
ooooooooooooooooooooo
oooooooooooooooooo
oooooooooooooooo
oooooooooooooo
oooooooooooo
ooooooooooo
oooooooo
*
*****
**********
**************
*******************
***********************
***************************
********************************
*************************************
******************************************
******************************************
*******************************************
********************************************
********************************************
*********************************************
**********************************************
***********************************************
************************************************
************************************************
*************************************************
**************************************************
**************************************************
o************************************************
ooo**********************************************
oooo*******************************************
ooooo*****************************************
oooooo**************************************
ooooooo************************************
oooooooo**********************************
oooooooooo*******************************
ooooooooooo*****************************
oooooooooooo***************************
ooooooooooooo************************
oooooooooooooo**********************
ooooooooooooooo********************
oooooooooooooooo******************
ooooooooooooooooo****************
oooooooooooooooooo*************
oooooooooooooooooo***********
ooooooooooooooooooo*********
ooooooooooooooooooo******
ooooooooooooooooooo****
ooooooooooooooooooo**
ooooooooooooooooooo
oooooooooooooooo
ooooooooooooo
ooooooooooo
ooooooooo
oooooo
ooo
Depois aparece, mostro-te cores e não andar na janela, isso funciona aí?
Something like this should help you start
float s = pixels.getColor(x,y).getBrightness();
if(s<20) cout << ' ';
else if(s>20&&s<150) cout << 'o';
else if(s>150) cout << '*';
Alice
May 23, 2020, 5:43pm
#7
Sha.dows!
o0**********************************************************************
0**0*0*******o00*****o*************00***********************************
0**o0*0000o** *o*o*o0oo*******oo*0oo 0oo00********0#o***0*o*************
0***o*o**o#*0#*oo**o*o0**0o0o#o o0oo* 0oo#o#o0o****o*oo*#*oo00oooo* ****
0**0o0o0o#0**o*o0o*#*o#**o##*0*oo*o#*o0o#o####****oo**0*#*0o*0o**o00****
0************0o***********0o#o #0 ##oo #oo0*0#o0**o0*o*o*o**oo0*#*o0***
*****************************00000000o00ooo0oo0*************************
***0********************************************************************
********************************************00***********************0**
************************************************************************
**00*0*0***0*0*00*0****0**0**0******************************************
0************************************0****0***************0**0****00**0*
0***********************************************************************
0***********************************************************************
0***********************************************************************
0***********************************************************************
0****************0******************************************************
0**********0************************************************************
0***********************************************************************
o****00000000*0**************00*****************************************
0**0*****0**0***0**00o0#0*00o 000***00ooooo000ooooooooooo00o0o00000****
o**0********0o00o0*00***0**o ** #*****0#0000************00****00**00****
o**o********00 # #o0*****0*00**0o**0**********0 o* 00**0o****
o**o*****0000o# # *******0**#*oo0*0*0**0000****** *0 #o# 00***0****
o**0*****o0000#o0********0**oooo**0*************0o ##** ooo *****o****
o**0***00o0oo000******0***0*0o*o**0**************o #o**** oo0o*****o****
o**0***00o##*0oo*******0***ooo0#****************** *****000o0*****o****
o**0*0*000**0********0******o** *****************ooo0o***000o0*****o****
o**00****0o**o****0 * 0*****o**0**0*o****************0*oo0*00o*****o****
o**0**00*o0o## 0** * 0******oo0***oo********00*00****0o **oo*****o****
o**000*o0** ### 0**#*o0*******0****oo**0*******00#oo000o ooo o*****o****
o**0#0*******## o**o0oo******0o****oo*o 0#0#00*o#0oo0oo0 0o # *****o****
o**o#o*0**o0*o #****00******oo****oo# #0o*o ooo o0 #** o *****o****
o**ooo **#o#**o **o*0*************oo# o0oo0*000****#ooo0*0 *****o****
0**o#0***0*0**o******0*0o***o******o********************#oo*0#*****o****
0**0********0 o******* 0#0**0*o****o00******************o *o*o****oo****
0********0o00*******0** #0 0*o0**0o oooo0000*** o* o00**0o****
0******0*o#00000***0#0o o*0****# 0# ****0* o****
0**0**00#0**0o000*000***o *0***0*# 0 #0o#o#oo o****
0**o**0oo*******000**0****0**#***00# #o0*#*0oo****
o**#0000*0o0000o#0*00**00********00oo# # o 0 o 0****
o**0*0*****0***0***0*o#*****0**0*0******0ooo# oo 0****
o**0o*********o**0o 0*0****#o0**0o0o0ooo0000*000oooo0oooooooooo###o****
o***********o0****o#**#*****o#***0o *#0**0o**0o00oooooooooooo0000o0o****
o**0o***********o 0*o******00*0*0**0***0******00 oo #*# 0****
o**00***0**0**0 o**0*******0****0***0**0******00 #** 0o* 0****
o**o**0******o o***00*******0*0****************o0 #oo#o0* 0oo o #0****
0**o********# o****0*********00**********0*0***o0### o##0 *#oo #0****
0**o0******o #*********0*********00*0**********o0 # *o***0 # #*****
0**o00*****#****0******0**00**oo*****o0******0*o0# #o 0**o*0** o*****
0**oo0******# o00*********o*00*********o0****00oo ##o**#****o #*****
0**o#0 #*****0 o*******0*o*o0o oo #0*00**00*00 # 0* #**** ####*****
0**0 o# #**0#0o*********0*0*# # ##00***00o0 #ooo* #0**# *o o*****
0**oo0ooo0*##o*********o**0* # #oo*****0ooo0***#0* o** o*****
0**#0*o00*0#o**********oo0*o ####00**0*0 o#0**00*0 ***# #o*****
0**00000 o ***********0*o* # oo****0o##00*0** *0o#o o0****
0**o0o0o0ooo0ooo00ooooo*o** 00**0o 00*o** o** o0****
0***********************o*o o# oo***o *0*o*o #0 o*****
0***********************00 ******0 #0***o *0*0*o # o*****
0**********************0*0 *********0 #0***o ***** oo o*****
0**********************0*0 o**********o #0**o o******o #ooo*****
0**********************o* 0**********o #o**o #0********0 # ##0*****
0****************0*0***o* **0o***00**0 o**o 00******** # o*****
0**0******#**oo#00oo0**o0 #***00**o**** 0**o oo****0*** # 00*****
0** 0***oo*0oo*00o*o***o# 0*0o*****0***o 0**# ## 0*#*** 0*******
0** #oo#*0ooo*0**o000**o0 0************o # o0**# o ## o0o **0*****
0** o *0oo0*000**0o***o*# 0***0 0******** 00*000o0o0000o##o00oo00*****
0** #0*0o****0*0oo****o**#0************** 0o**************************
0** o0*o*******o o***0***000***0******** *o**************************
0*0#o00*#******* 0**0***0oo0# o 0*****# *0***********0**************
0*0o# oo o****** #***0***oo*# o***0 0*0**************************
0**0ooo*#******o ***o*** #*o 0***o #*o***************************
0**0*0**0**0o # ***0o** o0o*# ****# #0o0*o0***000000oo00000000*****
*** 00000 o0o 00*# o***o0#*o0000*****o0000*o0***0# # #*****
0** *0***0**0# **0o o***0o0**o0#o********o**o**o** # o # 0*****
***o******0o0# #*000 0****o0***0*********0o**0**#*0o 0o*******o## 0*****
0**o00****o 00 o*00* 0*****0****o********00*******0o *********0#oo0*****
0***0**0**o0o0 0**** 0******0***********00*0**0*0*o0#*********#*0o0*****
*******0**0 o0 0**** 0*******o*********o**o0***0**0o#********* *0o0*****
*******0***0** 0**** o********00*****00********oo000#**0***0**#00o0*****
*****0*0***0**#***** o************00****o******# o00#*********o*00******
**************0*****o0******************0******o 00*o*0*****0*0**0******
********************00******************0******o000*o****0****0*********
******00*0******000o00******************o*******0*0*#*********0*00******
****0***********00oo00******************0*******0***0*0*********00******
*******00*0**0******o*************************oo# # *0****0****0o******
*******000o*00o00000*00*00*******00*********00** *0000*0****0#******
************oooooo0##oo*0000000*000000******o***o # *oo000o**00oo******
**0********0****00# 0 o0000**0**00000******oo**# * ## #o*oo #******
**0*0*o*o*o0*o*o*# #0 #o o0o0**00ooo**00**##**## * o# #*0 0# ******
**0*****0*o**#*#* #*# o**** 0000##o**00**##** o0o#* oo *#oo0#******
****00**o*o0*o*00# ##oo*****o*oo0ooo**o*o00 *0o0o ** #oo*0o#o#******
***0****0****o*o0# # 00****o# o## o**00*0*o #*00o * 0o *#0 oo******
***0*0**o*00* *o0# # #o****#o o#ooo*******o00****o0# #o0oo0o oo******
***#*o*0o*0**#*oo*#ooo 0 o**# o ###ooo***0***0****0*o## o# ##o o******
*** *#*0o* *0 *#o* oo0 oo 0*o #### ooo***0*00*****o0 *# o#ooo# #o******
**00*o*00*o*0 *o0* #o0 *o#o ####o#o o**0o********0o0o ## o# #******
**0o*o*oo*#*0 *##* #00 o o##oo0oo ##o******o*oo****o #0o#o# o oo******
**00*0*00*#*0 *o0*# 00#0 # 000o o****0# 0oo0**0 #0**00o #0#0******
**00*o*oo* ** *o#* o0o#*o#0 **o o**# 0**0***000**0000#o*# o******
***00o*o#0## #o* o*#0* **0o o** *****o0*0*o******#000o#o******
**o### ## #o #o0##oo *o#*0oooo0***********o0*******00000o #******
**o # # 0o o0oo*#*o*0oo0***********0******000oo0oo ******
**0**00000*00000000**000**0*00***0**************************0000*0******
**********0*0*****0*****************************************************
************************0***********************************************
************************************************************************
oxillo
May 24, 2020, 6:27am
#8
Hello Alice,
From all the error messages I see in your logs, it looks like your graphic card does not support some OpenGL features. Quite strange !
Are you running on a virtual machine ?
Can you share the brand and model of your graphic card ?
Tools like GPU Caps Viewer may help to see what features are supported.
Alice
May 24, 2020, 1:10pm
#9
Hi @oxillo ,
Not quite sure if the machine is virtual, or real, as I am tunneling from a Raspberry Pi at my apartment over a VPN to the studio machine where I work and deploy (apparently the binary I deployed is already running on quite some machines nicely:).
I do have admin priviledges at this windows machine, thank you for directing me to GPU Caps Viewer, very nice piece of software. GPU has OpenGL 2.1 (87 ext) - Chromium, 87 GL Extensions, 0 WGL Ext, I can run OpenGL 1.1 RGB Triangle, GL 1.2 Simple Mesh, GL 2.1 CEL-SHA.DOW, GL 2.1 Vertex Displacement Mapping, GL 2.1 HDR, DoF, and Radial Blue. Do you know if they publish the source for these demos? They look awesome! GL 3.1 Triangle of Death does not run. Guess the machine is stuck at GL 2.
Is there a way I can force openFrameworks to using GL 2? Sounds like more than enough. The studio doenst even use GL anymore. So I guess this is solved. Apps run, even though they fail at this machine, is OF forcing GL 3.1?
coding
May 24, 2020, 2:42pm
#10
Hi Alice
You didn’t ship with libeay32.dll, did you? Never, ever, ever, download windows dll’s from the internet. Unless you know what you’re doing. We are shipping to end users, not opening backdoors for strangers.
oxillo
May 25, 2020, 5:23am
#11
Hello @Alice ,
To change default OpenGL version, you need to create your window differently.
You need to setup an ofGLWindowSettings struct (or ofGLFWWindowSettings) and pass it to ofCreateWindow(). This replaces the call to ofSetupOpenGL() in main.cpp.
Please find below how it is done in the gl/gpuSystemParticleExample:
int main( ){
ofGLWindowSettings settings;
settings.setGLVersion(2, 1); // Fixed pipeline
// settings.setGLVersion(3, 2); // Programmable pipeline
settings.setSize(1024, 768);
ofCreateWindow(settings);
if(!ofGLCheckExtension("GL_ARB_geometry_shader4") && !ofGLCheckExtension("GL_EXT_geometry_shader4") && !ofIsGLProgrammableRenderer()){
ofLogFatalError() << "geometry shaders not supported on this graphics card";
return 1;
}
ofRunApp(new ofApp());
}
Alice
May 26, 2020, 8:37am
#12
Hi @oxillo ,
Thank you for your example main. (2, 1) is enough.
Hi @coding ,
Rest assured, no external dll’s other than pacman repos are utilized.
Hi @as1er ,
Please have a look at the machine specs, graphics have free glitch built-in. Bins almost done. Debian .AppImage portable configuration for holes still taking some time. Do you want a stripped down min ofxs373MiniConsole display?
Hi @all ,
Thank you for MSYS2, thank you for OF on MSYS2. I can build from my eco friendly Raspberry Pi to target machs. So I guess this is solved.
Have a nice day.
Alice