This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 5 of 5

Thread: How to compile in C++ 2010?

  1. #1
    Junior Member Eneko's Avatar
    Join Date
    Nov 2012
    Location
    Basque Country
    Posts
    3

    Exclamation How to compile in C++ 2010?

    Read title
    Last edited by Eneko; 11-25-2012 at 05:58 PM.

  2. #2
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    Do you have >=GCC 4.7.1? You need to add some configuration to the project:

    Compiler options:
    -std=gnu++0x

    Linker options:
    -static

  3. #3
    Junior Member Eneko's Avatar
    Join Date
    Nov 2012
    Location
    Basque Country
    Posts
    3
    Okay, i make in Code::Blocks, with GCC 4.7.1 and with linker option "-static"

    Build log: https://pastebin.com/BcvaJEms

  4. #4
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    Quote Originally Posted by Recycler View Post
    Compiler options:
    -std=gnu++0x
    Apply this.

  5. #5
    Junior Member Eneko's Avatar
    Join Date
    Nov 2012
    Location
    Basque Country
    Posts
    3
    Sry, i new in Code::Blocks, where is to add that?
    And i use your "vaultscript" source, and the makefile comes "CFLAGS = -std=gnu++0x"

    Thanks

    Edit: This is options? https://i.imagebanana.com/img/bvwblg74/asd.png
    Last edited by Eneko; 11-26-2012 at 07:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •