Thread: C++ Build Error

Results 1 to 12 of 12
  1. #1
    Element™'s Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil / Summoner's Rift
    Posts
    3,208
    Reputation
    81
    Thanks
    978
    My Mood
    Yeehaw

    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.
    Config :
    - PNY GTX 970 4GB
    - Intel i5 3540
    - Corsair Carbide 200 Series
    - PNY SSD 120GB
    - HDD 1TB Samsung

    Peripherals :
    - Razer Blackwidow Ultimate 2013
    - Razer Deathadder 2013
    - Razer Tiamat 7.1
    - Razer Goliathus Control Big


  2. #2
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    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
    4,922
    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
    Element™'s Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil / Summoner's Rift
    Posts
    3,208
    Reputation
    81
    Thanks
    978
    My Mood
    Yeehaw
    So I resolved this shit.
    //Request Closed.

    THX for all.
    Config :
    - PNY GTX 970 4GB
    - Intel i5 3540
    - Corsair Carbide 200 Series
    - PNY SSD 120GB
    - HDD 1TB Samsung

    Peripherals :
    - Razer Blackwidow Ultimate 2013
    - Razer Deathadder 2013
    - Razer Tiamat 7.1
    - Razer Goliathus Control Big


  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
    4,922
    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,426
    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
    4,922
    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
    Element™'s Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Brazil / Summoner's Rift
    Posts
    3,208
    Reputation
    81
    Thanks
    978
    My Mood
    Yeehaw
    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,074
    Reputation
    50
    Thanks
    936
    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 10: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
    4,922
    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
    124
    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,067
    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