Author Topic: Configuration for OpenCV and Arduino possible?  (Read 5767 times)

Offline louarnold

  • Single posting newcomer
  • *
  • Posts: 5
Configuration for OpenCV and Arduino possible?
« on: August 22, 2012, 08:21:12 pm »
I'm running Windows XP SP3. I have installed a specialized setup of CodeBlocks for the Arduino microcontroller. This is a c-language setup and uses mingw32 g++. It came with an installer and has a template for Arduino projects. It works well.

I would like to install OpenCV 2.4.2 - C/C++ libraries for Computer Vision. These libraries have to be rebuilt for everything but Visual Studio, but I don't know how to do that, so please help. OpenCV comes with CMake files to automatically rebuild the libraries for debug and release mode (separate builds). It would be nice to rebuild the libraries using CodeBlocks. Again, I figure out how to do that. CMake 2.8 is installed.

Another question: If I set up CodeBlocks for both the Arduino and OpenCV, will I have to change folders and files for different projects?


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Configuration for OpenCV and Arduino possible?
« Reply #1 on: August 22, 2012, 09:37:11 pm »
I'm running Windows XP SP3. I have installed a specialized setup of CodeBlocks for the Arduino microcontroller.
What "specialised" setup? who is the maintainer? Is it the C::B team? If not, ask the maintainer of that package. We cannot provide support for packages we don't deliver, obviously. ::)

Generally yes: Arduino and OpenCV SDK's work just fine with C::B - I did it once.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline louarnold

  • Single posting newcomer
  • *
  • Posts: 5
Re: Configuration for OpenCV and Arduino possible?
« Reply #2 on: August 22, 2012, 11:25:25 pm »
I'm running Windows XP SP3. I have installed a specialized setup of CodeBlocks for the Arduino microcontroller.
What "specialised" setup? who is the maintainer? Is it the C::B team? If not, ask the maintainer of that package. We cannot provide support for packages we don't deliver, obviously. ::)

Generally yes: Arduino and OpenCV SDK's work just fine with C::B - I did it once.
Here is the link:www.arduinodev.com/codeblocks/
24 Feb 2012 – CodeBlocks Arduino Edition is a customized distribution of the open-source Code::Blocks IDE which I enhanced for Arduino software ...(I assume its the project template that is for the Arduino that makes it specialized.)
OK, its not maintained by the C::B team. I cannot get a response from the maintainer. But it is C::B and I thought you might be able to help with the OpenCV set-up such as how to rebuild the OpenCV binaries with C::B.

I have also opened up another thread about JIT debugging.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Configuration for OpenCV and Arduino possible?
« Reply #3 on: August 23, 2012, 07:09:58 am »
24 Feb 2012 – CodeBlocks Arduino Edition is a customized distribution of the open-source Code::Blocks IDE
Nope, so support for that as we don't know anything about the customisations and why they fail.

Sorry, but gain: Ask the maintainer of the fork or at least (s)he should provide patches what exactly was changed.

Topic locked.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