Jump to content


really stuck - std::bad_alloc - cannot compile/run GCS anymore


  • Please log in to reply
24 replies to this topic

#21 naiiawah

naiiawah

    Core Developer

  • Members
  • PipPipPip
  • 309 posts
  • LocationNorthwest USA
  • Country: flag of United States United States


Posted 08 January 2012 - 06:08 PM

Interesting.  Well, first thing I would try is to us synaptic to do an un-install of the Qt dev packages with the purge option and then re-install them.

#22 Andre-K

Andre-K

    Advanced Member

  • Members
  • PipPipPip
  • 185 posts
  • Country: flag of Norway Norway


Posted 08 January 2012 - 08:00 PM

my installed packages with "qt4" are:
libpoppler-qt4-3    (irrelevant pdf stuff)
qt4-designer
qt4-linguist-tools
qt4-make

Would you say purging the three last items is enough, or do I miss something (I searched for installed packaged with "qt4" string)

#23 naiiawah

naiiawah

    Core Developer

  • Members
  • PipPipPip
  • 309 posts
  • LocationNorthwest USA
  • Country: flag of United States United States


Posted 09 January 2012 - 02:39 AM

Maybe you are just missing some packages?  My list is quite a lot more extensive.

$ dpkg -l | grep "Qt 4"
ii  libqt4-dbus				 4:4.7.0-0ubuntu4.4		 Qt 4 D-Bus module
ii  libqt4-declarative		  4:4.7.0-0ubuntu4.4		 Qt 4 Declarative module
ii  libqt4-designer			 4:4.7.0-0ubuntu4.4		 Qt 4 designer module
ii  libqt4-dev				  4:4.7.0-0ubuntu4.4		 Qt 4 development files
ii  libqt4-help				 4:4.7.0-0ubuntu4.4		 Qt 4 help module
ii  libqt4-network			  4:4.7.0-0ubuntu4.4		 Qt 4 network module
ii  libqt4-opengl			   4:4.7.0-0ubuntu4.4		 Qt 4 OpenGL module
ii  libqt4-opengl-dev		   4:4.7.0-0ubuntu4.4		 Qt 4 OpenGL library development files
ii  libqt4-qt3support		   4:4.7.0-0ubuntu4.4		 Qt 3 compatibility library for Qt 4
ii  libqt4-script			   4:4.7.0-0ubuntu4.4		 Qt 4 script module
ii  libqt4-scripttools		  4:4.7.0-0ubuntu4.4		 Qt 4 script tools module
ii  libqt4-sql				  4:4.7.0-0ubuntu4.4		 Qt 4 SQL module
ii  libqt4-sql-mysql			4:4.7.0-0ubuntu4.4		 Qt 4 MySQL database driver
ii  libqt4-sql-sqlite		   4:4.7.0-0ubuntu4.4		 Qt 4 SQLite 3 database driver
ii  libqt4-svg				  4:4.7.0-0ubuntu4.4		 Qt 4 SVG module
ii  libqt4-test				 4:4.7.0-0ubuntu4.4		 Qt 4 test module
ii  libqt4-xml				  4:4.7.0-0ubuntu4.4		 Qt 4 XML module
ii  libqt4-xmlpatterns		  4:4.7.0-0ubuntu4.4		 Qt 4 XML patterns module
ii  libqtcore4				  4:4.7.0-0ubuntu4.4		 Qt 4 core module
ii  libqtgui4				   4:4.7.0-0ubuntu4.4		 Qt 4 GUI module
ii  qt4-designer				4:4.7.0-0ubuntu4.4		 graphical designer for Qt 4 applications
ii  qt4-dev-tools			   4:4.7.0-0ubuntu4.4		 Qt 4 development tools
ii  qt4-doc					 4:4.7.0-0ubuntu4.4		 Qt 4 API documentation
ii  qt4-qmake				   4:4.7.0-0ubuntu4.4		 Qt 4 qmake Makefile generator tool

I would purge the ones you can find and then re-install them all.

#24 Andre-K

Andre-K

    Advanced Member

  • Members
  • PipPipPip
  • 185 posts
  • Country: flag of Norway Norway


Posted 09 January 2012 - 04:42 PM

yes, sorry - I've got them plus, and qdbus too.
Anyway - purged:

sudo apt-get purge qt4-designer qt4-linguist-tools qt4-make
sudo apt-get install --reinstall build-essential qt4-qmake libqt4-dev libsdl1.2-dev libusb-dev libudev-dev libphonon-dev

sudo apt-get install --reinstall libqt4-dbus  libqt4-declarative libqt4-designer libqt4-dev libqt4-help  ii  libqt4-network ii  libqt4-opengl libqt4-opengl-dev libqt4-qt3support  libqt4-script libqt4-scripttools  libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtgui4 qdbus qt4-designer qt4-linguist-tools qt4-qmake

.. still .. same crash.  :(

Edited by Andre-K, 09 January 2012 - 05:18 PM.


#25 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1211 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 09 January 2012 - 09:58 PM

I would delete the configuration file and choose "no" when prompted to load the default. You will start GCS with no plugins loaded, if it doesn't crash enable one plugin at a time.
Life is just a game, but atleast the graphics are awesome!