Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Error: cannot convert to bool in assignment

$
0
0

@flowingisart wrote:

Hello everyone!

I was trying to build OF 0.8.4 on Arch Linux;
The newer packages that are hosted by the AUR are going though some issues or I would install those to but the Cyril Live Coding system is based off OF 0.8.4 so I thought I would start there.

I’m following the installation guide from OF
http://openframeworks.cc/setup/linux-install/

Installing the dependencies gave me some gripe but after a few re-installs everything worked just fine.

After that when I go to run “./compileOF.sh -j3” I get the following error…

…/…/…/libs/openFrameworks/gl/ofVbo.cpp:330:45: error: cannot convert ‘ofPtr’ to ‘bool’ in assignment
supportVAOs = ofGetGLProgrammableRenderer();// || glewIsSupported(“GL_ARB_vertex_array_object”); <- this should work but has false positives on some cards like emulation in vm’s
^
make[1]: *** [makefileCommon/compile.core.mk:230: …/…/…/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/gl/ofVbo.o] Error 1
make: *** [makefileCommon/compile.core.mk:207: Debug] Error 2
there has been a problem compiling Debug OF library
please report this problem in the forums

I re-installed glew to see if that would do anything but alas it did not.

Any suggestions?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles