General :: Compile C++ Class In System?

May 25, 2010

I am new in c++ progreming .
i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...

now how to compile and run these classes

View 1 Replies


ADVERTISEMENT

OpenSUSE Install :: Cannot Compile Vdrift-2009-06-15 - Warning: The Options Class Is Deprecated; Use The Variables Class Instead

Mar 12, 2010

I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make. the error that i get when i try to compile it in GNOME Terminal is: scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 9, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 13, in <module>
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
[Code]........

View 4 Replies View Related

Programming :: Unable To Compile Class For JSP?

Mar 15, 2011

My new guy has created several functioning webpages on his machine with TOMCAT 6 with Sun JDK, yet our machines use TOMCAT 5.5 with Open JDK, which his webpages don't show. Do you have any idea how to make them work? The error showing in a browser:

Code:
HTTP Status 500 -
type Exception report
message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception org.apache.jasper.JasperException: Unable to compile class for JSP:

[Code]...

View 2 Replies View Related

CentOS 5 :: Best System OS For Pentium 4 Class Dell Precision 340?

Sep 5, 2009

I am looking to install Linux on a Dell Precision 340 with unpartitioned 17G (scsi) disk space available.
It is a 4-5 year old workstation with Nvidia Quadro2 MXR/EX video controller.
It has a Windows XP Pro installed on the primary partition.
Which OS should I download and install?
Is the X86-64bit CentOS 5.3 an option?

View 2 Replies View Related

General :: Command To Compile And Execute Fortran Program On System Machine?

Apr 8, 2010

Command to compile n execute a Fortran program on a Linux machine

View 6 Replies View Related

OpenSUSE :: Import In OS Level (system Wide) The CAcert Root Certificate And The Relevant Class 3?

Feb 5, 2010

How can I import in OS level (system wide) the CAcert root certificate and the relevant class 3?

View 3 Replies View Related

General :: Class Getting Humility Lesson

Mar 2, 2011

I'm in Linux class getting a humility lesson as I type this.

View 2 Replies View Related

General :: Sys/class/net/ethx/type - What Is It?

May 3, 2011

To get info of all etherhet adapters I am using C as well as info from various files in /sys/class/net/ethx directory.

There is a file name 'type' and has a number in it. Is it physical medium type of ethernet adapter? If yes, then how do I get string representation of that number? If no, then How do I determine physical medium type of ethernet adapter. For example 802.3, 802.5 etc.

View 1 Replies View Related

General :: Smtp Class In Chrooted Directory

Jul 29, 2010

I am unable to send emails throught smtp class with auth server. Whenever i send the email even throught mybb smtp class in forum i see blank page and apache logs shows: Code: [Thu Jul 29 16:41:49 2010] [notice] child pid 23716 exit signal Segmentation fault (11) any idea what i have to add for proper work of this?

View 1 Replies View Related

General :: /sys/class/net/ Is This Is The Correct Place For Eth Info

Apr 12, 2011

Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.

View 1 Replies View Related

General :: Dual Boot Class Project Failed

Mar 19, 2010

Our A+ project was to set up a dual-boot using XP Pro & the Linux download of our choice. What we did:

1- We formatted a 38GB HD using the NTFS file system.
2- Two equal sized NTFS partitions were created.
- Partition 1 was a Primary.
- Partition 2 was an Extended.
3- Used Ubuntu CD.
4- Install Ubuntu choices were to format the HD, install side-by-side, use the the longest continuous space, etc. We chose side-by-side.
5- After the install there was no evidence of the 2d 18GB partition (which we planned to use for XP Pro).

