Software :: C++ Compiling Wx2.8.10 On 64-bit Ubuntu?

Mar 7, 2010

I went from mandriva 2009 32-bit to ubuntu 9.10 64-bit and wx begins to act up..

the simple program from the wx hello world tutorial build fine on my old system, but not my new on. I got the packages installed (wx2.8.10-dev, headers and whatnot)

I've looked around a bit and it seems the compiler is not including the files correctly..

Compiler command:

Code:
g++ k.cpp `wx-config --libs` `wx-config --cxxflags` -o morten
Compiler output sample (because most of it is because of first errors):
Code:
k.cpp:9: error: invalid use of incomplete type struct wxFrame
/usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of struct wxFrame
k.cpp:12: error: ISO C++ forbids declaration of wxPoint with no type
k.cpp:12: error: expected , or ... before & token

[Code].....

View 5 Replies


ADVERTISEMENT

Ubuntu :: Compiling Never Successfull?

Jan 5, 2011

I have tried several times, but compiling always fails.I want to compile a litte program called dwg2dxf.I think all the needed programs are installed.First I unpack the tar.gz file on my desktop. Open Terminal, enter directory, then type"./configure"Everything fine, some files are created. config.log doesnt show errors (See config.log file)."make"Some errors occurenters some directories without doing anything, thenmain.cpp:39: fatal error: iostream.h: (translation) Doesnt exist.This is the text from the terminal:

familia@familia-laptop:~/Escritorio/dwg2dxf-2.1$ make
make all-recursive
make[1]: se ingresa al directorio /home/familia/Escritorio/dwg2dxf-2.1

[code]...

View 7 Replies View Related

Ubuntu :: Compiling Kernel In 10.04?

Mar 2, 2011

so I am wanting to compile my own kernel to see if i can get my laptop to run a lill better. I found the how too's to do the compile, but what I want to know is.. what is the most complete way to find all the hardware and such that is in my laptop so i can build all the support into the kernel that i need and leave out EVERYTHING i dont need.

i figured lspci is a start but there has to be more info somewhere to find the exact needs of the laptop.

View 7 Replies View Related

Ubuntu :: Compiling And Updating Drivers

Jan 23, 2010

I have a wifi card that has a generic driver through ubuntu that doesn't give it near the capabilities it has with another driver I found at another website. I compiled this driver myself and installed it, but after an update all effects of that driver seem to be gone.

View 5 Replies View Related

Ubuntu :: Error While Compiling Xchat

Jan 26, 2010

I am compiling Xchat and when I was 'make install' I get this error and yes I am root.

