Open egradman opened 11 years ago
the midi branch is actually the most up-to-date. It is supposed to be compiled against the current develop branch of OpenFrameworks. Be sure to get the last ofxSimpleGuiToo from my repository here: https://github.com/hvfrancesco/ofxSimpleGuiToo it has been modified in the last days in order to work with latest versions of other addons, so be sure to checkout latest changes (from the error reported it seems you are not using the current version). get last ofxTimeline by James George from here: https://github.com/YCAMInterlab/ofxTimeline this version of ofxTimeline comes with a script to retrieve other addons it uses, I suggest you should get rid of ofxTween, ofxMSATimer, ofxTextInputField and ofxRange by deleting their folders, clone YCAM version of ofxTimeline and then use tha clone_addons.sh script to retrieve the correct version of the other needed addons. Let me know if it works.
i fall in the same error, i tryed with clone_addons.sh, but it still doesn't work
gabriel
../../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h|207|error: ‘setPos’ was not declared in this scope|
can't pass this one .... someone have a clue ?
Ok the setPos Problem is solved "renaming all the "setPos" to "setPosition" did the trick"
http://forum.openframeworks.cc/index.php?topic=12077.0
now the next stop is on:
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h|263|error: no matching function for call to ‘ofxTextInputField::draw(std::basic_string
I get also a bunch of warnings end errors when compiling for 64-Bit sidux debian, using ofx 8.4 with freshly cloned addons (this was quite a mess, too)...
There obviosly als seems to be a problem with mpeClientTCP
- which file is missing here?
Thanks for the efforts! (I hope it is ok to dump the complete list from console here, is there a way to create pop-up-style blocks for long and boring passages?)
src/testApp.cpp:1454:15: warning: multi-character character constant [-Wmultichar]
if(key == '£' && !bTimeline)
^
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/autotuned_index.h:35:0,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/all_indices.h:43,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/flann_base.hpp:44,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/flann.hpp:50,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:69,
from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10,
from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5,
from src/quad.h:9,
from src/testApp.h:17,
from src/testApp.cpp:1:
../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/ground_truth.h: In function ‘void cvflann::find_nearest(const cvflann::Matrix<typename Distance::ElementType>&, typename Distance::ElementType*, int*, int, int, Distance)’:
../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/ground_truth.h:45:44: warning: typedef ‘ElementType’ locally defined but not used [-Wunused-local-typedefs]
typedef typename Distance::ElementType ElementType;
^
In file included from ../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderFloat.h:5:0,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:43,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiPage.h:39,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:37,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiToo.h:41,
from src/testApp.h:27,
from src/testApp.cpp:1:
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h: In member function ‘void ofxSimpleGuiSliderBase<Type>::draw(float, float)’:
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h:209:14: error: there are no arguments to ‘setPos’ that depend on a template parameter, so a declaration of ‘setPos’ must be available [-fpermissive]
setPos(x, y);
^
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h:209:14: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from src/testApp.cpp:1:0:
src/testApp.h: At global scope:
src/testApp.h:103:5: error: ‘mpeClientTCP’ does not name a type
mpeClientTCP client;
^
src/testApp.cpp: In member function ‘void testApp::mpeSetup()’:
src/testApp.cpp:597:5: error: ‘client’ was not declared in this scope
client.setup("mpe_client_settings.xml", true); //false means you can use backthread
^
src/testApp.cpp: In member function ‘void testApp::prepare()’:
src/testApp.cpp:739:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i < cameras.size(); i++)
^
src/testApp.cpp:792:44: error: ‘client’ was not declared in this scope
int mpeFrame = client.getFrameCount();
^
src/testApp.cpp: In member function ‘void testApp::mpeFrameEvent(ofxMPEEventArgs&)’:
src/testApp.cpp:930:12: error: ‘client’ was not declared in this scope
if(client.getFrameCount()<=1)
^
src/testApp.cpp: In member function ‘virtual void testApp::mouseMoved(int, int)’:
src/testApp.cpp:1573:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < quads[activeQuad].maskPoints.size(); i++)
^
src/testApp.cpp: In member function ‘void testApp::quadBezierSpherize(int)’:
src/testApp.cpp:1896:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:55: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:79: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:112: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:136: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:155: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1897:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:54: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:75: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:111: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:159: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:182: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1898:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:54: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:79: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:117: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:167: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:190: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1899:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:58: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:81: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:116: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:139: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:160: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp: In member function ‘void testApp::quadBezierSpherizeStrong(int)’:
src/testApp.cpp:1928:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:57: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:81: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:114: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:138: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:157: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1929:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:54: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:87: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:111: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:140: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:164: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:193: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:216: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1930:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:54: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:91: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:114: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:147: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:170: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:203: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:226: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1931:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:65: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:88: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:123: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:146: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:167: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
In file included from ../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderFloat.h:5:0,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:43,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiPage.h:39,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:37,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiToo.h:41,
from src/testApp.h:27,
from src/testApp.cpp:1:
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h: In instantiation of ‘void ofxSimpleGuiSliderBase<Type>::draw(float, float) [with Type = int]’:
src/testApp.cpp:1993:1: required from here
../../../addons/ofxSimpleGuiToo/src/Consrc/testApp.cpp:1454:15: warning: multi-character character constant [-Wmultichar]
if(key == '£' && !bTimeline)
^
In file included from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/autotuned_index.h:35:0,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/all_indices.h:43,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/flann_base.hpp:44,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/flann.hpp:50,
from ../../../addons/ofxOpenCv/libs/opencv/include/opencv/cv.h:69,
from ../../../addons/ofxOpenCv/src/ofxCvConstants.h:10,
from ../../../addons/ofxOpenCv/src/ofxOpenCv.h:5,
from src/quad.h:9,
from src/testApp.h:17,
from src/testApp.cpp:1:
../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/ground_truth.h: In function ‘void cvflann::find_nearest(const cvflann::Matrix<typename Distance::ElementType>&, typename Distance::ElementType*, int*, int, int, Distance)’:
../../../addons/ofxOpenCv/libs/opencv/include/opencv2/flann/ground_truth.h:45:44: warning: typedef ‘ElementType’ locally defined but not used [-Wunused-local-typedefs]
typedef typename Distance::ElementType ElementType;
^
In file included from ../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderFloat.h:5:0,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:43,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiPage.h:39,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:37,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiToo.h:41,
from src/testApp.h:27,
from src/testApp.cpp:1:
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h: In member function ‘void ofxSimpleGuiSliderBase<Type>::draw(float, float)’:
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h:209:14: error: there are no arguments to ‘setPos’ that depend on a template parameter, so a declaration of ‘setPos’ must be available [-fpermissive]
setPos(x, y);
^
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h:209:14: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from src/testApp.cpp:1:0:
src/testApp.h: At global scope:
src/testApp.h:103:5: error: ‘mpeClientTCP’ does not name a type
mpeClientTCP client;
^
src/testApp.cpp: In member function ‘void testApp::mpeSetup()’:
src/testApp.cpp:597:5: error: ‘client’ was not declared in this scope
client.setup("mpe_client_settings.xml", true); //false means you can use backthread
^
src/testApp.cpp: In member function ‘void testApp::prepare()’:
src/testApp.cpp:739:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i < cameras.size(); i++)
^
src/testApp.cpp:792:44: error: ‘client’ was not declared in this scope
int mpeFrame = client.getFrameCount();
^
src/testApp.cpp: In member function ‘void testApp::mpeFrameEvent(ofxMPEEventArgs&)’:
src/testApp.cpp:930:12: error: ‘client’ was not declared in this scope
if(client.getFrameCount()<=1)
^
src/testApp.cpp: In member function ‘virtual void testApp::mouseMoved(int, int)’:
src/testApp.cpp:1573:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < quads[activeQuad].maskPoints.size(); i++)
^
src/testApp.cpp: In member function ‘void testApp::quadBezierSpherize(int)’:
src/testApp.cpp:1896:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:55: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:79: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:112: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:136: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1896:155: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0},{0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1897:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:54: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:75: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:111: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:159: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1897:182: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1898:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:54: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:79: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:117: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:167: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1898:190: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1899:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:58: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:81: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:116: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:139: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1899:160: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp: In member function ‘void testApp::quadBezierSpherizeStrong(int)’:
src/testApp.cpp:1928:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:57: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:81: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:114: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:138: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1928:157: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 0, 0} },
^
src/testApp.cpp:1929:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:54: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:87: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:111: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:140: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:164: warning: narrowing conversion of ‘(((double)k) * -5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:193: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1929:216: warning: narrowing conversion of ‘(((double)k) * 5.0e-1)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, -0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 0.5*k, 0} },
^
src/testApp.cpp:1930:31: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:54: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:91: warning: narrowing conversion of ‘((((double)((h * 0.0f) / w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:114: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:147: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:170: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:203: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1930:226: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) * 5.0e-1))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0}, {0*h/w-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0-0.5*k, 0} },
^
src/testApp.cpp:1931:19: warning: narrowing conversion of ‘(((double)((h * 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:65: warning: narrowing conversion of ‘((((((double)k) * 5.0e-1) * ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:88: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:123: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) * 5.0e-1) * ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:146: warning: narrowing conversion of ‘((((double)k) * 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
src/testApp.cpp:1931:167: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) * 5.0e-1) * ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } is ill-formed in C++11 [-Wnarrowing]
{ {0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0}, {0.5*k*h/w+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {(1.0*h/w)-(0.5*k*h/w)+(0.5*(w/h-1))*h/w, 1.0+0.5*k, 0}, {1.0*h/w+(0.5*(w/h-1))*h/w, 1.0, 0} }
^
In file included from ../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderFloat.h:5:0,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:43,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiPage.h:39,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiIncludes.h:37,
from ../../../addons/ofxSimpleGuiToo/src/ofxSimpleGuiToo.h:41,
from src/testApp.h:27,
from src/testApp.cpp:1:
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h: In instantiation of ‘void ofxSimpleGuiSliderBase<Type>::draw(float, float) [with Type = int]’:
src/testApp.cpp:1993:1: required from here
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h:209:14: error: ‘setPos’ was not declared in this scope
setPos(x, y);
^
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h: In instantiation of ‘void ofxSimpleGuiSliderBase<Type>::draw(float, float) [with Type = float]’:
src/testApp.cpp:1993:1: required from here
../../../addons/ofxSimpleGuiToo/src/Controls/ofxSimpleGuiSliderBase.h:209:14: error: ‘setPos’ was not declared in this scope
In file included from ../../../addons/ofxTimeline/src/ofxTimeline.h:68:0,
from src/testApp.h:25,
from src/testApp.cpp:1:
../../../addons/ofxTimeline/src/ofxTLImageSequence.h: At global scope:
../../../addons/ofxTimeline/src/ofxTLImageSequence.h:39:14: warning: ‘GLint glTypeForImageType(int)’ defined but not used [-Wunused-function]
static GLint glTypeForImageType(int imageType){
^
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:191: recipe for target 'obj/linux64/Release/src/testApp.o' failed
make[1]: *** [obj/linux64/Release/src/testApp.o] Error 1
make[1]: Leaving directory '/home/user/Downloads/of_v0.8.4_linux64_release/apps/myApps/lpmt'
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:126: recipe for target 'Release' failed
Hey SoupMeNot did you use this -->> https://github.com/hvfrancesco/ofxMostPixelsEver <<-- fork ?
Yes I did. I guess its an issue with the graphics driver....
Hi ! I've a lot of problems too to compile LPMT
" In file included from /home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTextInputField/src/ofxTextInputField.h:44:0,
from /home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTimeline/src/ofxTLTrackHeader.h:37,
from /home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTimeline/src/ofxTLPage.h:37,
from /home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTimeline/src/ofxTimeline.h:58,
from /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.h:25,
from /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1:
/home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTextInputField/src/ofxTextInputFieldFontRenderer.h: In member function ‘int ofxTextInput::FontRenderer::getPosition(const string&, int)’:
/home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTextInputField/src/ofxTextInputFieldFontRenderer.h:35:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < str.size(); i++) {
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTextInputField/src/ofxTextInputFieldFontRenderer.h: In member function ‘virtual float ofxTextInput::BitmapFontRenderer::stringWidth(const string&)’:
/home/zan/Téléchargements/of_v0.9.8_linux64_release/addons/ofxTextInputField/src/ofxTextInputFieldFontRenderer.h:98:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < str.size(); i++) {
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp: In member function ‘virtual void testApp::setup()’:
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:76:28: error: ‘class ofVideoGrabber’ has no member named ‘width’
camWidth = cam.width;
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:77:28: error: ‘class ofVideoGrabber’ has no member named ‘height’
camHeight= cam.height;
^
/home/zan/Téléchargements/of_v0.9.8_linux64release/apps/myApps/lpmt/src/testApp.cpp:130:42: warning: ‘bool ofImage
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:222:49: warning: ‘bool ofTrueTypeFont::loadFont(std::__cxx11::string, int, bool, bool, bool, float, int)’ is deprecated: Use load instead [-Wdeprecated-declarations] ttf.loadFont("type/OpenSans-Regular.ttf", 11); ^ In file included from ../../../libs/openFrameworks/ofMain.h:5:0, from /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.h:15, from /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1: ../../../libs/openFrameworks/graphics/ofTrueTypeFont.h:107:44: note: declared here OF_DEPRECATED_MSG("Use load instead",bool loadFont(string filename, ^ ../../../libs/openFrameworks/utils/ofConstants.h:39:50: note: in definition of macro ‘OF_DEPRECATED_MSG’
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp: In member function ‘void testApp::prepare()’: /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:739:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i < cameras.size(); i++) ^ /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp: In member function ‘virtual void testApp::draw()’: /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:902:58: warning: ‘void ofRect(float, float, float, float)’ is deprecated: Use ofDrawRectangle instead [-Wdeprecated-declarations] ofRect(2,2,ofGetWidth()-4,ofGetHeight()-4); ^ In file included from ../../../libs/openFrameworks/ofMain.h:5:0, from /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.h:15, from /home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1: ../../../libs/openFrameworks/graphics/ofGraphics.h:490:54: note: declared here OF_DEPRECATED_MSG("Use ofDrawRectangle instead",void ofRect(float x1,float y1,f ^ ../../../libs/openFrameworks/utils/ofConstants.h:39:50: note: in definition of macro ‘OF_DEPRECATED_MSG’
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp: In member function ‘virtual void testApp::keyPressed(int)’:
/home/zan/Téléchargements/of_v0.9.8_linux64release/apps/myApps/lpmt/src/testApp.cpp:1052:59: error: cannot convert ‘ofPixels {aka ofPixels
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1896:112: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
,{0.5kh/w+(0.5(w/h-1))h/w, -0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1896:136: warning: narrowing conversion of ‘(((double)k) -5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
)h/w, -0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1896:155: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0}, {1.0h/w+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1897:31: warning: narrowing conversion of ‘((((double)((h 0.0f) / w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0}, {0h/w+(0.5
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1897:54: warning: narrowing conversion of ‘(((double)k) 5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0}, {0h/w+(0.5
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1897:75: warning: narrowing conversion of ‘(((double)((h 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0}, {0h/w+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1897:111: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
))h/w, 0.5k, 0}, {0h/w+(0.5(w/h-1))h/w, 0, 0}, {1.0h/w+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1897:159: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
/w, 0, 0}, {1.0h/w+(0.5(w/h-1))h/w, 0, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1897:182: warning: narrowing conversion of ‘(((double)k) 5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
0.5(w/h-1))h/w, 0, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0} },
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1898:31: warning: narrowing conversion of ‘((((double)((h 0.0f) / w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}, {0h/w+
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1898:54: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) 5.0e-1))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}, {0h/w+
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1898:79: warning: narrowing conversion of ‘(((double)((h 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}, {0h/w+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1898:117: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
, 1.0-0.5k, 0}, {0h/w+(0.5(w/h-1))h/w, 1.0, 0}, {1.0h/w+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1898:167: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
1.0, 0}, {1.0h/w+(0.5(w/h-1))h/w, 1.0, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1898:190: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) 5.0e-1))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
(w/h-1))h/w, 1.0, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1899:19: warning: narrowing conversion of ‘(((double)((h 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w+(0.5(w/h-1))h/w, 1.0, 0}, {0.5kh/w+(0.5(w/h-1))h/w, 1.
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1899:58: warning: narrowing conversion of ‘((((((double)k) 5.0e-1) ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w+(0.5(w/h-1))h/w, 1.0, 0}, {0.5kh/w+(0.5(w/h-1))h/w, 1.
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1899:81: warning: narrowing conversion of ‘((((double)k) 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{0h/w+(0.5(w/h-1))h/w, 1.0, 0}, {0.5kh/w+(0.5(w/h-1))h/w, 1.0+0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1899:116: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{0.5kh/w+(0.5(w/h-1))h/w, 1.0+0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1899:139: warning: narrowing conversion of ‘((((double)k) 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
)h/w, 1.0+0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1899:160: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0}, {1.0h/w+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp: In member function ‘void testApp::quadBezierSpherizeStrong(int)’:
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1928:19: warning: narrowing conversion of ‘(((double)((h 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w+(0.5(w/h-1))h/w, 0, 0}, {0.5kh/w+(0.5(w/h-1))h/w, -0.
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1928:57: warning: narrowing conversion of ‘((((((double)k) 5.0e-1) ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w+(0.5(w/h-1))h/w, 0, 0}, {0.5kh/w+(0.5(w/h-1))h/w, -0.
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1928:81: warning: narrowing conversion of ‘(((double)k) -5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{0h/w+(0.5(w/h-1))h/w, 0, 0}, {0.5kh/w+(0.5(w/h-1))h/w, -0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1928:114: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{0.5kh/w+(0.5(w/h-1))h/w, -0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1928:138: warning: narrowing conversion of ‘(((double)k) -5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
)h/w, -0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1928:157: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0}, {1.0h/w+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:31: warning: narrowing conversion of ‘((((double)((h 0.0f) / w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0}, {0h/w-(0.5
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:54: warning: narrowing conversion of ‘(((double)k) 5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0}, {0h/w-(0.5
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:87: warning: narrowing conversion of ‘((((double)((h 0.0f) / w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
-(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0}, {0h/w-(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:111: warning: narrowing conversion of ‘(((double)k) -5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
))h/w, 0.5k, 0}, {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0}, {1
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:140: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
h/w-(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:164: warning: narrowing conversion of ‘(((double)k) -5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
h-1))h/w, -0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0}, {1
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:193: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
h/w+(0.5kh/w)+(0.5(w/h-1))h/w, -0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1929:216: warning: narrowing conversion of ‘(((double)k) 5.0e-1)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
w/h-1))h/w, -0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-1))h/w, 0.5k, 0} },
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:31: warning: narrowing conversion of ‘((((double)((h 0.0f) / w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}, {0h/w-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:54: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) 5.0e-1))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}, {0h/w-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:91: warning: narrowing conversion of ‘((((double)((h 0.0f) / w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}, {0h/w-(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:114: warning: narrowing conversion of ‘((((double)k) 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
h/w, 1.0-0.5k, 0}, {0h/w-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:147: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:170: warning: narrowing conversion of ‘((((double)k) 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
1))h/w, 1.0+0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:203: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) + (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
+(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1930:226: warning: narrowing conversion of ‘(1.0e+0 - (((double)k) 5.0e-1))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
1))h/w, 1.0+0.5k, 0}, {1.0h/w+(0.5kh/w)+(0.5(w/h-1))h/w, 1.0-0.5k, 0}
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1931:19: warning: narrowing conversion of ‘(((double)((h 0.0f) / w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w+(0.5(w/h-1))h/w, 1.0, 0}, {0.5kh/w+(0.5(w/h-1))
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1931:65: warning: narrowing conversion of ‘((((((double)k) 5.0e-1) ((double)h)) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{ {0h/w+(0.5(w/h-1))h/w, 1.0, 0}, {0.5kh/w+(0.5(w/h-1))
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1931:88: warning: narrowing conversion of ‘((((double)k) 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
(0.5(w/h-1))h/w, 1.0, 0}, {0.5kh/w+(0.5(w/h-1))h/w, 1.0+0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1931:123: warning: narrowing conversion of ‘(((((double)h) / ((double)w)) - (((((double)k) 5.0e-1) ((double)h)) / ((double)w))) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{0.5kh/w+(0.5(w/h-1))h/w, 1.0+0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1931:146: warning: narrowing conversion of ‘((((double)k) 5.0e-1) + 1.0e+0)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
)h/w, 1.0+0.5k, 0}, {(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0},
^
/home/zan/Téléchargements/of_v0.9.8_linux64_release/apps/myApps/lpmt/src/testApp.cpp:1931:167: warning: narrowing conversion of ‘((((double)h) / ((double)w)) + (((((double)((w / h) - 1.0e+0f)) 5.0e-1) ((double)h)) / ((double)w)))’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
{(1.0h/w)-(0.5kh/w)+(0.5(w/h-1))h/w, 1.0+0.5k, 0}, {1.0h/w+(0.5*(w/h-
^"
Somebody has a solution ? THX for the help
I'm having trouble compiling this on Linux. I'm on the midi branch (is that the one most likely to compile?) I've cloned all the dependencies, including your fork of ofxSimpleGuiToo (also checked out on the midi branch) and I'm consistently getting this:
Would have posted on the forum, but registration is closed.