Motif gui programming !


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Motif gui programming !
# 1  
Old 10-22-2019
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  
Old 10-22-2019
What window manager are you using?

What version of linux are you using?
# 3  
Old 10-23-2019
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  
Old 10-23-2019
Quote:
Windowsmanager. I dont know what that is.
Smilie for that statement.
This User Gave Thanks to MadeInGermany For This Post:
# 5  
Old 10-23-2019
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  
Old 10-23-2019
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  
Old 10-23-2019
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 to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Motif GUI example. UNIX executable ready.

Motif GUI example. Unix executable ready. Hi , i have attached my executable GUI example file in form of a .gz file. please gunzip file before. May i ask you for check it out that it is running on your machine ? You should have "Motif" package installed. when you klick the unix executable... (4 Replies)
Discussion started by: Sennenmut
4 Replies

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. Programming

Motif

Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
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
Login or Register to Ask a Question