Skip to content
Advertisement

Tag: g++

R: cannot install ‘rasclass’ package on Ubuntu 14.04

I am trying to install ‘rasclass’ package on R (version 3.2.3) but somehow the installation always fails. The output is too large to be pasted here, but I found something interested in this question, that might be the key to solve this issue. Shortly: from the terminal I can see I have gcc-4.8 and 4.9, g++-4.8 and 4.9, and gfortran-4.8.

C++, addresses in array [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 years ago. Improve this question I have some sort of funny question about addresses in C++. I have such code: This code works, but allocation of addresses fears me. Does

/usr/bin/ld cannot find -l

I have written a few programs and while trying to compile them using g++,as thus, I keep getting the following error: fwlib32.h is the library I am trying to include. The shared object file libfwlib32.so is present in /usr/local/lib as well as /usr/lib. But I am unable link to it. I have tried all the solutions offered by similar questions

Speeding up gcc compile of a single file

Running RedHat7 w/g++ version 4.8.3 w/j5 arg and o3 optimization. We currently have a file that is approx 90,000 lines long (a whole bunch of wrapper functions). The compile of this file currently takes between 30 and 40 mins. What is the best strategy to speed this build time? Would build time increase if it was split between multiple files?

How to control global OpenMP settings from C/C++?

OpenMP doesn’t provide API to adjust some crucial settings in runtime, e.g. OMP_WAIT_POLICY or GOMP_SPINCOUNT (at least in gcc 4.8.3). Such settings are designed to be changed through environment variables for some reason. Not very convenient. Is there any way I can change such settings in run-time from C/C++ using gcc on Linux? For example, would it be enough to

version `GLIBC_2.11′ not found while using gcc

I have problem using gcc/g++ after I changed the machine I use, I installed gcc-4.9.2 in my previous machine, when I moved to the new machine, I copied gcc folder to the new machine. When I try to use I get this error : I have already checked this question : `GLIBC_2.11′ not found If it says right, the version

Woking With BMP File in C++, Ubuntu

I am trying to work with a bmp file in linux with g++ compiler. I am using C++ language. I Need to load a .bmp file from the standard input. for example: So I need a Code to do this job. I think storing the whole .bmp file is good by I don’t know how to do this. I Tried

How to set GCC_COLORS in gcc4.9 to emit colorizing diagnostics messages?

gcc4.9 supports the colorizing diagnostics for compiler warning/error messages. We can enable it for a particular program using the option “fdiagnostics-color”. Currently I am using gcc4.9.1 and I append this particular option in my makefile as follows: If I compile a *.cpp file a get the following nice coloured message. This is really great feature added by GCC. While reading

Advertisement