User forums > Embedded development

started a new project but cant do it all by my self.NEED HELP

<< < (2/3) > >>

RoCCaFeLLa:
and how to set it up ?

MortenMacFly:

--- Quote from: RoCCaFeLLa on June 12, 2012, 08:58:26 am ---and how to set it up ?

--- End quote ---
How should we know without sample project and more information? Impossible. Either you provide enough information, or you won't get any help. Its as simple as that. We don't have magic balls to guess all your code, versions and setup. Sorry.

Edit: BTW: To see what you are doing wrong, try to answer my question:
I have a wxWidgets project, where I get compiler errors about undefined references. What am I doing wrong?

jarod42:

--- Quote from: ouch on June 11, 2012, 07:46:01 pm ---looks to me like you have not set up your search directories and/or linker options in your projects build options properly.

--- End quote ---
It seems that he doesn't have any project at all.
So...

Menu: File ->New -> Project

Select the one you want. (since you already have source, I think the empty Project could be a good start).

Then
Menu: Project -> Add files... (or recursively)
to add your existing files into the project.

Then
Menu: Project -> Build options...

to set up your configuration like include directories, libraries, ...

RoCCaFeLLa:
MortenMacFly sorry for still limited information.Here i provide all errors when i build the project.I use the latest version of code blocks and this project is for openframeworks.I follow the instructions there but still nothing.


||=== 1opit, Debug ===|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|2|error: ofMain.h: No such file or directory|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|3|error: ofxCvMain.h: No such file or directory|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|5|error: expected class-name before '{' token|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|11|error: 'ofVideoGrabber' does not name a type|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|12|error: 'ofVideoGrabber' does not name a type|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|14|error: 'ofxCvColorImage' does not name a type|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|15|error: 'ofxCvGrayscaleImage' does not name a type|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|16|error: 'ofxCvGrayscaleImage' does not name a type|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|18|error: 'ofxCvContourFinder' does not name a type|
C:\Graduate work\ca_of_arduino\of_src\servoApp.h|29|error: 'ofSerial' does not name a type|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp||In member function 'void servoApp::setup()':|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|5|error: 'ofSetFrameRate' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|9|error: 'serial' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|14|error: 'vidGrabber' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|16|error: 'colorImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|17|error: 'grayImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|18|error: 'bgImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|20|error: 'vidGrabber2' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp||In member function 'void servoApp::update()':|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|25|error: 'ofBackground' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|26|error: 'vidGrabber' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|27|error: 'vidGrabber2' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|32|error: 'colorImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|33|error: 'grayImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|36|error: 'bgImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|40|error: 'bgImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|44|error: 'contourFinder' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|61|error: 'ofGetFrameNum' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|63|error: 'serial' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|29|warning: unused variable 'len'|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp||In member function 'void servoApp::draw()':|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|75|error: 'ofSetColor' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|76|error: 'colorImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|77|error: 'grayImg' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|78|error: 'contourFinder' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|81|error: 'vidGrabber2' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp||In member function 'void servoApp::keyPressed(int)':|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|89|error: 'MAX' was not declared in this scope|
C:\Graduate work\ca_of_arduino\of_src\servoApp.cpp|91|error: 'MIN' was not declared in this scope|
||=== Build finished: 34 errors, 1 warnings ===|

MortenMacFly:

--- Quote from: RoCCaFeLLa on June 12, 2012, 04:45:30 pm ---I follow the instructions there but still nothing.

--- End quote ---
Ok, basically I give up:
- this is not the full build log
- obviously you didn't even bother to read the information on the links provided
- you seem unable to attach a simple example project/source code to your posts.
- ...and what "instructions" you are talking about? How should we know?

Maybe another one will pick-up the topic to answer you, I can't.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version