Error-lnk 2019


#1

hi guys,

I am new to the juce…i installed vc++ 2010 and and working with juce 2.0… i try to build a small code but i am unable to build the code and getting these errors.

1>------ Build started: Project: hellworld, Configuration: Debug Win32 ------
1> Main.cpp
1> The juce.h file is deprecated - please include each module’s header file directly, or preferably let the introjucer handle the inclusion of source code in your project.
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>C:\Documents and Settings\vamsidhar\My Documents\Visual Studio 2010\Projects\hellworld\Debug\hellworld.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

kindly help me guys.


#2

If you’re a noob, don’t try to do things manually - use the introjucer to create yourself a project.


#3

Well to be fair, the short instructions for JUCE tell you to include “juce.h” (@http://www.rawmaterialsoftware.com/juce.php)


#4

Well to be fair, the short instructions for JUCE tell you to include “juce.h” (@http://www.rawmaterialsoftware.com/juce.php)[/quote]

Ah, I really need to spring-clean some of that blurb…