![]() |
|
#1
|
|||
|
|||
use of flnxDear all,
I am using flnx 0.18. I installed microwindows-0.90 in /home/microwindows-0.90 directory. I installed flnx 0.18 in /home. #./configure --with-microwin=/home/microwindows-0.90/src #make clean;make It compiled successfully. When I ran demo.sh It is running.But when I ran files of "test" files of flnx. It is giving error. e.g for hello.cxx file error is :- Code:
My system configuration is :- fedora 8.90(werewolf) kernel 2.6.23/-42.fc8 on i686 gcc :-4.1.2 Thanking all of you shiva kumar Last edited by cable_guy_67 : 15-Apr-2008 at 16:40.
Reason: Added [CODE] tags
|
|||
|
#2
|
|||
|
|||
Re: use of flnxI solved this problem by compiling it through
:- #g++ hello.cxx -lfltk -lnano-X -lm -o hel It creates hel(binary file.)but when I am running it ./hel after invoking nano-X and nanowm server,it is not running .....not going to any where .... Thanking you shiva |
|
#3
|
|||
|
|||
Re: use of flnxDear all,
It solved the problem little bit ......when I run following command in run.sh with "sh run.sh filename" It works. g++ -I.. -O2 -Wall -Wno-return-type -DNANO_X -I/home/microwindows-0.90/src/include -DNANOXFOLDER='"/home/microwindows-0.90/src/bin"' -DPDA $1.cxx -L../lib -lfltk -DNANO_X=1 -L/usr/local/lib -L/home/microwindows-0.90/src/lib -lnano-X -lm -o $1 Another problem is I have to change demo.sh(in place of button I have to put filename ) code to run binary file and running it in shell as #./demo.sh Now It works tell me sir why? one person suggest me this but this one is also not working:- > I'm just typing out loud here, but doesn't FLTK require you to add the > REENTRANT flag to your build command line? Something like: > > g++ -D_REENTRANT hello.cxx -lfltk -lnano-X -lm -o hel > regards shiva kumar |
Recent GIDBlog
Non-US citizens serving in the military by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what is FLNX???? | jaikumar_j | FLTK Forum | 1 | 02-Sep-2006 12:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The