www.digitalmars.com         C & C++   DMDScript  

c++ - Build fails

reply Mohamed <msk aucegpt.edu> writes:
I am getting the following when I try to build a project containg
one class, I am adding the compressed project as an attachement



sc Node.cpp -mn -C -WA -S -3 -a8 -c -gf -oNode.obj
link /CO /NOI /DE /NOPACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:41
94304 /A:512  TreeNode.LNK
Error: C:\DM\BIN\..\lib\SNN.lib(winstart)  : Symbol Undefined
_WinMain 16
Lines Processed: 58  Errors: 1  Warnings: 0
Build failed


please advise
begin 644 Tree.zip
M4$L#!!0````(`$*3"T&S*G_-\`````X#```-````5')E92].;V1E+F-P<(51
M6P["(!#\;]([$/UIC7H`&CV"5S!`24JBM*&U,3%Z=EGH8P6K?+0PL[./V;72
MXG(K)5F=ZE+NJU6:P(52^&9]K<J<I FQYZSEO<NZ2K7Y]MP8V?N[)Q_^]TP3
MKR<;G\5I7):/.#A&=C>C?=HBD%/ZFNM/RH4:2K?2=!D\-H3'A7RL((>/6G#X
M[N  2PD$CQA'F+"A,'0`#T/P<("Q-^?3[_DA!,LAFGAUVUR4D/\F8[8G6$41
M$=HR;) Q8CFP/&;9;`K7W\UB&&<:"7`\PMF2/T9>ZS[<\YC!63,G"1MU[WDM
MV,B)'O'8HL%^A-KFWE!+`P04````"``MD M!L'R/GWP```#Y````"P```%1R
M964O3F]D92YH2\Y)+"Y6\,M/2>7E4 "":EZN M*DG,QD*P ?)*. 592:FU^6
MJE&6GYFB:0V1`+$5B N`*E,U0(JT8!(0'05%J64HZB'"F7G%J44EJ!K*,HM*
M2A-S%.I`HECTY*56E&`(PP4*BO)+4I-+4E-0'!P/TH1B2CS(15"16B`-`%!+
M`P04````"`!%DPM!V"RHLE<$``!W"```#0```%1R964O3F]D92YO8FJ55=UK
M'%44_]V9N[.SF_VX^>B:J*56HTVJAJ0QUJ; ["99JR5?93=Q$[6+C0L&VS0D
M:Q0A4 B"XQJPHBD6 BSV1?P#?-`';40-OBCX)^2A#UHJ%,G#0CS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`%RFOQ\"T./\38CS"0"<1NDTBSM!P&6L`(#+^$ :I=]02P,$
M%````` `<Y$+0;6,:[I2````?P```!$```!4<F5E+U1R965.;V1E+G!R:K,P
M,C4WXN5RMHH)"7)UC0DI2DWURT])U2LHRN+E O/\`_QXN?+RRY*+D01=7-UX
MN8!Z#8U-3,PLS4TM#'BY#!1 4`FL)D-)04D)4SBYH``B`0!02P$"%``4````
M"`!"DPM!LRI_S?`````.`P``#0`````````!`"``````````5')E92].;V1E
M+F-P<%!+`0(4`!0````(`"V2"T&P?(^??````/D````+``````````$`(```
M`!L!``!4<F5E+TYO9&4N:%!+`0(4`!0````(`$63"T'8+*BR5P0``'<(```-
M````````````(````,`!``!4<F5E+TYO9&4N;V)J4$L!`A0`%````` `4I`+
M0:`%\O()````#````!$```````````` ````0 8``%1R964O5')E94YO9&4N
M0E!44$L!`A0`%````` `4I`+08,9162P`0`` B ``!$```````````` ````
M> 8``%1R964O5')E94YO9&4N0E)/4$L!`A0`%````` `RY`+04C5E]6,````
MQ ```!$``````````0` ````60 ``%1R964O5')E94YO9&4N1$5&4$L!`A0`
M%````` `19,+031UEVM+````4 ```!$``````````0` ````%`D``%1R964O
M5')E94YO9&4N1%!$4$L!`A0`%````` `<Y$+025:K>$%!0``EA(``!$`````
M`````0` ````C D``%1R964O5')E94YO9&4N34%+4$L!`A0`%````` `RY`+
M02;M_,IR` ``DYH``!$```````````` ````P X``%1R964O5')E94YO9&4N
M3U!.4$L!`A0`%````` `<Y$+0;6,:[I2````?P```!$``````````0` ````
M8Q$``%1R964O5')E94YO9&4N<')J4$L%! `````*``H`:`(``.01````````
`
end
Aug 11 2012
parent Muhamed <msk aucegypt.edu> writes:
The project is missing an int main() function
Sep 03 2012