Fedora :: Warning: Cannot Convert String "-adobe-courier-bold-r-*-*-12-120-75-75-*-70-*-*" To Type FontStruct
Jan 11, 2010
using the application manager and yum, however, I need to install an executable that is in neither. It isn't an RPM either. $ file results in :
ncplot: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
running:
chmod +x ncplot
./ncplot
results in :
Warning: cannot convert string "-adobe-courier-bold-r-*-*-14-148-75-75-m-90-*-*" to type FontStruct
[code]....
View 10 Replies
ADVERTISEMENT
Jun 9, 2010
I used xbindkeys and xvkbd to map my extra mouse buttons to page up and page down. With kde 4.4 it worked, but since I upgraded to kde 4.5 beta, I get the following error when xbindkeys starts:
Code:
*** Warning ***verify that there is not another program running which captures one of the keys captured by xbindkeys. It seems that there is a conflict, and xbindkeys can't grab all the keys defined in its configuration file. And for button press I get
Code:
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
[code]....
View 1 Replies
View Related
Jan 21, 2010
I'm having some trouble with some adobe fonts (at least I think that's it). Anyways the errors received are
Code:
Warning: Cannot convert string "-adobe-courier-medium-r-*--14-*-*-*-m-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-courier-bold-r-*--14-*-*-*-m-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-courier-medium-r-*--12-*-*-*-m-*-*-*" to type FontStruct
X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 45 (X_OpenFont) Serial number of failed request: 643 Current serial number in output stream: 654 xlsfonts|grep adobe|grep courier
[Code]...
I went looking for those files to see if I could symlink a 14 one to either the 15 one or the other ones, but I couldn't find the files anyways. I get this when attempting to run an X windowed program (qmon) and it crashes out while printing the first set of errors.
View 2 Replies
View Related
Mar 4, 2011
I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.
Code
====
#include <vector>
#include <iostream>
#include <string>
[Code].....
View 7 Replies
View Related
Mar 17, 2011
how to convert a dictionary data-type to a string?
actually I am trying to update some json file 's dictionary.
View 1 Replies
View Related
Feb 23, 2011
I have a pdf file (nasm documentation) that used to be displayed perfectly with xpdf, but now all code example lines remain blank. On the terminal I get repeated lines such as:
Quote:
Error: Couldn't create a font for 'Courier Bold'
Error: Couldn't create a font for 'Courier'
I tried to figure out the problem... the same problem occurs with both evince and okular. However it does not occur when opening the same file under root (tested with xpdf), so it seems to be some permission problem. I tried searching on the error message but couldn't find a working solution.
View 2 Replies
View Related
Mar 26, 2011
Do I have the convert the int to a string using stringstream then convert the string to a char? or is there a more direct way?Also is there a way to tell the length of a int?
View 5 Replies
View Related
Mar 13, 2010
Code:
The error is:
Code:
What I want to do is take input of ip4 as a string, convert it to an integer to add 1 to it, then reconvert it back to a string. Its not working.
My full code is:
Code:
View 1 Replies
View Related
Oct 14, 2010
that's what i get on one of my 2 new lucid boxen when i try to run twm (1:1.0.4-2ubuntu2) inside vnc4server 4.1.1+xorg4.3.0-37ubuntu2). any idea how to fix this? the xfonts packages are installed, and no problem with twm on the console. and no problem with twm inside vnc4server on the other lucid box. both were installed via netboot (minimal), both were fleshed out with apt-get lubuntu-desktop, though there were presumably inconsequential differences, on the one that works fine:
Code:
apt-get install twm
apt-get install vnc4server xvnc4viewer
apt-get install lxde-core
apt-get install lubuntu-desktop
[code]....
View 1 Replies
View Related
Jun 17, 2011
I'm trying to install a program (MOPAC2007) from the source code which is a 32-bit program, but I get the following errors:
[code]...
I have installed the 32-bit libraries (gcc-gfortran.i686, glib.i686, libstdc++.i686).
View 1 Replies
View Related
Jul 3, 2010
I've just updated my linux system (Debian) and went to compile some code I'm working on. However it causes some problems, presumable because of GCC up dates. I get many of my subject line errors for example
../../common/Version_Control.cpp: In function int VersionControl():
../../common/Version_Control.cpp:55: warning: deprecated conversion from string constant to char*
So I check up the error and it comes from my error handler code which is a function
extern void SetError(char *string,int error_number)
The net tells me all I need to do is convert char *string to const char *string, however when I do so and recompile I get the following error
Error_Control.cpp: In function �void SetError(const char*, int)�:
Error_Control.cpp:41: error: invalid conversion from �const char*� to �char*�
make: *** [Error_Control.o] Error 1
I think I've done exactly what's recommended ?
View 3 Replies
View Related
Jan 10, 2011
My problem is that the warning keeps apperaing when I run g++ compilation.
Say, I have a system runtime function with header (imaginary)sysruntime.h: void printfunction(char *line);
Then in my .cpp file, I will include the above header #include <sysruntime.h>
Then, I do the below:
Line12: char *linetoprint = "Print this line";
Line13: printfunction(linetoprint);
But, I will get the warning message "Line12: deprecated conversion from string constant to 'char*'". (Even though it compiles)
My question is how should I declare my char* so that I wont get this warning message, and can still run printfunction(char* line) correctly?
View 7 Replies
View Related
Feb 3, 2011
kernel 2.6.21.5, GNU/Linux (slackware 12.0). I had the bad idea of installing Adobe in my linux box and, as a result, even when I click on a .flac file the reader opens. What is bad about this is that Xfce help system is very poor. Menu bar>Help uses internet to open the site page, where there is very little help indeed. Right clicking, for example, an HTML file, I can choose the application to open it with and I'll be asked if I want this to be the default action. But for every file type I should be making this work! Perhaps deleting a hidden file in ~/ where xfce registered the associations. I do not want to uninstall Adobe as it is really fast scanning docs.
View 9 Replies
View Related
Jul 6, 2010
Iam trying to check a value less than or equals 0.The value iam getting is after doing grep a file . but its throwing error .
Code:
When i execute this it throws
Code:
View 8 Replies
View Related
May 9, 2010
I've searched around and can't find out how to convert a string ( like "12345" ) into an int array ( x[ 5 ] = { 1, 2, 3, 4, 5 } ; ).
View 4 Replies
View Related
Nov 15, 2010
How do i convert variable to string?
For example:
So how do i make the code with variable work?
View 7 Replies
View Related
Jul 2, 2010
convert string to long ?
View 4 Replies
View Related
Apr 5, 2010
Someone know how i can convert from hex string to double in c/c++?? Example 40668472B020C49C is 180.139
reference page: http://babbage.cs.qc.edu/IEEE-754/64bit.html
View 10 Replies
View Related
May 21, 2011
i have a minimal ubuntu desktop and i'm trying to install the latest nvidia driver (downloaded from their website) and i got the following error:
Quote:
/tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c: At top level:
/tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: error: unknown field �ioctl� specified in initializer
/tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: warning: initialization from incompatible pointer type
[code]....
i had to apt-get even gcc and make, so i'm probably missing some required package...
View 1 Replies
View Related
Jun 8, 2010
I want to convert strings like 002, 049, 050, 100 to numbers: 2, 49, 50, 100.
I tried to use:
Code:
`printf "%5d" $i`
, but it doesnt work , it convert:
002=>2
014=>12
049=>0
View 11 Replies
View Related
Aug 18, 2010
i have problem in java. how to convert string array to character. e.g string a[]={"ab","abc","abd","ag"}; what will be the character array ?
View 3 Replies
View Related
Dec 15, 2010
I'm trying to convert an 8 digit string into a long. The code compiles, but I'm getting only 1 digit placed into the long.
[Code]....
View 2 Replies
View Related
Jun 9, 2010
Like the binary form of the integer '2' is '10',
How should I find out the binary form of a string say "abcd" ?
View 11 Replies
View Related
Dec 29, 2010
This is my slackware 13.1 new installation `.xsession-errors'.
Code:
<stdin>:1:3: error: invalid preprocessing directive #Those
<stdin>:2:3: error: invalid preprocessing directive #or
<stdin>:3:3: error: invalid preprocessing directive #Xft
[code].....
(polkit-gnome-authentication-agent-1:1742): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:1742): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
View 1 Replies
View Related
Jun 24, 2010
After upgrading to Lucid I get the following warnings which I did not have before:
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
These occur when I start emacs and xpdf. On searching I see people are adding font paths to their xorg.conf file but on looking at mine there is no longer a font section. Also I have few directories fonts/X11/usr/share/fonts/X11$ ls misc/util/. I'm assuming the above folders and xorg.conf file are correct.
View 1 Replies
View Related
Dec 2, 2010
I need to part a string into separate integers ....like "0x0-0xffffffff,0x20000" into 3 integers 0x0 and 0xfffffff and 0x20000.... i can't use any other high-level languages ..
View 3 Replies
View Related
Apr 26, 2011
If I have a word in a text file and I need to replace it by another word (for example, i need to replace abc by fff) so what is the command I can type it?
I am using vi editor.
View 3 Replies
View Related
Oct 22, 2010
copy string a to string b and change string b with toupper() and count the chars
View 3 Replies
View Related
Apr 14, 2010
I want to use vfprintf with the char * on 64-bit. Here is the sample code:
[Code]...
In this code, I am getting warning: passing argument 3 of vfprintf from incompatible pointer type I have done sizeof(va_list) on 64-bit, and its 24 bytes. I don't know how am I suppose to use the va_list this way.
View 1 Replies
View Related
Mar 5, 2010
As a result, I want to know what this error means, and how to correct it.Here is my code:
Code:
#include <iostream>
#include <cmath>
#include <cstring>
using namespace std;
[code]....
It is once I use the 'try_crack' function inside of main that I get this error.
View 6 Replies
View Related