Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Cc1plus.exe: out of memory allocating 149709 bytes

Cc1plus.exe: out of memory allocating 149709 bytes

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    my-tien
    wrote on last edited by
    #1

    Hi,
    I am trying to run a little test program using the point cloud library: http://pointclouds.org/. I use the code from this page: http://pointclouds.org/documentation/tutorials/hull_2d.php.

    Interestingly everything works fine when I compile and run it in CodeBlocks with MinGW 32-bit and gcc version 4.7.2.

    But when compiling it in Qt Creator (Qt 5.1.0, MinGW 32-bit gcc 4.8), I receive following error:

    cc1plus.exe: out of memory allocating 149709 bytes

    I already did some research and tried following suggested configurations with no success:

    • QMAKE_CXXFLAGS += -O0

    • command line arguments for make: -Wl -large-address-aware

    Since everything works fine in CodeBlocks it must be Qt related. Do you have any idea how to solve this?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      my-tien
      wrote on last edited by
      #2

      So, I tried to find out, wether the problem is really Qt related or gcc version related.
      I ran my code in CodeBlocks again but this time pointed the compiler to path\to\Qt\Qt5.1.0\Tools\mingw48_32.
      And now the same error occurs! So does this mean, it is only gcc version related?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved