Using Ubuntu Testing HMG have error

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
metron9
Posts: 45
Joined: Sat Sep 08, 2012 7:18 am
Location: Minnesota U.S.A.

Using Ubuntu Testing HMG have error

Post by metron9 »

Generates C file fine but cant find -lsupc++
First romp with Ubuntu here. i did the install following these instructions.
Error listed below.

HMG.4 For Linux (Ubuntu 10.4)
-----------------------------

1. Open a terminal window

2. Install QT:

$ sudo apt-get install libqt4-dev

3. Install libgmp:

$ sudo apt-get install libgpm-dev

4. To build samples, go to your desired sample folder and run the following
command:

./build.sh demo_1


That's all!

Enjoy!
Roberto.

Here is the error dump of the terminal screen.

Compiling '../../source/msgbox.prg'...
Compiling '../../source/windowgroup.prg'...
Lines 66569, Functions/Procedures 404
Generating C source output to '/tmp/hbmk_s3cfv5.dir/demo_1.c'... Done.

/usr/bin/ld: cannot find -lsupc++

collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc '/tmp/hbmk_s3cfv5.dir/demo_1.o' '/tmp/hbmk_s3cfv5.dir/hbmk_z79gc1.o' -Wl,--start-group -l'supc++' -l'hbqtcore' -l'QtCore' -l'QtGui' -l'hbqtgui' -l'QtUiTools' -l'hbqtnetwork' -l'QtNetwork' -l'hbct' -l'hbextern' -l'hbdebug' -l'hbvm' -l'hbrtl' -l'hblang' -l'hbcpage' -l'gtcgi' -l'gtpca' -l'gtstd' -l'gttrm' -l'hbrdd' -l'hbuddall' -l'hbusrrdd' -l'rddntx' -l'rddcdx' -l'rddnsx' -l'rddfpt' -l'hbrdd' -l'hbhsx' -l'hbsix' -l'hbmacro' -l'hbcplr' -l'hbpp' -l'hbcommon' -l'm' -l'dl' -l'rt' -l'hbpcre' -l'hbzlib' -l'gpm' -Wl,--end-group -o'demo_1' -L'/home/mark/Desktop/hmg.4.bin.linux.2010.09.05/harbour/lib/linux/gcc'
./build.sh: line 4: ./demo_1: No such file or directory
mark@ubuntu1:~/Desktop/hmg.4.bin.linux.2010.09.05/svn/samples/button$
Post Reply