Tag Info

New answers tagged

0

For 64-bit: sudo apt-get install libssl0.9.8 sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.0.9.8 /usr/lib/x86_64-linux-gnu/libssl.so.0.9.7 sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8 /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.7 and then reinstall should solve the problem.


1

When installing libg2-dev, libg2.a is not created and stored on the machine. I would suggest your build the library from source. Download it from their sourceforge repo.


0

You can think of a transitional package as a shortcut to another (desired) package. The transitional package does not contain anything but metadata that indicates that this package depends on the desired package so that the desired package will be installed when you will be trying to install the transitional package. In you case as it says, liblapack3gf - ...


6

(does this really belong here)? Example: using the math library. Create this file with your preferred editor: #include <stdio.h> #include <math.h> //this declare the math library int main() { printf("%f\n", sin(1.0)); // using math and stdio library return 0; } Then you compile: gcc -o test test.c -lm -lc Read: ...


2

Follow the simple steps: Open up any text-editor you want to write your program in. Write a simple program, or any program in C, you want. Now if you want to add any library in you program, it has the same procedure as it is in an IDE. For example I want to add a library in program named as system library, then I would write: #include<sys/types.h> ...


-1

Maybe you need gdebi, it can help you auto-install what the dependences when you install .deb. First, you should install it sudo apt-get install gdebi then, you can sudo gdebi xx.deb


1

I was having the same problem when trying to run other program, and found a solution on StackOverflow. Basically, just do the following commands: Firstly, install: sudo apt-get install libstdc++6 This should already be installed by default, but try it anyway. If it doesn't solve it, just do the following: sudo add-apt-repository ...


0

If you want to use graphics.h in ubuntu or any other linux distro, then I prefer libxbgi. It can do almost all the things that you expect from the graphics.h for windows. You can download it from here: http://libxbgi.sourceforge.net/ Otherwise if you want to do some high end graphics then you are there for SDL(which is mostly for programming video ...



Top 50 recent answers are included