Tag Info

New answers tagged

0

Thanks. the issue of libiptc.h is resolved by apt-get install iptables-dev but after running ./setup.py build I got this output now. root@server:/usr/local/src/mediaproxy-2.5.2# ./setup.py build running build running build_py running build_ext building 'mediaproxy.interfaces.system._conntrack' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv ...


0

The error message is showing you that the file /usr/include/libiptc/libiptc.h could not be found. /usr/include/libiptc/libiptc.h is part of the iptables-dev package. To fix this problem, use: sudo apt-get install iptables-dev then retry setup.py


0

you are getting this problem because you reinstalled gcc but there older dependency still exist that conflicting with new dependency . so run command : apt-get -f install it will resolve dependency then install gcc . if you still face problem then purge gcc and then run command : sudo apt-get autoremove it will remove older dependency then reinstall ...


0

You can't start a desktop file in this way. Move your desktop file into ~/.local/share/applications and use gtk-launch or start it via Unity/GNOME Shell ... gtk-launch shortcut # without any path or extension In your case, an alias would be the better solution Open your .profile in an editor nano ~/.profile add a line like this alias ...


0

Install GCC GNU 4.9 sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 Remove the previous gcc version from the default applications list (if already exists) sudo update-alternatives --remove-all gcc Make GCC 4.9 the default compiler on the system sudo update-alternatives --install /usr/bin/gcc gcc ...


0

With jessie-based image it works.


0

In my case, I was using G++ and it didn't work, and switching to GCC it works. I am writing in C though. Using Code::Blocks, the library flag is -lSDL2


0

As I studied the programming language C/C++ we did use a library called Allegro, which seemed to be a good & easy library to do graphics programming in. http://liballeg.org/


0

Errors like these: ./thermal_IF.o: In function __static_initialization_and_destruction_0(int, int)': thermal_IF.cpp:(.text+0x3d): undefined reference to sc_core::sc_api_version_2_2_0::sc_api_version_2_2_0() usually indicate that the library you're linking against does not provide the API that the application expects. You said you have systemc2.3.1, ...


0

In some Makefiles it tries to find the search path for libgcc by executing: $(CC) -print-libgcc-file-name This fails if no sysroot is defined, so add sysroot manually. Have a look at the config.mk where it says: CC := $(CROSS_COMPILE)gcc Change it to: ifdef PKG_CONFIG_SYSROOT_DIR CC = $(CROSS_COMPILE)gcc --sysroot=$(PKG_CONFIG_SYSROOT_DIR) else CC = ...


1

If you're using a Makefile simply do this: CXXFLAGS=-std=c++11 all: ${TARGET} g++ ${CXXFLAGS} -o ${TARGET} ${TARGET}.cpp



Top 50 recent answers are included