User forums > Using Code::Blocks

Code::Blocks not compiling .cpp files well under Ubuntu

<< < (3/4) > >>

srepuac:
I didn't find libncurses.so.5, just libncurses.so, which I added to the list.

libncurses5, libncurses5-dev are installed to the latest version :(

I also added the /lib dir, but still the same errors...

McZim:
ok, if not find libncurses.so.5, include libncurses.so to the project, but path shall be /lib.

show me place result two command:

1. sudo aptitude search ncurses
2. sudo find / -name libncurses*

srepuac:
Hello McZim, thanks for the assistance :)

Here's the results of the two commands :

sudo aptitude search ncurses

p   evms-ncurses                    - Enterprise Volume Management System (ncurs
p   irmp3-ncurses                   - irmp3 control frontend                   
p   lib64ncurses5                   - Shared libraries for terminal handling (64
p   lib64ncurses5-dev               - Developer's libraries for ncurses (64-bit)
v   libncurses-dev                  -                                           
p   libncurses-ruby                 - ruby Extension for the ncurses C library 
p   libncurses-ruby1.8              - ruby Extension for the ncurses C library 
p   libncurses-ruby1.9              - ruby Extension for the ncurses C library 
p   libncurses4                     - Shared libraries for terminal handling   
i   libncurses5                     - Shared libraries for terminal handling   
p   libncurses5-dbg                 - Debugging/profiling libraries for ncurses
i   libncurses5-dev                 - Developer's libraries and docs for ncurses
i   libncursesw5                    - Shared libraries for terminal handling (wi
p   libncursesw5-dbg                - Debugging/profiling libraries for ncurses
p   libncursesw5-dev                - Developer's libraries for ncursesw       
i   ncurses-base                    - Descriptions of common terminal types     
i   ncurses-bin                     - Terminal-related programs and man pages   
v   ncurses-dev                     -                                           
p   ncurses-hexedit                 - Edit files/disks in hex, ASCII and EBCDIC
v   ncurses-runtime                 -                                           
p   ncurses-term                    - Additional terminal type definitions     




 

sudo find / -name libncurses*

/lib/libncursesw.so.5
/lib/libncurses.so.5
/lib/libncursesw.so.5.5
/lib/libncurses.so.5.5
/usr/lib/libncurses.so.5 /* I've now included them in the linker settings but I still get the same errors :( */
/usr/lib/libncurses.a
/usr/lib/vlc/gui/libncurses_plugin.so
/usr/lib/libncurses.so
/usr/lib/libncurses++.a
/usr/share/doc/libncurses5-dev
/usr/share/doc/libncurses5
/usr/share/doc/libncursesw5
/var/cache/apt/archives/libncurses5-dev_5.5-5ubuntu2_i386.deb
/var/cache/apt/archives/libncurses5_5.5-5ubuntu2_i386.deb
/var/lib/dpkg/info/libncursesw5.list
/var/lib/dpkg/info/libncursesw5.postrm
/var/lib/dpkg/info/libncurses5.shlibs
/var/lib/dpkg/info/libncurses5-dev.list
/var/lib/dpkg/info/libncurses5.list
/var/lib/dpkg/info/libncursesw5.shlibs
/var/lib/dpkg/info/libncurses5.postrm
/var/lib/dpkg/info/libncursesw5.postinst
/var/lib/dpkg/info/libncurses5.postinst

McZim:

--- Quote from: srepuac on June 19, 2008, 12:46:47 pm ---sudo aptitude search ncurses

i   libncurses5                     - Shared libraries for terminal handling   
i   libncurses5-dev                 - Developer's libraries and docs for ncurses


sudo find / -name libncurses*

/lib/libncurses.so.5
/usr/lib/libncurses.so.5 /* I've now included them in the linker settings but I still get the same errors :( */  << ERROR >>

--- End quote ---

Hi, thats ok, but you need include /lib/libncurses.so.5
and not /usr/lib/libncurses.so.5

srepuac:
Libraries
http://tinypic.com/view.php?pic=2vht0ro&s=3

Directories:
http://tinypic.com/view.php?pic=1z4yi5l&s=3

Anything wrong?

Libraries:
usr/lib/libncurses++.a
usr/lib/libcurses.a
usr/lib/libncurses.a
usr/lib/libdl.a
usr/lib/libglib.a
usr/lib/libncurses.so
/lib/libncurses.so.5


Directories:
lib

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version