Thread: C++ Build Error

Results 1 to 12 of 12
  1. #1
    Templar's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil
    Posts
    3,217
    Reputation
    87
    Thanks
    989
    My Mood
    Angelic

    C++ Build Error

    Any body can help me with a error ?

    1>LINK : fatal error LNK1561: entry point must be defined
    When I create a empty project this error appears.

    But When I pick a ready base this error don't appears.

    Sorry the English.
    I don't speak perfectly.
    Just a wanderer from the beginnings of this site.
    An old Combat Arms' sections active member and hacker (just what I thought when I was a child).

    My IM doesn't work. Send me a private message instead.

    Name changes:
    bruno2204
    The Rev.
    BioHuman
    Element™

  2. #2
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    are you setting it to multibyte not unicode?

  3. #3
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by NOOBJr View Post
    are you setting it to multibyte not unicode?
    WTF??... *Slap you AND your father*(should know better)


    It says Entry point not define,... Do you have an Entry Point?
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  4. #4
    Templar's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil
    Posts
    3,217
    Reputation
    87
    Thanks
    989
    My Mood
    Angelic
    So I resolved this shit.
    //Request Closed.

    THX for all.
    Just a wanderer from the beginnings of this site.
    An old Combat Arms' sections active member and hacker (just what I thought when I was a child).

    My IM doesn't work. Send me a private message instead.

    Name changes:
    bruno2204
    The Rev.
    BioHuman
    Element™

  5. #5
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by bruno2204 View Post
    So I resolved this shit.
    //Request Closed.

    THX for all.
    Dont say it, CLICK IT :O
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  6. The Following User Says Thank You to topblast For This Useful Post:

    bruno2204_backup (06-26-2011)

  7. #6
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Quote Originally Posted by topblast View Post


    WTF??... *Slap you AND your father*(should know better)


    It says Entry point not define,... Do you have an Entry Point?
    leave my dad out of this

  8. #7
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by NOOBJr View Post


    leave my dad out of this
    ok I just double Slap you.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  9. #8
    Templar's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil
    Posts
    3,217
    Reputation
    87
    Thanks
    989
    My Mood
    Angelic
    Quote Originally Posted by topblast View Post


    Dont say it, CLICK IT :O
    I know sir.
    I am not a leecher.
    Jajajajajajajajajajajaj

  10. #9
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    You need a "main" function. Otherwise there is no start to the program.

    int main(void)

    int main(int argc, char ** argv)
    Last edited by CodeDemon; 06-25-2011 at 09:51 PM. Reason: fixed grammar

  11. #10
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by CodeDemon View Post
    You need a "main" function. Otherwise there is no start to the program.

    int main(void)

    int main(int argc, char ** argv)
    i thinks its a DLL.

    Yea Put int Main the the DLL

    Why didnt i think of that and you can switch between file extensions :O
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  12. #11
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    127
    go to project>(project name) properties>configuration properties>configuration type>DLL

  13. #12
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by kibbles18 View Post
    go to project>(project name) properties>configuration properties>configuration type>DLL

    what?
    Dont ban me