Software :: Installing Cmake - No Native Data Type Can Represent A 16-bit Integer?

Nov 3, 2010

I'm trying to install cmake. After bootstraping/configuring I try to make and I get the following output:

Code:
% make
Scanning dependencies of target cmsys

[code]....

View 5 Replies


ADVERTISEMENT

Programming :: Convert The String Data Type To Other Primitive Data Type?

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

Programming :: Cmake: Using Find_package(Boost) When FindBoost.cmake Is Not In The Default Location?

Feb 23, 2010

I am attempting to compile some code on a cluster where I do not have root access (and is missing many of the libraries I want), and hence have had to create local builds of the boost and opencv libraries (i.e. in /home/username/usr/local). In particular, my cmake depends on:

Code:

find_package(boost)

which my normal development machine finds in:

Code:

/usr/share/cmake-2.6/Modules/FindBoost.cmake

On the cluster I have a version of FindBoost.cmake at:

Code:

/home/username/cmake_modules

How can I tell CMake to look for FindBoost.cmake in that directory, since neither the cmake file, nor the boost install is in the standard location? I've modified the FindBoost.cmake file to make it search in the locally installed boost libraries.

[code]....

View 3 Replies View Related

Ubuntu :: Changing File System Type To Another Filesystem Type - Does It Effect On Data?

Feb 4, 2011

In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5

previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal

After doing(changing the file system)this one ,i couldnt see the d:drive data

By doing that

1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.

2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.

Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)

I had very imp data in d:drive

View 1 Replies View Related

Ubuntu :: Installing OpenCV - File Internal CMake Error

Mar 18, 2010

I am trying to install opencv on ubuntu. I have been following the directions exactly as given in the readme, and all goes well until I enter sudo make install, and get this error:

CMake Error at cmake_install.cmake:61 (FILE):
file Internal CMake error when trying to open file:
/home/iochinome/workspace/trunk/opencv/release/install_manifest.txt for writing.

View 3 Replies View Related

General :: Data Type In Programming?

Jun 14, 2010

I declared a variable as int data type which was a placeholder for a resulttatus (meaning, based on the result status that variable varies from 0/1/2/3. It can contain only these four values).data type is 4 byte integer in C#. But I can declare this variable as which represents a 1 byte integer. Since that variable contains only 1 or 2 or 3 or 4, declaring the variable asis wastage of memory space.Before declaring any variable we need to just think of the memory space needed for that variable, our requirement,

View 6 Replies View Related

Programming :: Double Data Type Mantissa?

Nov 23, 2010

in c/c++, double is usually 8 bytes. It has a 52-bit mantissa (or significand, or base), an 11-bit exponent, and a 1-bit sign. My question is: is the mantissa a 52-bit integer? Or is the decimal point just after the first bit. Meaning: if the mantissa was 1000110011100011 (in binary) would that make the value of the mantissa (assuming the exponent was 0) 1000110011100011, or 1.000110011100011? (in binary)

View 1 Replies View Related

Software :: Value Too Large For Defined Data Type?

Nov 26, 2010

I am trying to convert a mdf file to iso with mdf2iso and this message pops up "Value too large for defined data type". The file is about 4.6 GB. Any other information

View 2 Replies View Related

Programming :: Data Type In C To Hold TetraByte?

Apr 14, 2011

I need a data type to hold TetraByte.Even I want to know details of int64, long, unsigned long long, and how they differ from each other.

View 14 Replies View Related

Programming :: How To Printf Long Data Type

Jun 7, 2010

misunderstood structure definition at the beginning

View 3 Replies View Related

CentOS 5 :: Value Too Large For Defined Data Type

Apr 13, 2009

I've downloaded a big file from another server via "wget" to my /backup/ directory, and after the download was compeded I did run "ls" and the error was:ls: full_plesk_backup: Value too large for defined data type.

View 13 Replies View Related

Programming :: Have Files With Rows Of Data And Need To Check If The Next Row Of The Same Type?

Aug 16, 2010

I have a problem - I have files with rows of data and I need to check if the next row (of the same type) has the NEXT date in it so I need to extract a date in YYYYMMDD format from a row (easy enough) then add one day to it and compare it to the the next date I encounter on a subsequent row.

So if I have
DATE|20100530
VAL|kahskjhd

[code]...

View 6 Replies View Related

Hardware :: Recover Data From Hdd Partition Type Fat32?

Aug 18, 2009

is there a way to recover data from a hd partition type fat32...cause ...cause right now it shows up as unallocated space..earlier i tried installing windows in a unused partition located just above this partition....i need to recover the data real soon...

View 1 Replies View Related

Programming :: Print, Store Or Compare An S8 Data Type?

Feb 15, 2011

I'm working with Radiotap headers right now. I want to get the RSSI data. I came through a problem that I can't figure out right now.The value that I need to get is:

Code:
s8 IEEE80211_RADIOTAP_DBM_ANTSIGNAL
now, when I printf it:

[code]...

View 4 Replies View Related

Programming :: Convert A Dictionary Data-type To A String?

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

Programming :: Represent Alphabet Into A Array?

Jul 9, 2010

i am trying to represent alphabet into a array, and then i can count the frequency

for example
array[a]=0
array[b]=0

but i find the index of the array seems to be

array[1]=0
array[2]=0

I was try this way get the ascii for them, actually I have done this in java and it is simple.

something like this format
array[ascii{a}-ascii{a}]=0
array[ascii{b}-ascii{a}]=0

I have done a lot of searching , but cannot get what I want.'%d' "'$char" like this would not work.

