09-25-2009
The above code looks like a MFC which is for Windows.
This will not work under Ubuntu. Try to implement the same using windowing API's like FLTK or even a simple glut will work.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi!!,
my HP-UX - 10.2 compiler doesnt appear to support ANSI style of coding. On compiling my C code, it flags error messages like
error 1705: Function prototypes are an ANSI Feature
Is it a generic problem with the HP compiler or do I need to use some special switches on the command... (9 Replies)
Discussion started by: jyotipg
9 Replies
2. Filesystems, Disks and Memory
How can I compile a code that can be runned on boot:?? (2 Replies)
Discussion started by: d4n1l0d
2 Replies
3. UNIX and Linux Applications
Hi all,
I downloaded the source code for a pkg.
But i dont know how to build from it?
I have no prior experience in building from source,so could you pls help me?
I tried ./configure(after entering into the dir containing the src codes)
but it generated some errors!!!!!
Some files... (1 Reply)
Discussion started by: wrapster
1 Replies
4. Solaris
Hello,I'm trying to compile source code for Nmap.
My $PATH /usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb:/usr/local/bin:/usr/css/bin
I type ./configure and all goes great.When I type ./make or ./make it says make not found.Why?I need a correct path for make?Thanks in advance. (2 Replies)
Discussion started by: bgf0
2 Replies
5. Ubuntu
Hi,
i am new to opengl, how to work openGL in ubuntu ,,
i am not getting which packages as to be install and how to install those packages.
and how to work with small programs..
Please guide me ,,, it will appriceated ... (7 Replies)
Discussion started by: Ravikishore
7 Replies
6. Programming
Hi,
I want to know how to write text in window and that is to be rotated in 3D using openGL in C language...
any answer will have value .... (0 Replies)
Discussion started by: Ravikishore
0 Replies
7. UNIX for Dummies Questions & Answers
The java program is a part of speech tagger -> The Stanford NLP (Natural Language Processing) Group
The goal is to use this script as part of a webpage to tag parts of speech based on a user-inputted string.
I have no idea what to do with the files - I'm a complete *nix noob. I tried running... (4 Replies)
Discussion started by: tguillea
4 Replies
8. Programming
Hi,
I want to debug Vim source code with GDB but I can't get it. It seems to run without debugger.
Here is my try. I have supressed output of most commands. Tell me if you need them.
$ uname -mor
2.6.37-ARCH i686 GNU/Linux
$ mkdir ~/birei && cd ~/birei
$ wget... (2 Replies)
Discussion started by: birei
2 Replies
9. Programming
Hi.
I wrote a small programm which shows me display's refresh rate
#include "stdafx.h"
#include "windows.h"
#include "iostream"
using namespace std;
int _tmain(int cout)
{
HDC hDCScreen = GetDC(NULL);
int RefreshFrequency = GetDeviceCaps(hDCScreen, VREFRESH);
ReleaseDC(NULL, hDCScreen);... (1 Reply)
Discussion started by: urello
1 Replies
10. Ubuntu
Is there any way to compile smbfs module in kernel 3.10 running Ubuntu 12.04 LTS. I did a 'make menuconfig' and it shows cifs. I found out online that smbfs is deprecated and replaced by cifs. I have an old system with kernel version 2.4 which only has smbfs (no cifs). Is it possible to compile... (1 Reply)
Discussion started by: Monil
1 Replies
LEARN ABOUT XFREE86
xf86cfg
xf86cfg(1) General Commands Manual xf86cfg(1)
NAME
xf86cfg - Graphical configuration tool for XFree86 4.0
SYNOPSIS
xf86cfg [-xf86config XF86Config] [-modulepath moduledir] [-fontpath fontsdir] [-toolkitoption ...]
DESCRIPTION
Xf86cfg is a tool to configure XFree86 4.0, and can be used to either write the initial configuration file or make customizations to the
current configuration.
When the DISPLAY environment variable is not set, xf86cfg will run the command XFree86 -configure to allow the xserver detect the hardware
in the computer, and write an initial XF86Config file in the user's home directory. Then, it will start XFree86 and allow customizations.
If the DISPLAY environment variable is set, xf86cfg will read the default XF86Config, that may not be the same being used by the current
server, and allow customizations.
To use an alternative location for modules or fonts the respective search paths may be specified.
Unless there is an Apply button in the current xf86cfg dialog, the changes made will take place the next time XFree86 is started.
Xf86cfg allows addition and configuration of new devices, such as video cards, monitors, keyboards and mouses.
Screen layout configuration for xinerama or traditional multi-head is also available.
Modelines can be configured or optimized.
AccessX basic configurations can be made in the xf86cfg's accessx section.
OPTIONS
-xf86config
Specifies an alternate XF86Config file for configuration.
-modulepath
Specifies where xf86cfg, and the server it may start, should look for XFree86 modules.
-serverpath
Specifies the complete path, not including the binary name, of the XFree86 binary.
-fontpath
Specifies the path to the fonts that should be used by the server started by xf86cfg.
-rgbpath
Specifies the path to the rgb.txt file that should be used by the server started by xf86cfg, if any.
-textmode
If xf86cfg was compiled with support to ncurses, this option makes xf86cfg enters a text mode interface.
-nomodules
When built with support for loading modules, this options changes xf86cfg behaviour, so that it will not load any modules, and thus
start quicker.
ENVIRONMENT
DISPLAY Default host and display number
XWINHOME
Directory where XFree86 was installed, defaults to /usr/X11R6.
XENVIRONMENT
Name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property
FILES
/etc/XF86Config
Server configuration file
/etc/X11/XF86Config
Server configuration file
/usr/X11R6/etc/XF86Config
Server configuration file
/usr/X11R6/lib/X11/XF86Config.hostname
Server configuration file
/usr/X11R6/lib/X11/XF86Config
Server configuration file
/usr/X11R6/lib/X11/app-default/XF86Cfg
Specifies xf86cfg resources
/usr/X11R6/lib/X11/xkb/X0-config.keyboard
Keyboard specific configuration
SEE ALSO
XFree86(1) XF86Config(5)
COPYRIGHT
Copyright 2000, Conectiva Linux S.A.
http://www.conectiva.com
Copyright 2000, The XFree86 Project
http://www.XFree86.org
AUTHORS
Paulo Cesar Pereira de Andrade <pcpa@conectiva.com.br>
The XFree86 Project
BUGS
Probably.
XFree86 Version 4.7.0 xf86cfg(1)