Tag Info

New answers tagged

11

There are several option available to do graphics programming on Ubuntu , Here I am explaining two methods 1. Using SDL If you want to use graphics.h on Ubuntu platform you need to compile and install libgraph. It is the implementation of turbo c graphics API on Linux using SDL. It is not very powerful and suitable for production quality application, but ...


1

Put your arguments for the linker after instead of before your other arguments to gcc: ek@Ilex:~/source$ gcc -lreadline read_test.c /tmp/cc1IuVNQ.o: In function `main': read_test.c:(.text+0xe): undefined reference to `readline' collect2: error: ld returned 1 exit status ek@Ilex:~/source$ gcc read_test.c -lreadline ek@Ilex:~/source$ ./a.out enter text>foo ...


0

I got the MBpart1ep0.f to compile as an amd64 binary instead of i386, so this might be easier. sudo apt-get install gfortran libmathlib2-dev libcuba3-dev I then compiled with: gfortran -o out10 MBpart1ep0.f -lmathlib -lcuba Unfortunately, the out10 file segfaults immediately with the call to cuhre_. Looking at the code, the problem seems to be that the ...


0

Since you are unpacking binaries into your system it will be faster for you to just uninstall and install packages again. Uninstall sudo apt-get remove libboost-all-dev Then install it again with sudo apt-get install libboost-all-dev Lastly you can clean up with sudo apt-get autoremove


0

I have similar problems with installing boost iostream. I am installing the newest version of boost 1.56 which is not available in Ubuntu PPA repositories. I had this error: gcc.compile.c++ target/boost/bin.v2/libs/iostreams/build/gcc-4.8/release/link-static/runtime-link-static/threading-multi/bzip2.o libs/iostreams/src/bzip2.cpp:20:56: fatal error: ...


0

The only thing that finally worked was to install the deb package myself... https://packages.debian.org/sid/libphonon-dev


0

On my system there isn't this package, but thee is something available called libphonon4qt5. I suggest you go into synaptic, search for phonon and pick the package you need.



Top 50 recent answers are included