Can Tiny C compiler be used for OpenCV code compiling? - c

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

Related

Compiling a file with TCC on windows with a library from C99

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

ANSI C MultiPlatform Compiler and GUI

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.

Can I install C in Win 7 64 bit machine?

Can I install C language in Win 7 64 bit OS? Do you know of any free softwares available online to install C for Win 7 64bit OS?
Microsoft providfe a free edition of visual studio
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
Please clarify, what do you mean by C for x64?
You can write code for ANSI C95 using Visual Studio
C is not a program, but rather a standardized programming language. You can install the mingw-w64 package, which is based on the popular free and open source GCC compiler.
C is not a piece of software. It is a programming language which needs to be converted by software(s) in a form which is executable by the system. One of these softwares is a C compiler, which you need to have to compile the code.
You can always run 32bit compilers in 64bit OSes. Use DevC++ http://www.bloodshed.net/download.html ?
I think you just want to write some programs with c.
For beginners, I extremely recommend Code::Blocks

Windows.h in C using Turbo-C

I cannot find windows.h in my include folder of Turbo C and hence cannot work with the Win32 api's
Can someone please suggest a workaround?
thanks
You could download Borland C++ 5.5. If memory serves, it can handle Windows programming "out of the box" (Warning: but it doesn't include an IDE of any kind, only command-line tools).
Alternatively, you could look into any of several alternatives such as Dev-C++, Visual Studio Express, Cygwin, or Digital Mars. Edit: Or Code::Blocks, Ultimate++/TheIDE, NetBeans, or Eclipse CDT.
Turbo C is a legacy product. I would suggest moving on.
However, the Windows libraries and header files are shipped with the Windows SDK, which you can find on MSDN.
If you want to work with Win32 APIs, you will probably get the best mileage using Visual Studio (which will have all of the headers and libraries you need). There is even a free edition available.

Most Common C / C++ Compiler for NetBeans and Windows

What is the most commonly used (simplest) C / C++ compiler used on Windows when using the NetBeans IDE (6.7)?
I want to write (mostly) simple C programs. I have Cygwin installed but for some reason NetBeans doesn't like it. I'm getting a error from it and before I try to figure this out, I thought I should find and (if needed) configure a more popular one.
makeinfo: --fill-column arg must be numeric, not
nbproject/Makefile-Debug.mk'.
Trymakeinfo --help' for more information.
I believe I'm getting this error because I don't have make installed.
I've also found this stackoverflow post (C/C++ Compiler for windows) but and that suggests to use MinGW compiler tools.
What is the difference between MinGW and Cygwin? Which is better or preferred? and are there any other options?
The difference between Cygwin and MinGW is the the Cygwin tools (and the executables generated) rely on the cygwin DLL that provides a POSIX-like layer for the application.
MinGW are native Win32 tools (in that they do not require the presence of the Cygwin DLL) that produce native Win32 executables that do not need the Cygwin DLL.
My personal preference is for MinGW, but if you're going to be building programs that have a Unix heritage, the Cygwin toolset will likely help you build the program to run on Windows more than the MinGW toolset will.
I'm not sure what the licensing implications of linking to the Cygwin DLL are (I forget if it's GPL or LGPL).
Here is a good post I just found for getting cygwin and Netbeans working together.
Configuring cygwin with netbeans in Windows
And just so you know, cygwin and MinGW are by far the two most popular open source solutions for C/C++ on windows. Other popular compilers exist, but are not free (Borland C++, Microsoft Visual C++, etc)

Resources