Motif gui programming !


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Motif gui programming !
# 1  
Motif gui programming !

MOTIF GUI PROGRAMMING !
Hi there. I am a MOTIF GUI Programmer in C language.
After a longer break i have problems with the GCC compiling.
my MOTIF file is named winstack.c
I have the follow code
Code:
 gcc -o newprogram  winstack.c  -lXm -lXt -lX11

The compilation runs good.
But no executable LINUX FILE is created. except a file named newprogram.
The properties of the file in the context menue is "shared library" not "executable".
Thats my problem.
From commandline is no problem with ./newprogram. A GUI Windows is opening.
How about a real linux exe to start with one click in file explorer ???
Kindly Regards
SM
# 2  
What window manager are you using?

What version of linux are you using?
# 3  
Clang Compiler makes it.

Hi , the problem is solved. I have installed CLANG compiler , that works.
I have Sparky Linux OS.

Windowsmanager. I dont know what that is.
These 2 Users Gave Thanks to Sennenmut For This Post:
# 4  
Quote:
Windowsmanager. I dont know what that is.
Smilie for that statement.
This User Gave Thanks to MadeInGermany For This Post:
# 5  
i am a express application assembler

hi,
windowsmanager ? What does it matter ? The EXE must RUN ! RUN !

For myself. I program single short applications that RUN immediatelly.
code / GUI / Network READY.
Only application - only for Linux. NOTHING ELSE.

Tequila on the beach.
# 6  
Quote:
Originally Posted by Sennenmut
Hi , the problem is solved. I have installed CLANG compiler , that works.
I have Sparky Linux OS.

Windowsmanager. I dont know what that is.
Then see this reference, and learn something new:

Motif Window Manager - Wikipedia

and see also:

Window manager - Wikipedia

Quote:
A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface. Most window managers are designed to help provide a desktop environment. They work in conjunction with the underlying graphical system that provides required functionality—support for graphics hardware, pointing devices, and a keyboard, and are often written and created using a widget toolkit.

Few window managers are designed with a clear distinction between the windowing system and the window manager. Every graphical user interface based on a windows metaphor has some form of window management. In practice, the elements of this functionality vary greatly. Elements usually associated with window managers allow the user to open, close, minimize, maximize, move, resize, and keep track of running windows, including window decorators. Many window managers also come with various utilities and features: e.g. docks, task bars, program launchers, desktop icons, and wallpaper.
Hopefully, you know what a window manager is now Smilie

From above:

Every graphical user interface based on a windows metaphor has some form of window management.

So, you should probably learn and know what a window manager is, since you are using MOTIF .... Smilie
# 7  
Quote:
Originally Posted by Sennenmut
hi,
windowsmanager ? What does it matter ? The EXE must RUN ! RUN !
You made your executable correctly. It should have worked. It did work -- except, not in your window manager.

There could have been -- and may still be -- issues with your window manager, whatever it is. Without knowing what it is, we can't say what issues. Each has its own peculiarities. They aren't uniform.

If you don't know what it is, I strongly recommend you find out.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #645
Difficulty: Easy
The first web browser, WorldWideWeb, was invented on the NeXTSTEP platform.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

I'll be a professional MOTIF GUI programmer.

I'll be a professional MOTIF GUI programmer. And nothing will stop me. Nothing. :) (5 Replies)
Discussion started by: Sennenmut
5 Replies

2. UNIX for Beginners Questions & Answers

Wanna learn native GUI programming in UNIX - Linux ?

Hi , wanna learn native GUI programming in Unix-Linux instead of Gtk and Qt. No problem. You don't need a cross platform Gui toolkit like Gtk and Qt. And the code and syntax is also not more or less than others. Check out this code for a simple mainwindow for your application that is openend in... (0 Replies)
Discussion started by: Sennenmut
0 Replies

3. Programming

MOTIF programming and X11 client !

Hi there , i am interesting in MOTIF programming. One question : Is it right that in Motif GUI programming the actions are automaticly transformed and networked to other clients over the internet without network programming necessary ? Are the commands automatic transformed by the X11... (4 Replies)
Discussion started by: Zabo
4 Replies

4. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

5. Solaris

Motif 2.1 migration from Motif 1.2

An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine. Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application... (0 Replies)
Discussion started by: shafi2all
0 Replies

6. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

7. Programming

motif help

Hi everyone, I am new in motif programming and I want to learn how to program it. I use Fedora core 3 and every time I compile the program, there are always some errors appear. One of the errors said that I do not have the Xm/xxxx.h However, I do not know precisely how to install header files. I... (0 Replies)
Discussion started by: qqq
0 Replies

8. Programming

Motif

Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies

9. Programming

Motif resources

I am very glad to be a member of you. where can i look for the resource programe examples about motif? please help me!Thanks a lot. (3 Replies)
Discussion started by: q30
3 Replies

10. Programming

GUI programming

I am a newbie to the *nix developer community, and was wondering if anyone has any good links on the subject of GUI programming in the X environment. Any suggestion is welcome =). (2 Replies)
Discussion started by: Solitare
2 Replies

Featured Tech Videos