Hi i am new in embedded field, please tell me whether OpenCv files are compatible with the Embest AT91SAM9G45, ARM9 board.
I have not tried this but I don't see why not. Judging from the Atmel page on your chip there is a development studio. It doesn't explicitly say but I think it supports C++ and if so you can compile OpenCV using Cmake and that particular compiler.
Related
I am new to C and the AVR programming world, and therefore I am currently reading this book about the topic.
The author makes reference to ATMEL libraries which deals with memory manipulation, time (sleep) functions and so on. See below an example:
#include <avr/io.h>
My question is, where can I find the documentation for this and other ATMEL libraries? Are they already built-in in the compiler or the development kit? How can I see the corresponding .c file for it?
After installing Atmel Studio you can find the headers here:
<Program Files>\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include
Documentation is available on the Atmel web-site.
The file is located in the following folder if you installed avr-libc through homebrew on a Mac:
/usr/local/Cellar/avr-libc/[version]/avr/include/avr/io.h
I recommend to use BASCOM AVR IDE, instead of C language as it has good support, google it and download and use it.
So the latest version of TCC supposedly has some of the features of C99 implemented, however, I have found that it does not include C99's Math library.
Is there a way I can get it to use more of C99's libraries on windows? I googled around and found some advice mostly pertaining to Linux, but for this project I need to get it to work on windows.
EDIT: This is not a question about getting 'any' compiler on the windows platform. I realize that there are many compilers. I specifically need to get TCC to do this.
EDIT: The project needs to do some on the fly C compilation, and we would like to see if we can use TCC for this feature.
The documentation for Windows indicates that the TCC installation on Windows deploys a minimal set of MinGW headers. Copy the headers you need from MinGW into the tcc/include/winapi (i.e. place them under tcc-build-root/win32/include/winapi) and then build tcc with build-tcc.bat.
Try Visual Studio Express Edition for 'C'.It's free and IDE is more developed than TCC
I'm trying to learn Cuda and its very interesting but I'm having problems creating code without a bit of help from an IDE. I know Java/Python but I'm unfamiliar with C/C++ so I have been using eclipse and Xcode to help me with commands and finding things(via code code completion). I can't seem to get these options for CUDA?
I have seen examples and can build them find(nvcc is working) but without the IDE to help catch some of my mistakes I'm a bit lost editing the code in just a text editor. I found a toolkit plugin for eclipse but although it seems to install I think its for a older build of eclipse because most of the options in the instructions do not match my version(Indigo). Nvidia has a plugin for Visual studio only on their site(I'd rather not install windows on my mac to use Cuda).
I'm sorry if this sounds bad but I'm curious to how people are developing cuda on Mac's. I don't care what IDE I use as long as it helps me see the options and warn me if I have syntax issues,etc..(I'm not the best programmer but switching IDE's for me has just been a matter of finding out where things are so I'm really fine with any solution as long as it helps me as I'm learning).
Nsight Eclipse Edition is available as a part of the CUDA Toolkit 5.0 (no additional download required).
Qt Creator!
You can read Qt Creator + CUDA + Linux for inspiration on how to setup the build environment on Mac OS X.
You could think about using JCuda:
http://www.jcuda.de/
There is XCode plug-in for CUDA development. I found it there. There is the main discussion on nvidia.com
Visual Studio Code + this extension:
https://github.com/gangliao/VS-Code-Cuda.
For me, Visual Studio Code is my favorite IDE for every language I found out there
Hi guys I have an ANSI C university course.
I am looking for a compiler that will easily create
makefiles and .o files and binaries that would work on both windows and ubuntu.
all code i write must be multiplatform.
(Im a C#/C++ programmer, didn't touch C for over 10 years)
no need for any external library support except ones that are part of the spec.
I assume its C99 though might be C90
nice Dev Env GUI preferably same for both windows and ubuntu is needed as well
how to make sure I don't use none-standard libraries?
I think gcc is your best option. On Windows the best port is probably MinGW.
You edited your question to request an IDE too. Try Code::Blocks.
I will recommend Eclipse as the IDE. It has some issues on Windows, but it is great on Linux.
GCC/MinGW as compiler doesn't need much discussing.
I am new to OpenCV and I have only Tiny C compiler configured on my Windows XP machine. Can I use this tiny C compiler to compile opencv programs for image manipulations. I have alredy installed python2.6 and opencv2.0 on my windows xp pc. If we can compile how can we do that? I tried on net but found nothing of use. Please help.
Edit: If not possible in Tiny C compiler then please suggest any links for easily available opencv compatible c compilers for windows.
I think try it.
If it doesn't work, the OpenCV Install Guide says:
C/C++ compiler (OpenCV is known to work with VS2005, VS2008,
including Express Editions, and MinGW on Windows, GCC 4.x on Linux, MacOSX and other Unix-like systems).
Visual Studio
MinGW