Code:
make[2]: *** [fe-gtk.o] Error 1
make[2]: Leaving directory `/home/mark/build/xchat-2.8.6/src/fe-gtk'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mark/build/xchat-2.8.6/src'
make: *** [install-recursive] Error 1

View 3 Replies View Related

Ubuntu :: Compiling Libs Under A Different Directory

Feb 21, 2010

I am fairly new to ubuntu. I have to compile some libraries under ubuntu in a directory other than the default directory and then get the shared object libs (.so) libs for building some custome kernels. I created a directory structure as follows:

/home/username/build-target
/home/username/src-<libname> =>here are the source files for the lib. I need to compile

Now I create a directory /home/username/src-openssl and download the source code and untar it under this directory and issue ./configure --prefix=/home/username/build-target --exec-prefix=/home/username/build-target and then make and make install. I was expecting that the shared object libraries created (.so) files should have gone under /home/username/build-target/libs, however I just see only libssl.a and libcrypto.a and not .so files under the build-target/lib directory. For grep also I did the same thing as above however I don't see any lib directory created under build-target directory as I was expecting.

View 1 Replies View Related

Ubuntu :: Getting Error In Compiling RPC Program

Mar 22, 2010

I am trying to compile a simple remote procedure call program. I am getting an error:
/tmp/ccy0M5rT.o: In function 'main':
rpchighlayer.c.text+0x5c): undefined reference to 'rnusers'
collect2: ld returned 1 exit status

Code:
#include <stdio.h>
#include<stdlib.h>
main(argc, argv)
int argc;
char **argv; {
int num;if (argc != 2) {
fprintf(stderr, "usage: rnusers hostname ");
exit(1);
} if ((num = rnusers(argv[1])) < 0)
{fprintf(stderr, "error: rnusers ");
exit(-1);
} printf("%d users on %s
", num, argv[1]);
exit(0); }

View 2 Replies View Related

Ubuntu :: Beginner And Compiling Prgrams

Mar 25, 2010

I am a beginner and would like to know how do you compile a program in ubuntu 9.10. I would like to compile freeorion but don't know where to start in compiling any sort of program. Any instructions would be most welcome.

View 3 Replies View Related

Ubuntu Installation :: Compiling Abgx360gui ?

Apr 18, 2010

Im having problems when compiling abgx360gui. I compiled the abgx360 and it work but I want to compile the gui now, because otherwise it is very difficult to use it.

And when I try to compile it, the following happens.

View 5 Replies View Related

Ubuntu :: Compiling A Custom 64 Bit Kernel With BFS?

Aug 1, 2010

I would like to try and optimize my kernel a bit. Since I am doing this on a fresh install, I don't really care if the os gets bricked in the process, and I am sure I can bring it back if I can boot into a recovery console from the old kernel. So, I followed thispost. I patched it and copied and edited a config file from /boot/, saved it as .config, I tried it several times with both removing and not removing /debian and /debian.master directories from the source, yet I always get the same error when I run "make oldconfig".

Code:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*** Error during writing of the kernel configuration.
make[1]: *** [oldconfig] Error 1

[Code]...

View 1 Replies View Related

Ubuntu :: Compiling For Multiple Architectures?

Aug 13, 2010

I'm trying to compile some of the gnu utils (the version on some of the computers I work on are terribly out of date). The issue is that many machines share the same filesystem, and I'd like to not have a different executable for each machine. Anyways, I've read that

./configure CC="gcc -arch i686 -arch x86_64 " --prefix=/home/user/bin

should work. But of course it doesn't. apparently -arch is not an argument accepted by gcc.

View 1 Replies View Related

Ubuntu :: Cross Compiling Software For Arm ?

Sep 20, 2010

I am trying to cross compile a package from source for an embedded arm board, however I am not having much luck creating an arm binary.

After running make, this is what I get:

View 3 Replies View Related

Ubuntu :: Compiling Old Version Of Avidemux?

Nov 20, 2010

I'll try to make this short, esp because I don't know if this is the right place to discuss a 3rd party program like "Avidemux" I'm running the latest version "2.5.4" or so. It started giving me this problem where no matter what settings I give it, the resulting files are so small it results in an error after almost a day of encoding. ( "XYZ" was NOT saved correctly , for example.) One day I noticed the quantisizer was at max, peaking at 48-50...which made the files tiny. So, I can avoid this sort of, by limiting the maximum and minimum quantisizer in the configurations. Problem is, I have no control over target size or bitrate this way..and sometimes the results are still unplayable.

Naturally I've uninstalled and re-installed several times, and recompiled the x264 codecs using this guide: [URL]... So, I downloaded the Tar.gz of the previous version i was using (Avidemux 2.5.3), the last known thing I know that worked for me...but I have no idea how to install it. I've tried running "Make" / "Cmake" In which I was told that an "in-tree-build" was detected. And trying to run the included "bootStrap.sh" results in : "Permission denied" or file/command not found. I don't think their old releases come in the default Ubuntu/Unix package "deb" right?

All these could be small errors on my end, but It urks me. In between reading up, and everything else that needs to be done in a day, I could have been done by now... Does anyone know where i could be going wrong?

View 6 Replies View Related

Ubuntu :: Compiling The OpenSceneGraph For FlightGear?

Mar 19, 2011

I'm following the instructions here, to compile OpenSceneGraph that I got on DVDs purchased from Curtis Olsen. The instruction for this step goes like this.

Quote:

mkdir osg_build
cd osg_build
cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_FLAGS="-O3 -march=native"
CMAKE_C_FLAGS="-O3 -march=native" -D CMAKE_INSTALL_PREFIXATH="/usr" ../src

[code]....

So, I try that, and I get the following.

Quote:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works

[code]...

View 1 Replies View Related

Ubuntu :: Compiling Games From .tar.gz Files

Jul 20, 2011

just need to know how i would do this, I've tried it before, and I've gotten the following error, no matter what i tried:

View 2 Replies View Related

General :: Compiling WxWidgets On Ubuntu 9.04?

Jul 28, 2009

I did fine with Ubuntu 9.04 for a month and then things went wrong and I could no longer compile programs though others on the same distro could so I reinstalled Ubuntu 9.04.First step is to compile wxWidgets. Before this was automatic sudo make install libgtk2.0-dev, download wxGTK from wxWidgets then compile and make wxWidgets.Now I can't even do that, I get make errors every time and as soon as I resolve one. another shows. Widgets version 2-8-10 is the same as before. Does anyone know a current address for a tutorial getting widgets to compile with Ubuntu, I don't know whether to ask you, Ubuntu or Widgets (or understand what went wrong with Ubuntu in the first place.

View 6 Replies View Related

General :: Compiling The Wesnoth For Ubuntu?

Sep 24, 2010

I want to run the development version of the game Battle for Wesnoth, but I'm having some problems compiling it...I downloaded the latest version (1.9.1) and followed the installation instructions;

cd /usr/src
sudo tar -xvjf wesnoth-1.9.1.tar.bz2
cd wesnoth-1.9.1
sudo ./configure --datadir=/usr/share/games/wesnoth/

I managed to get to this point, after some small problems, but 'configure' told me I needed SDL.I installed SDL (libsdl1.2-dev) using the Software Center, but now it sais;

Code:

checking for SDL - version >= 1.2.7 and SDL_ttf - version >= 2.0.8... no
configure: error: *** Please upgrade your SDL and/or SDL_ttf version

The version that was installed seems to be 1.2.14 I also looked for sdl-ttf, and that was also already installed (version 2.0.9)

View 11 Replies View Related

Ubuntu :: Compiling And Installing Jfstools 1.1.14?

May 27, 2010

I am running Ubuntu 9.04 and I would like to update the jfstools to 1.1.4. Apt-get tells me that 1.1.2 is the latest available, but there is 1.1.4 code HERE.I am not overly comfortable compiling and installing, although I have done that many times. This time, I am unsure about the installation path:Quote:

Installation Names
By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving

[code]....

View 2 Replies View Related

Ubuntu :: Compiling For Speed - Keep Options?

Jan 2, 2010

Its about CFLAGS and -O2, and options like -march=<your architecture>. There are things I am just not sure about eg - this PC has a Intel i7, which has a wealth of powerful instructions developed since 'i386', that the gcc complier might be able to compile for - if we tell it! Where are the default options kept? Even supposing one decides not to mess with Ubuntu defaults, how does one locally compile a program, optimized for the CPU, overriding the defaults? How does one even tell if the 64-bit version got installed? In my case, it was provided by others. clicking System -> About Ubuntu can be surprisingly opaque on this little detail, even though you get the chance to choose at the site.

View 4 Replies View Related

Ubuntu :: Getting Error While Compiling A C Program / Fix It?

Mar 10, 2010

I got an error that header file sys/ddi.h , did the system is missing something

View 2 Replies View Related

Ubuntu :: Compiling BASIC-256 From Source?

Sep 13, 2010

This is my first time compiling a software, I have successfully downloaded and extracted the "basic256_0.9.6.32.tgz" file,but There is no configure file present in the extracted contents,also make and checkinstall exit with error.What seems to be the problem Here is the output of errors I got during Installation

[Code]...

View 14 Replies View Related

Ubuntu :: Compiling Root And Grub Bootloader

Jan 20, 2010

In regards to other distribution cds: I'd like to learn how to install a 'root' and 'grub' boot loader so that I can cleanly install other distributions. I'm new to the file system. Could I make a bootable usb with simple installers? or command line codes?

View 2 Replies View Related

Ubuntu Installation :: Code: Blocks Not Compiling

Jan 25, 2010

so I just installed code blocks after clear installing ubuntu 64 everything went fine but when I try to compile and run my .cpp files code::blocks wont do anything I dont get any messages on the build log so I dont understand whats happening I tried looking on the forums and checking other pages such as the one bellow but no luck at all. [URL]

View 1 Replies View Related

Ubuntu Multimedia :: VLC Compiling / Link Error

Mar 10, 2010

I tried to compile the latest VLC as the instruction of [URL]... except that giving configure option '--enable-vaapi' when compiling ffmpeg.But, i got below error messages, and don't know what to do. My system is as follows.

[code]...

View 5 Replies View Related

Ubuntu / Apple :: Compiling Java On Ibook?

Mar 18, 2010

I just installed ubuntu 9.10 on my ibook G4 and now i am wondering: how would i compile .java files and run then in xterm? What packages would i have to install? What commands would i use to do the compiling and the running? Would i use the gcj

View 1 Replies View Related

Ubuntu Multimedia :: Compiling Wxsvg-1.0.3 For DVDstyler 1.8.0.2?

Mar 27, 2010

I'm trying to compile wxsvg-1.0.3 so that I can compile and install the latest version DVDStyler. I was following the older instructions here:[URL]... and I've run into this error. Unfortunately, I can't make sense of the error.

[Code]...

View 1 Replies View Related

Ubuntu :: Compiling A Kernel => Root Fs Won't Mount?

May 16, 2010

I'm trying to compile a "faster", more optimized kernel. It compiles ok, but can't mount the root filesystem.Here is my kernel configuration for the 2.6.33.4 kernel. My boot partition is ext4 on a two-disk FakeRAID array totaling 1TB.When trying to boot in recovery mode, it says I could mount /dev/sdaX, etc. but can't recognize my dmraid array. BTW,

View 4 Replies View Related

Ubuntu :: OpenGL Warning When Compiling Wine 1.2?

May 27, 2010

I used sudo apt-get build-dep wine1.2 to get the dependencies for the lastest Wine, but when compiling it, I get:

configure: WARNING: No OpenGL library found on this system. OpenGL and Direct3D won't be supported.

I thought it gave me all the dependencies I needed.

View 1 Replies View Related

Ubuntu :: Missing /etc/init.d/ssh After Compiling Openssh?

Jul 1, 2010

I had to compile openssh so I could have a version with the HPN-SSH patch applied. The compile seems to have gone fine, but oddly enough I have now have no ssh script in my /etc/init.d directory. So I have no easy way of automatically starting openssh-server.Here are the configure options I used when compiling openssh:

Code:
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam

View 1 Replies View Related

Ubuntu :: Compiling Wine From Source - Opengl

Jul 8, 2010

I'm trying to compile wine from source, with a patch to make it work for Worms Armageddon. I've applied the patch and go to run

Code:
$ ./configure

It then pumps out rows of text and at the end reads:

Code:
configure: WARNING: No OpenGL library found on this system.

OpenGL and Direct3D won't be supported. I went ahead and finished compiling it but it doesn't run worms, so I've come back to this opengl issue.

View 1 Replies View Related







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