Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with linux on of_v0.10.0 #31

Open
pietrondo opened this issue Sep 28, 2018 · 4 comments
Open

Problem with linux on of_v0.10.0 #31

pietrondo opened this issue Sep 28, 2018 · 4 comments

Comments

@pietrondo
Copy link

Problem with linux on of_v0.10.0

Those are the errros..
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/Fluid.cpp:20: /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/Fluid.h:22:10: fatal error: ofxFlowTools.h: File o directory non esistente #include "ofxFlowTools.h"

@danryu
Copy link

danryu commented Oct 20, 2018

Did you install ofxFlowTools?

Go to of_v10.10.0/addons and do

$ git clone https://github.com/moostrik/ofxFlowTools.git

The build should work now.

@pietrondo
Copy link
Author

new error:
`‘glm::i8vec2’ {aka ‘struct glm::tvec2<signed char, (glm::precision)0>’} from an array of ‘glm::uint16’ {aka ‘short unsigned int’} [-Wclass-memaccess]
memcpy(&Unpack, &p, sizeof(Unpack));
^
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/vec2.hpp:6,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/events/ofEvents.h:8,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/utils/ofURLFileLoader.h:3,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:11,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:24,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/detail/type_vec2.hpp:19:9: note: ‘glm::i8vec2’ {aka ‘struct glm::tvec2<signed char, (glm::precision)0>’} declared here
struct tvec2
^~~~~
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.hpp:579,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/ext.hpp:48,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVectorMath.h:21,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:37,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:24,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackUnorm4x16(glm::uint64)’:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.inl:437:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::u16vec4’ {aka ‘struct glm::tvec4<short unsigned int, (glm::precision)0>’} from an array of ‘glm::uint64’ {aka ‘long unsigned int’} [-Wclass-memaccess]
memcpy(&Unpack, &p, sizeof(Unpack));
^
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/vec4.hpp:6,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVec4f.h:8,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVec3f.h:5,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types/ofPoint.h:3,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types/ofParameter.h:5,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/utils/ofJson.h:4,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:21,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:24,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::u16vec4’ {aka ‘struct glm::tvec4<short unsigned int, (glm::precision)0>’} declared here
struct tvec4
^~~~~
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.hpp:579,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/ext.hpp:48,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVectorMath.h:21,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:37,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:24,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackSnorm4x16(glm::uint64)’:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.inl:469:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} from an array of ‘glm::uint64’ {aka ‘long unsigned int’} [-Wclass-memaccess]
memcpy(&Unpack, &p, sizeof(Unpack));
^
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/vec4.hpp:6,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVec4f.h:8,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVec3f.h:5,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types/ofPoint.h:3,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types/ofParameter.h:5,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/utils/ofJson.h:4,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:21,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:24,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} declared here
struct tvec4
^~~~~
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.hpp:579,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/ext.hpp:48,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVectorMath.h:21,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:37,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:24,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackHalf4x16(glm::uint64)’:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/./gtc/packing.inl:505:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} from an array of ‘glm::uint64’ {aka ‘long unsigned int’} [-Wclass-memaccess]
memcpy(&Unpack, &v, sizeof(Unpack));
^
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/vec4.hpp:6,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVec4f.h:8,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/math/ofVec3f.h:5,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types/ofPoint.h:3,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/types/ofParameter.h:5,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/utils/ofJson.h:4,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:21,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:24,
from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, (glm::precision)0>’} declared here
struct tvec4
^~~~~
In file included from /home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:20:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h: At global scope:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.h:39:1: error: ‘define’ does not name a type; did you mean ‘ofLine’?
define KINECT_CONNECTED
^~~~~~
ofLine
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:26:6: error: ‘ofApp’ has not been declared
void ofApp::setup()
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp: In function ‘void setup()’:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:31:5: error: ‘m_windowWidth’ was not declared in this scope
m_windowWidth = ofGetWindowWidth();
^~~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:31:5: note: suggested alternative: ‘ofRandomWidth’
m_windowWidth = ofGetWindowWidth();
^~~~~~~~~~~~~
ofRandomWidth
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:32:5: error: ‘m_windowHeight’ was not declared in this scope
m_windowHeight = ofGetWindowHeight();
^~~~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:32:5: note: suggested alternative: ‘ofRandomHeight’
m_windowHeight = ofGetWindowHeight();
^~~~~~~~~~~~~~
ofRandomHeight
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:85:5: error: ‘m_time0’ was not declared in this scope
m_time0 = ofGetElapsedTimef();
^~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:85:5: note: suggested alternative: ‘mktime’
m_time0 = ofGetElapsedTimef();
^~~~~~~
mktime
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:88:5: error: ‘m_red’ was not declared in this scope
m_red = 0;
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:89:5: error: ‘m_green’ was not declared in this scope
m_green = 0;
^~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:89:5: note: suggested alternative: ‘g_free’
m_green = 0;
^~~~~~~
g_free
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:90:5: error: ‘m_blue’ was not declared in this scope
m_blue = 0;
^~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:90:5: note: suggested alternative: ‘GValue’
m_blue = 0;
^~~~~~
GValue
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:91:5: error: ‘m_bgGradient’ was not declared in this scope
m_bgGradient = false;
^~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:148:5: error: ‘m_gridParticles’ was not declared in this scope
m_gridParticles = ParticleSystem();
^~~~~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:148:5: note: suggested alternative: ‘Particle’
m_gridParticles = ParticleSystem();
^~~~~~~~~~~~~~~
Particle
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:162:5: error: ‘m_particleSystems’ was not declared in this scope
m_particleSystems.resize(1);
^~~~~~~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:162:5: note: suggested alternative: ‘ParticleSystem’
m_particleSystems.resize(1);
^~~~~~~~~~~~~~~~~
ParticleSystem
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:167:5: error: ‘m_currentParticleSystem’ was not declared in this scope
m_currentParticleSystem = 0;
^~~~~~~~~~~~~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:167:5: note: suggested alternative: ‘ParticleSystem’
m_currentParticleSystem = 0;
^~~~~~~~~~~~~~~~~~~~~~~
ParticleSystem
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp: At global scope:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:217:6: error: ‘ofApp’ has not been declared
void ofApp::update()
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp: In function ‘void update()’:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:221:31: error: ‘m_time0’ was not declared in this scope
float dt = ofClamp(time - m_time0, 0.f, 0.1f);
^~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:221:31: note: suggested alternative: ‘mktime’
float dt = ofClamp(time - m_time0, 0.f, 0.1f);
^~~~~~~
mktime
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:221:11: warning: unused variable ‘dt’ [-Wunused-variable]
float dt = ofClamp(time - m_time0, 0.f, 0.1f);
^~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp: At global scope:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:385:6: error: ‘ofApp’ has not been declared
void ofApp::draw()
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp: In function ‘void draw()’:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:394:23: error: ‘m_red’ was not declared in this scope
ofColor contourBg(m_red, m_green, m_blue);
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:394:30: error: ‘m_green’ was not declared in this scope
ofColor contourBg(m_red, m_green, m_blue);
^~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:394:30: note: suggested alternative: ‘g_free’
ofColor contourBg(m_red, m_green, m_blue);
^~~~~~~
g_free
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:394:39: error: ‘m_blue’ was not declared in this scope
ofColor contourBg(m_red, m_green, m_blue);
^~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:394:39: note: suggested alternative: ‘GValue’
ofColor contourBg(m_red, m_green, m_blue);
^~~~~~
GValue
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:396:9: error: ‘m_bgGradient’ was not declared in this scope
if (m_bgGradient)
^~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:446:5: error: ‘m_gridParticles’ was not declared in this scope
m_gridParticles.draw();
^~~~~~~~~~~~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:446:5: note: suggested alternative: ‘Particle’
m_gridParticles.draw();
^~~~~~~~~~~~~~~
Particle
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp: At global scope:
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:501:6: error: ‘ofApp’ has not been declared
void ofApp::exit()
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:532:6: error: ‘ofApp’ has not been declared
void ofApp::keyPressed(int key)
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:714:6: error: ‘ofApp’ has not been declared
void ofApp::keyReleased(int key)
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:719:6: error: ‘ofApp’ has not been declared
void ofApp::mouseMoved(int x, int y )
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:724:6: error: ‘ofApp’ has not been declared
void ofApp::mouseDragged(int x, int y, int button)
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:729:6: error: ‘ofApp’ has not been declared
void ofApp::mousePressed(int x, int y, int button)
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:734:6: error: ‘ofApp’ has not been declared
void ofApp::mouseReleased(int x, int y, int button)
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:739:6: error: ‘ofApp’ has not been declared
void ofApp::windowResized(int w, int h)
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:744:6: error: ‘ofApp’ has not been declared
void ofApp::gotMessage(ofMessage msg)
^~~~~
/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea/src/ofApp.cpp:749:6: error: ‘ofApp’ has not been declared
void ofApp::dragEvent(ofDragInfo dragInfo)
^~~~~
make[1]: *** [/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:223: obj/linux64/Release/src/ofApp.o] Error 1
make[1]: uscita dalla directory "/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/apps/myApps/crea"
make: *** [/home/pietro/progetti/of_v0.10.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2

@pietrondo
Copy link
Author

solved with:
openframeworks/openFrameworks#6012

@pietrondo
Copy link
Author

ok! i compiled it.. but when i start crea, it only appears a windows with some white lines...
and nothing. Why?
thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants