Results 1 to 12 of 12
  1. #1
    asscold's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    4
    My Mood
    Amazed

    C Language Won't build.

    I use Code::Bloacks, and Visual Studio 2010 try to build this code;
    Code:
    #include <stdio.h>
    
    int main(void)
    {
    	printf("Hello World");
    	return 0;
    
    }
    In Code:Bloack keep saying:"Can's find compiler executable in your configured search path's for GNU GCC Compiler"
    "wdq - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
    Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)
    Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
    Skipping...
    Nothing to be done (all items are up-to-date).
    In Visual Studio just saying fail.
    plus my quotation mark look different on Visual Studio [Image]
    Attached Thumbnails Attached Thumbnails
    Error.png  

    Last edited by asscold; 10-08-2014 at 07:42 AM.

  2. #2
    42trojan42's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    127.0.0.1
    Posts
    81
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    Quote Originally Posted by asscold View Post
    I use Code::Bloacks, and Visual Studio 2010 try to build this code;
    Code:
    #include <stdio.h>
    
    int main(void)
    {
    	printf("Hello World");
    	return 0;
    
    }
    In Code:Bloack keep saying:"Can's find compiler executable in your configured search path's for GNU GCC Compiler"


    In Visual Studio just saying fail.
    plus my quotation mark look different on Visual Studio [Image]
    That's c language and you are using Visual Studio 2010 c++ so c can't be used with .you can use "Devc++" c language supported with this
    Attached Thumbnails Attached Thumbnails
    ffffff.PNG  

    Last edited by 42trojan42; 10-08-2014 at 10:33 AM.

  3. #3
    asscold's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    4
    My Mood
    Amazed
    what about code:;blocks? is not working on code:;blocks...

  4. #4
    42trojan42's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    127.0.0.1
    Posts
    81
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    i never used code blocks but check the version that you are using (32bit or64bit)

  5. #5
    asscold's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    4
    My Mood
    Amazed
    btw I am not using Visual Studio C++, I have the full Visual Studio, does that make it difference? how do I write C code in Visual Studio?

  6. #6
    InunoTaishou's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    The Internet
    Posts
    446
    Reputation
    20
    Thanks
    951
    My Mood
    Relaxed
    It compiled just fine in my version of Visual Studio (2013)

    First you've got a "void" in your parameter list (Idk why you need it and you probably don't either, main can take parameters but it's mainly for how you wish to compile your project so for now get rid of it.)
    Second, when you go to File > New > Project you select visual C++ and click on the Win32 Project (If you don't see it look under the Win32 tab)
    Click next, check the "Empty Project" box.
    This will start a project but you'll have nothing in it so go to Project > Add New item > C++ File (.cpp) (C++ and C are the same thing, C++ just has a little more).
    Copy/paste your code in it and it should compile

    As for Code::Blocks it tells you the error. You just need to setup the compiler in the Code::Blocks settings. I have no clue where it's at because I use VS...

  7. #7
    Harava's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    114
    Reputation
    10
    Thanks
    2,989
    Quote Originally Posted by 42trojan42 View Post
    That's c language and you are using Visual Studio 2010 c++ so c can't be used with .you can use "Devc++" c language supported with this
    BULL-SHIT.

    C++ is compatible with C. Even MSVC.

    Op just did not get the configuration for VC2010 right in codeblocks.
    Set the paths for the compiler and it will work just fine.
    Recent releases:
    CSPHv3.2




    Code:
    00F38C0E     B8 0610F300    MOV EAX, 00F31006
    00F38C13     C700 208CF300  MOV DWORD PTR DS:[EAX], 00F38C20
    00F38C19     EB FF          JMP SHORT 00F38C1A
    00F38C1B     90             NOP
    00F38C1C     0000           ADD BYTE PTR DS:[EAX],AL
    00F38C1E     0000           ADD BYTE PTR DS:[EAX],AL
    00F38C20     58             POP EAX
    00F38C21    ^EB EB          JMP SHORT 00F38C0E
    Can't see me calling, you hatin'?

  8. #8
    42trojan42's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    127.0.0.1
    Posts
    81
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    Quote Originally Posted by Harava View Post
    BULL-SHIT.

    C++ is compatible with C. Even MSVC.

    Op just did not get the configuration for VC2010 right in codeblocks.
    Set the paths for the compiler and it will work just fine.
    01000111011011110010000001100110011101010110001101 10101100100000011110010110111101110101011100100111 0011011011000110010101100110

  9. #9
    InunoTaishou's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    The Internet
    Posts
    446
    Reputation
    20
    Thanks
    951
    My Mood
    Relaxed
    Quote Originally Posted by 42trojan42 View Post
    01000111011011110010000001100110011101010110001101 10101100100000011110010110111101110101011100100111 0011011011000110010101100110
    Really bad binary code.... Pretty sure it's "Go fuck yourself"

    Either way, you're still wrong...

  10. #10
    Harava's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    114
    Reputation
    10
    Thanks
    2,989
    Quote Originally Posted by 42trojan42 View Post
    01000111011011110010000001100110011101010110001101 10101100100000011110010110111101110101011100100111 0011011011000110010101100110
    e97adf1d8b4e925ce4d92114c018be4c
    Recent releases:
    CSPHv3.2




    Code:
    00F38C0E     B8 0610F300    MOV EAX, 00F31006
    00F38C13     C700 208CF300  MOV DWORD PTR DS:[EAX], 00F38C20
    00F38C19     EB FF          JMP SHORT 00F38C1A
    00F38C1B     90             NOP
    00F38C1C     0000           ADD BYTE PTR DS:[EAX],AL
    00F38C1E     0000           ADD BYTE PTR DS:[EAX],AL
    00F38C20     58             POP EAX
    00F38C21    ^EB EB          JMP SHORT 00F38C0E
    Can't see me calling, you hatin'?

  11. #11
    42trojan42's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    127.0.0.1
    Posts
    81
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    Quote Originally Posted by InunoTaishou View Post
    Really bad binary code.... Pretty sure it's "Go fuck yourself"

    Either way, you're still wrong...
    wut ??

  12. #12
    42trojan42's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    127.0.0.1
    Posts
    81
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    Quote Originally Posted by Harava View Post
    e97adf1d8b4e925ce4d92114c018be4c
    54 48 41 54 27 53 20 4d 45 20 4f 4e 20 53 4b 59 50 45

Similar Threads

  1. Hack clients won't build anymore?
    By guyu in forum Minecraft Help
    Replies: 3
    Last Post: 08-10-2014, 07:29 PM
  2. c++ won't build?
    By GForce-Cody in forum C++/C Programming
    Replies: 0
    Last Post: 05-29-2011, 09:55 PM
  3. iLterate noob language - English translations
    By RebornAce in forum General
    Replies: 4
    Last Post: 04-18-2011, 05:44 AM
  4. Whut Language do hackers use when makeing hacks??
    By jeremywilms in forum Programming
    Replies: 23
    Last Post: 07-04-2006, 12:14 PM
  5. Guild Wars Builds
    By Chronologix in forum General Gaming
    Replies: 4
    Last Post: 02-20-2006, 03:03 PM