Undefined reference to IEE_EmoEnginEventCreat() - c++

I'm working on a Raspberry Pi3 project with C++ code running rasbian stretch OS. I cloned the code from https://github.com/Emotiv/community-sdk. First I installed CMake but when I type $make in the terminal, the following Errors appear. I tried to put all the header files inside the project folder but the error still there. Any suggestions on how to solve this.

Related

why I'm getting error in executing my C++ code

I have installed MinGW 3 times and I've also added path in env. variable but whenever I try to run a code in CodeLight it just gives me the following error:
mingw-32-make.exe: *** [ALL] Error 2
In MinGW installation tutorials there are .exe files in the bin folder but I don't have any .exe file in the bin folder inside MinGW. I've tried installing it 3 and very carefully.
Can someone help me out?
Make sure the compiler and build tools are properly configured in the IDE (CodeLight).
Installing MinGW by itself doesn't tell CodeLight were to find it.
There is a standalone MinGW-w64 personal build available at http://winlibs.com/ that doesn't need installation, just unzip it. On the site there is an explanation on he wot configure Code::Blocks IDE to use this compiler. The steps should be pretty similar in CodeLight.

why does my vscode report error, but the code can be compiled by cmake

I have installed the opencv package using brew install opencv, the installation is successful.
Then I download the example code from here.
I can compile it successfully using cmake. And I can also run it.
However, my vscode editor seems it can not located the header file of cpp, thus it shows these error. The screenshot is here.
How can I fix this problem?
Thank you!

OpenCV & Yocto Project on Variscite Board (Var-Som-Dual i.mx6)

I've got a problem with OpenCV and Yocto (Ubuntu 14.04).
I'm trying to install OpenCV with Yocto on a Variscite Board. I've followed every possible guide on web (this is the best procedure that I've tried http://www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-i-mx6-bsp-yocto/)... but no one works!
I've created the image files and then I tried to build the project with the command $CXX test.cpp -o test (the .bb file is correct). The compiler reads the header files (#include <opencv2..etc..>) but it stops on the first instruction with error:
"undefined reference to cvLoadImage"
The same if I try with imread (with imgcodecs.hpp). I think that the linker can't find the libraries.
How I can solve it? It's too important for me, I'm trying since a month :(

GDB on NetBeans 8.2 not starting (Windows)

I've successfully installed NetBeans 8.2 on my system. I've also installed MinGW and MSYS to make it compile C/C++ projects and it works flawlessly. The problem is that whenever I try to debug a program it gives me two errors:
Selected console type is not supported in your configuration, using
External terminal instead
and
GDB has unexpectedly stopped with return -1.073.741.701
and GDB is stuck loading until i press Cancel.
I noticed that if I go to C:\MinGW\bin\gdb.exe it says that the application cannot be started (Error code: 0xc00007b).
Maybe that's because I followed the official tutorial for installing MinGW and MSYS, but I wasn't able to install GDB correctly because point 15 says:
Unzip the gdb-7.0-2-mingw32-bin.tar.gz to your C:\MinGW directory so
that the gdb executable is installed into your C:\MinGW\bin directory.
but if I unzip the files, there are bin and share directories (which overlap with the existing ones), so I chose to cancel.
I could have found the issue, but I'm not sure. I ran Dependency Walker on gdb.exe and it reds out ZLIB1.DLL and KERNEL32.DLL. Do I need the 32-bit version of them? If so, where can I find the downloads?
Screenshot:
Not unzipping the files is almost definitely the problem. There is probably a dependency that doesn't, causing a runtime error.
Problem solved: as I mentioned in my edit, the problem was the 64-bit version of ZLIB1.dll, so I downloaded the 32-bit version and put it inside C:\MinGW\bin. Now everything works perfectly. Thanks to #bremen_matt for suggesting me that it was a dependency issue.

No rule to make target : Codeblocks

I have installed Code::Blocks on Ubuntu Linux 12.10 and trying to use examples of Openframeworks. The HelloWorld and other programs that I write in Code::Blocks build and run fine.
However, when I open Code::Blocks workspace of an empty example of OpenFrameworks in Code::Blocks and try to build it, I get an error saying No rule to make target ../../../libspoco/lib/linux64/libPocoNet.a needed by bin/emptyExample_debug
I checked in the relative path and there's no folder named linux64, but there's only a folder named linux and perhaps that's why I am getting this error while trying to build. My question is how do change this rule? This linux64 problem might also be there in other projects, is there a universal place where this can be changed to 'linux' instead of 'linux64'
check your machine and codeblocks whether both are of same bit . one of the easiest way to avoid this conflict is install codeblocks from ubuntu software center .