Feb 24 2006, 10:44 AM
Post
#1
|
|
|
Group: Members Posts: 48 Joined: 22-January 06 Member No.: 8,972 |
Greetings!
I am trying to compile a program written in C++, (no STL or Templates), that uses ncurses for the UI. The program was originally written in Windows under Bloodsheds Dev-C++. Ncurses was supplied using a DEV Package for Bloodshed, called pdcurses2.6. Well, my application doesn't compile and I think it is because I am not linking to the ncurses library, because most of the errors are undefined reference to ncurses calls : IE. undefined reference to 'wattr_on' undefined reference to 'waddch' etc. So, for starters, here is my ZGCC.SH file : export GCC_EXEC_PREFIX=/mnt/cf/.zgcc/lib/gcc-lib/arm-linux/2.95.2/ export COMPILER_PATH=/mnt/cf/.zgcc/bin:/mnt/cf/.zgcc/lib/gcc-lib/arm-linux/2.95.2/ export CPATH=/mnt/cf/.zgcc/ export LIBRARY_PATH=/mnt/cf/.zgcc/lib/:/mnt/cf/.zgcc/lib/gcc-lib/arm-linux/2.95.2/:/lib/:/home/QtPalmtop/lib/ export CPLUS_INCLUDE_PATH=/mnt/cf/.zgcc/g++-3/ PATH=/mnt/cf/.zgcc/bin:$PATH export PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/cf/.zgcc/lib export LD_LIBRARY_PATH TMAKEPATH="/mnt/cf/.zgcc/tmake/lib/sharp-onboard/" export TMAKEPATH ln -sf /lib/libc.so.6 /usr/lib/libc.so ln -sf /lib/libm.so.6 /usr/lib/libm.so ln -sf /mnt/cf/.zgcc/bin/libstdc++-3-libc6.1-2-2.10.0.so /home/QtPalmtop/lib/libstdc++-libc6.2-2.so.3 Anybody know what's going on? Thanks, Andres |
|
|
|
andresgriego Local Zaurus Compile Of An Ncurses Application Feb 24 2006, 10:44 AM
andresgriego I searched google about linking ncurses and found ... Feb 24 2006, 07:19 PM
andresgriego I can't get ncurses in my program to work. I n... Feb 27 2006, 12:01 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 01:48 PM |