When we booted to the XP install disc that program booted to another HD (C.

View 2 Replies View Related

General :: Convert Java Class Into Jar Archive In (Redhat)?

Jun 7, 2011

I need to know that how to convert a java class file into java archive (jar)

View 1 Replies View Related

General :: Find The Scope / Definitions Of A Class / Methods?

Feb 13, 2010

In Windows environment when I used Borlan for C/C++ compilation, I was used to find the the scope/definitions of the methods/classes by pressing

Code:
ctrl + F1

when the cursor was hovering on that method/class. How can I find the scopes/definitions in the GNU/Linux?

Code:
//atoi.cc
#include <iostream>
main(int argc, char* argv[]) {
float var_float = atof(argv[0]);

[Code]....

View 5 Replies View Related

General :: SuSe 11.3 - Could Not Find Main Class (OData)

Apr 20, 2011

I have installed suse linux 11.3. I have jdk 1.6.20.0 and oracle 10g 10.2.0. When I tried to connect to a database through thin driver ,it is giving me the following error.

Exception in thread "main" java.lang.NoClassDefFoundError: odata
Caused by: java.lang.ClassNotFoundException: odata
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: odata. Program will exit.

View 3 Replies View Related

General :: Missing Windows Class In Wine - Fedora 12?

Sep 13, 2010

I am having a problem trying to install KindleForPc with wine in Fedora 12. Wine installs and runs but is missing a class needed by Kindle. Notepad, regedit, etc run but there is a problem when I run the Kindle Installer.Attempting to install Kindle I run

Code:
wine KindleForPc-installer.exe it runs to completion two windows appears they have a windows look, as it intiializes. Then it returns to the command line prompt. Shortly after it returns to the command line I get a series of error messages. Perhaps the installer finishes and then tries to start Kindle. I have typed their essence below:

Code:
fixme:system:SetProcessDPIAware stub!
class {6e4feb12-510a-4d40-9304-1da10ae9147c} not registered
CLSCTX_REMOTE_SERVER not suppported
no class server could be created for context 0x17

Kindle does not show up in the configuration utility and when I try to run it from the command line it complains that some classes are not registered. My understanding is that yum has a list of the component packages required by wine, and the person who prepared the list thought it had loaded all that was needed for wine, but it did not include the package that has the classes that I need. On the web there are a number of postings that tell how well Kindle works under Linux, and none of them deals with doing anything more than installing wine. I assume that in those cases the install procedure loaded the classes I need. My hope is that someone with more knowledge than I can give me a pointer on how to proceed.

View 2 Replies View Related

General :: Error Type: <class 'yum.Errors.RepoError'>

Feb 26, 2010

On a fresh install of Fedora 12: I am trying to do a software update and keep getting these errors. I am new to Fedora but have used Ubuntu for some time. An Internal system error has occurred:

Under more details it states:

Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main

[Code]...

View 1 Replies View Related

Ubuntu :: New System Cannot Compile Anything Even Though Make Is Present

Aug 14, 2011

I just installed a new Ubuntu Studio 11.04 system at home yesterday. It was relatively painless at first but now I'm trying to compile some of the programs that I built the system for and

Code:
./make

simply is not working (returns command not found error). A makefile is present in both of the directories I'm working on.

Code:
man make

works perfectly fine. apt-get install insists that make is present, it also insists that gcc and build-essential are present. Just for the heck of it I reinstalled build-essential but nothing changed. I hesitate to uninstall it or or uninstall make as I have several packages which depend on these and several more which recommend them.

I first got into Linux with Ubuntu Server 10.04 and I remember not being able to compile then but that was because I didn't have gcc or build-essential installed. Once I installed those packages everything was happy. Every google search I perform leads me either to "install build-essentiall / gcc" or to nothing at all. Thoughts on where I can go from here?

View 3 Replies View Related

General :: Grep - Searching For Class References In C++ Using Regular Expression?

May 28, 2010

I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp. I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working as I espected:

grep -E '^[^(/*)(//)].*[^a-zA-Z]ABCZ[]*[*(<:;,{& ]'

^[^(/*)(//)] don't math comments in the begging of the line ( // or /* )
.* followed by any character
[^a-zA-Z] do not accept any caracter before the one I'm searching (like defABCZ)
[]* any white space (I can have something like ABCZ var; )
[*(<:;,{& ] followed by ( * < : ; , & { (I cant get #define "ABCZ.h" or ABCZdef for example)

Well, I can get patterns like this:

class Test: public ABCZ{
class Test: public ABCZ {
class Test : public ABCZ<T>

[code].....

View 2 Replies View Related

General :: Initializing Drive Array Command For Class Lab On Fedora 12?

Feb 10, 2010

what command initializes a drive array on Fedora12? I'm trying to initialize the drive command for linear RAID and the command given in the textbook is for Fedora Core 2 (which I had problems with in Virtualbox).

View 4 Replies View Related

General :: Writing A Command (for Loop) That Would Ping A Class C Subnet?

Nov 4, 2010

how to write a command (for loop) that would ping a Class C subnet to make it so that it only replies once and does not show the statistics?

View 2 Replies View Related

Debian Installation :: Compile A NIC Card Driver On A New System?

Jul 23, 2011

I have a new machine with an Intel 82579lm network card (needs an e1000e driver, I believe). I got Debian installed, but it doesn't have access to the Internet, because it needs a driver for that card. So, I managed to download the card driver on another computer and transfer it to this computer. Problem is that when I run 'make install' for the card driver, it turns out that my Debian install doesn't have 'make'.

I could compile the card source on another computer with Debian. Problem is that computer has a different architecture (old amd 32 bit machine vs. new intel i7 64 bit) than the machine with the problem card. Am guessing that the compiled driver module won't work on a different kind of machine.

Another possibility is to check in synaptic on my old 32-bit machine and use "Generate package download script" to determine where synaptic is getting the 'make' package from and all its dependencies. I also would need to modify the downloads to get the packages for the 64bit machine. *Assuming* that a) the dependencies in Synaptic on the old 32-bit machine will be the same as for a 64bit machine and b) I correctly identify all necessary packages and their proper names for the amd64 architecture, I should be able to move the files to the new machine and compile what I need to compile.

View 10 Replies View Related

Fedora :: Kernel Compile With Encrypted File System?

Dec 9, 2009

I am trying to replace just the kernel (no modules) for my default kernel on FC 11. I use the default .config file and just change a few things and then run the make command. After I replace the kernel and reboot the system the password comes up for the encrypted filesystem and it does not take my password for some reason. what I need to do to get this working?

View 1 Replies View Related

General :: Setup A Named Server For A Class Room With 10 Imaginary Hosts?

Mar 30, 2011

I need to setup a named server for a class room with 10 imaginary hosts the sub domain managed by this name server is s123456.eca.edu.au where 123456 is to be replaced by your student id. The named server will forward unresolved queries to the dns server.

View 1 Replies View Related

General :: Machine Boots W/ Grub > Command / Window Installed ASAP For A Class?

Jan 26, 2010

I had linux installed on dell latitude d600, I did fdisk and deleted the OS so I can install Xp. When I try to boot from the Window xp cd , I get LINUX grub command line . " grub>" and can't do anything.I need window installed ASAP for a class that I am taking .

View 2 Replies View Related

Programming :: Compile C++ Program Without Changing #include Line & Header Files Not System?

Apr 3, 2011

I have C++ source code(*.cpp) files that expects it's header files in System's include folder which is/usr/include.The cpp files has include lines like this:

Code:
#include <some.h>
#include <another.h>

[code]...

View 3 Replies View Related

Slackware :: Compile 2.6.37 Kernel Patched With The Autogroup Patch On A Slackware 13.1 System?

Jan 13, 2011

it's possible to compile the 2.6.37 kernel patched with the autogroup patch on a Slackware 13.1 system running 2.6.33.4-smp with 2.6.33.4 headers? I just compiled and installed the 2.6.37-autogroup kernel from AUR on my ARCH setup and I like it especially when using firefox with lots of tabs open and other background apps also running. I did notice a speed and smothness difference in my ARCH testing setup with this kernel patch and I can get same results in 13.1??

View 1 Replies View Related

OpenSUSE Wireless :: Ndiswrapper 1.55 Won't Compile - "The Program 'kernel-headers' Is Missing On Your System"

Jan 24, 2010

I am using Opensuse 11.2 on an HP Pavilion laptop. The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead. No problem since I have a D_Link USB adaptor (DWL-G132). To get it working however I need ndiswrapper. I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse. Problem1- The interface says "The program 'kernel-headers' is missing on your system".

I have checked with Yast and the kernel-headers are installed. Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method. The 'make' command returns the following message: "Cannot find kernel version in /lib/modules/2.6.31.8-0.1-desktop/build, is it configured?."

View 9 Replies View Related

General :: Compile Vim 7.3 With +signs On OSX 10.6.6?

Jun 3, 2011

I'm trying to follow this guide http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/ and I need to compile Vim with signs and python options.I have: downloaded the latest source with hg clone https://vim.googlecode.com/hg/ vim uncommented the signs feature in src/feature.hran ./configure --enable-perlinterp --enable-pythoninterp with no errorsran make with this output and errors that I don't understand and can't find on google:

$ make
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_cmds.o ex_cmds.c

[code]....

View 1 Replies View Related

General :: Compile Centos Without SMP?

Feb 12, 2010

I have an issue with a specific piece of hardware running an Asterisk PBX. Basically it freezes at some times. I've noticed its running an SMP kernel (Centos 5.4), and i'm hoping i can disable this/recompile kernetl without SMP support. How can i do this?

It's running a VIA C7 cpu.

Code:
[root@localhost asterisk-1.4.29]# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6

[Code]....

How can i disable SMP, and see if its maybe this tha'ts causing the problems?

I have tried appending nosmp or maxcpus=0 and noreplace-smp to the kernel line in /boot/grub/menu.lst,but it keeps loading the smp kernel....

View 3 Replies View Related

General :: Create Rpm From Pre Compile Tar.gz

Apr 22, 2011

I want to create rpm from tar.gz, what I want to know is,

1= download tar.gz
2= untar this tar.gz file
3= run ./configure command.
4= now I want to create rpm file to install my package via rpm so I can uninstall easy and redistribute this rpm to my friends.

(or I have to run "make" command also after step 3, then go to step 4 to create rpm) please help me with step by step commands, so I can create rpm with my own compiled options of package.

View 6 Replies View Related







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