Linux Support

Moderators: None (Apply to moderate this forum)
Number of threads: 332
Number of posts: 953

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
funny but important Posted by gopoo on 27 Apr 2003 at 10:23 PM
hello i am new to linux ,
i am porting to linux for game programming and
using the allegro game library ,i already made
games with {djgpp allegro} and {vc++ allegro}
but don'tno anything about linux,i use
redhat linux 8.0 ,and able to compile the whole
allegro under linux ,but the problem is that now
"How to execute the executable under linux"
1 .double clicking over it { not work }
2 . use terminal {not work }
is there any configuration fault ?
help on how to run an exe in linux
Report
Re: funny but important Posted by jewel on 28 Apr 2003 at 12:24 PM
This message was edited by jewel at 2003-4-28 12:26:40

: hello i am new to linux ,
: i am porting to linux for game programming and
: using the allegro game library ,i already made
: games with {djgpp allegro} and {vc++ allegro}
: but don'tno anything about linux,i use
: redhat linux 8.0 ,and able to compile the whole
: allegro under linux ,but the problem is that now
: "How to execute the executable under linux"
: 1 .double clicking over it { not work }
: 2 . use terminal {not work }
: is there any configuration fault ?
: help on how to run an exe in linux
:

if you are thinking about running programs that are compiled in linux, just exec the binary file with

1) ./program
2) /full/path/to/program

or put it in /bin or /usr/bin, and just type the name of your application

if you are thinking about running windows applications in linux, i suggest you visit www.transgaming.com and/or www.winehq.com
Report
Re: funny but important Posted by gopoo on 28 Apr 2003 at 7:57 PM
: This message was edited by jewel at 2003-4-28 12:26:40

: : hello i am new to linux ,
: : i am porting to linux for game programming and
: : using the allegro game library ,i already made
: : games with {djgpp allegro} and {vc++ allegro}
: : but don'tno anything about linux,i use
: : redhat linux 8.0 ,and able to compile the whole
: : allegro under linux ,but the problem is that now
: : "How to execute the executable under linux"
: : 1 .double clicking over it { not work }
: : 2 . use terminal {not work }
: : is there any configuration fault ?
: : help on how to run an exe in linux
: :
:
: if you are thinking about running programs that are compiled in linux, just exec the binary file with
:
: 1) ./program
: 2) /full/path/to/program
:
: or put it in /bin or /usr/bin, and just type the name of your application
:
: if you are thinking about running windows applications in linux, i suggest you visit www.transgaming.com and/or www.winehq.com
: no , the application actually run but
due to some error or eny other thing it {not run}
as [sdsdc @d ] test
if i try to run and application say test but it can'trun

Report
Re: funny but important Posted by jewel on 29 Apr 2003 at 2:51 AM
: : This message was edited by jewel at 2003-4-28 12:26:40

: : : hello i am new to linux ,
: : : i am porting to linux for game programming and
: : : using the allegro game library ,i already made
: : : games with {djgpp allegro} and {vc++ allegro}
: : : but don'tno anything about linux,i use
: : : redhat linux 8.0 ,and able to compile the whole
: : : allegro under linux ,but the problem is that now
: : : "How to execute the executable under linux"
: : : 1 .double clicking over it { not work }
: : : 2 . use terminal {not work }
: : : is there any configuration fault ?
: : : help on how to run an exe in linux
: : :
: :
: : if you are thinking about running programs that are compiled in linux, just exec the binary file with
: :
: : 1) ./program
: : 2) /full/path/to/program
: :
: : or put it in /bin or /usr/bin, and just type the name of your application
: :
: : if you are thinking about running windows applications in linux, i suggest you visit www.transgaming.com and/or www.winehq.com
: : no , the application actually run but
: due to some error or eny other thing it {not run}
: as [sdsdc @d ] test
: if i try to run and application say test but it can'trun
:
:


could you post exacly what happns here?
did you put your application in /bin or /usr/bin?

Report
Re: funny but important Posted by abc on 29 Apr 2003 at 9:49 AM
: did you put your application in /bin or /usr/bin?

you've got to be kidding ... putting any kind of test program in /bin ??? even /usr/bin would be bad (heck, /usr/local/bin too, for a mere test program), but /bin ???

so the problem is the executable is not in your shell's search path. if you want to put it in there mahe a bin dir in your home dir and drop it there (~/bin is normally in the PATH, whether it exists or not). but the best thing is to go with the initial suggestion: specify the path directly as ./test (that is, 'test' from the current directory). i'm assuming it is executable, since you said you compiled the thing.
Report
Re: funny but important Posted by gopoo on 30 Apr 2003 at 2:31 AM
: : did you put your application in /bin or /usr/bin?
:
: you've got to be kidding ... putting any kind of test program in /bin ??? even /usr/bin would be bad (heck, /usr/local/bin too, for a mere test program), but /bin ???
:
: so the problem is the executable is not in your shell's search path. if you want to put it in there mahe a bin dir in your home dir and drop it there (~/bin is normally in the PATH, whether it exists or not). but the best thing is to go with the initial suggestion: specify the path directly as ./test (that is, 'test' from the current directory). i'm assuming it is executable, since you said you compiled the thing.
: yes , yes ,yes
i don't know what i had done ,but it's works
i can able to run the application ,but now other problem occcur
when it come back from the full screen display , the desktop
cann't able to back in it's form i mean from
640*480*16 to 800*600*16 and it show two split { horror } screen.
----- and thanks for help --




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.