View 2 Replies View Related

Networking :: Host Found But No Data Record Of Requested Type

Jan 27, 2011

Whwn I am sending mails , I used too get message like

Host found but no data record of requested type.

MTA: postfix

View 1 Replies View Related

Ubuntu :: Changing The Type Of Partition From A Ect4 To Fat32 But Will This Delete My Data?

Dec 5, 2010

i currently have both xubuntu 10.10 32-bit and windows 7 64-bit installed on my laptop which i use mostly for college work and basic programming (i'm still learning to program).i have a 150gb partition with win7 installed, a 20gb partition with xubuntu installed and a 15gb partition with my linux home folder on, the rest of the space is unused because i thought i may need it for something else in the future.the home folder partition is formatted to etc4, i now have a need to access this data from win7 for college work, i know that windows doesn't support mounting of etc file systems so i have hit a problem.

i thought about changing the type of partition from a ect4 to fat32 but will this delete my data? or ,are there any third party software packages for windows that will allow me to mount ect4?

View 1 Replies View Related

Debian :: Installing In Another Filesystem Type?

Jul 19, 2010

how can i install debian on NTFS or FAT32?

View 3 Replies View Related

General :: Debian Not Installing DEBs - Archive Type Not Supported

Dec 13, 2009

I'm using Debian 503 Lenny, Gnome. My machine, She-Beast, is a 2001 Compaq Presorry-o, 1100GHz Celery. With every, that is, E V E R Y, attempt to install any .deb, it fails. When I 2x click on the .deb icon, or when I r-click -->Open with archive manager, I get a dialog window:
"Could not open "(filename).deb". Archive type not supported."
If I use root terminal, dpkg -i, similar responses come up.

View 14 Replies View Related

Programming :: Installing Tcl/tk For Use In C++ / Error Expected Type-specifier Before Exception?

Mar 14, 2011

I have perl/tk installed and working. I tried using c++/tk and had to change the #include path in the headers to find the tk.h and tcl.h. I tried compiling a simple c++ program with g++ to test that the headers are correct. the line i type at console is:

g++ test.c cpptk.cc cpptkbase.cc -o test.bin

I fixed all previous errors, except for the following.

code....

View 2 Replies View Related

Debian Multimedia :: Mediatomp And Open .mkv File PS3 Says - "The Data Type Is Not Supported"

May 15, 2011

I make all as mentioned in this guide [URL] and the MediaTomb working with the script but when I try to open .mkv file PS3 says that "The data type is not supported" in same time it shows the files in the menu normally and marked it unsupported thumbnail after I try to play it.

[Code]....

View 2 Replies View Related

Fedora :: Splash Changed Into Bar Type After Updating Kernel And Installing Nvidia Drivers?

Jun 6, 2011

after updating kernel and installing nvidia drivers, the startup splash(I dont know the proper word) has changed into bar type. How can it be corrected .

View 3 Replies View Related

Programming :: Comparing String With Integer?

Sep 19, 2010

If I have a variable, say xvar, which can take both string and integer value and I want to perform an operation in following 2 conditions:1. Either xvar is null2. xvar equals 2[ -z "$xvar" ] || [ $xvar -eq 2 ] && <some-code>Doesn't seem to work if xvar takes string valuesI know that since I have no restriction on xvar, I can get away with string comparison in second test too, ie[ -z "$xvar" ] || [ "$xvar" = "2" ] && <some-code>
But, 'Sams teach yourself shell script in 24 hrs' says that [ expr1 -eq expr2 ], if either is string, it assumes 0 valueIs it true

View 5 Replies View Related

Programming :: Comparison Between Pointer And Integer

Jul 6, 2010

I'm trying to write a simple program that lists a menu and then asks you for your decision, and you can answer with a number or the name. However, I don't know how to add the second options (name).

View 14 Replies View Related

Programming :: Concatenating An Integer To A String?

Oct 18, 2010

I have a function that take char* I call this function in an array, and I need to pass the following:-i+" binomial" to be like "2 binomial" or whatever value of i value (i is an integer) it is pretty easy to be done in java, but how to concatenate an integer with a string and get char* or string to pass to a new function.If you missed me i just need to get the following :string =integer + string

View 5 Replies View Related

Programming :: Split File When Integer Is Found

Jun 25, 2010

I have a file in which contains one line with a lot floating points.In the very first place and some times in the downstream, there are a few integers, surrounded by blank spaces.1 1.02-4 1.03-5 544 1.04-1 65 2.98-1 5.78-10 3.45-2 etc etc.I aim to split the file in more files each of them containing an integer and the following floatings until the next integer.

View 1 Replies View Related

Software :: Bash Scripting And Integer Variables?

Jun 6, 2010

Are there numerical variables (like type int in C) in the shell script language of bash? Say I want a counter to increment each time a loop is traversed.

View 1 Replies View Related

Software :: Nagios 3 - Server Port Must Be An Integer

Apr 13, 2010

I am trying to monitor a Windows SQL Server, and I am receiving a "Server port must be an integer," error. NSclient++ is running and working properly. Here is the service and command

Command:
define command{
command_name check_nt_mssql_bufcache_hits
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ }

Service:
define service{
use generic-service
host_name "host_name"
service_description mssql_bufcache_hits
check_command check_nt_mssql_bufcache_hits!80!50 }

View 3 Replies View Related

Ubuntu :: Folder Customization - Put A Different Image On Each Folder To Represent The Contents

Jan 3, 2010

I have a bunch of folders with different stuff in them. I would like to be able to put a different image on each folder to represent the contents.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved