New answers tagged

0

The line: std::map <string, int> example; should be: std::map <std::string, int> example;


0

After adding ARCH=x86_64 flag to all the make commands, everything worked like a charm.


0

If the build process is confusing, there's a good chance someone else out there has had the same problem. You can try doing a Google search for how to build that specific program, or perhaps there is an IRC chatroom or support forum you can use to ask questions. Also, sifting through error logs is a good method to see if you can meet unmet dependencies, or ...


3

Firstly using the gcc switch -c you are telling the compiler to only compile and not link which doesn't produce an executable binary to get an executable binary you need to not use this switch. The correct command would be: gcc cents.c However since this command does not specify the output file name the default name a.out will be used for the binary so ...


1

Actually, you're missing some steps... First of all, 1.58 is fine for other software in your version of Ubuntu. Indeed, if you're developing something yourself, then having the latest might be a good idea. What you downloaded from sourceforge should not be the "boost binary". It should be all source code. The steps you gave would setup the build's ...


2

You can't, it is for Windows and requires Windows components to run. You would need to port the whole application. Here is an alternative ugetdm.com


0

I would recommend the following: Install the necessary tools and dependencies: sudo apt-get install build-essential git sudo apt-get build-dep linux clone the Xenial Ubuntu linux 4.4 kernel: git clone https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial and build the kernel: cd xenial fakeroot debian/rules clean debian/rules ...


3

After some private chat and debugging with the author - It would seem that you have your USB drive mounted with the noexec flag - this is preventing you from executing anything off of the drive, even if you have the permission explicitly set. To fix this, simply remount the usb drive with the exec flag. sudo mount -o remount,exec /home/myName/newMount ...


0

It is not very clear what you are trying. I am guessing that your drive is getting mounted automatically but when you are trying to compile a file on your flash drive you get permission denied. Seems like you may have copied files with root privileges. You might want to try sudo chmod -R a+r /path/to/folder/, if you also want to store files on the device, ...


1

Read this article if you are unfamiliar with mounting filesytems in linux. In Linux, if you, or any other program (CodeBlocks in this case) has to run a file, the file should have executable permissions. These functionalities are not supported by the fat32 filesystem. Normally if it was a filesystem that supports this feature, you could have give the file ...


0

chmod u+x program_name. Then execute it. If that does not work, copy the program from the USB device to a native volume on the system. Then chmod u+x program_name on the local copy and execute that. Unix and Unix-like systems generally will not execute a program unless it is marked with permission to execute. The way you copied the file from one system to ...


0

Although not through the neatest possible way, I solved my problem. The complete workflow is as follows: 1) By default, Octave is configures for 8 bit image processing, and you observe the following warning: your version of GraphicsMagick limits images to 8 bits per pixel 2) This requires recompiling GraphicsMagick with 16 bit quantum depth. Follow: ...


0

This behavior was introduced by cython@9b04560, which changes the way @property nodes are handled. @minrk has removed the offending line in zeromq@659f921, so with a recent checkout of zeromq the problem should be gone.


39

This you can do by using the -std=c++11 flag. Here's an example: g++ -std=c++11 -Wall -Wextra -Werror main.cpp -o main This mode can be selected with the -std=c++11 command-line flag, or -std=gnu++11 to enable GNU extensions as well.(source) See the explanation of the other flags below. I deeply believe that using at least those error flags will make ...


0

you can follow these instructions and see if it fits the bill. http://mysqlworkbench.org/contribute/mysql-workbench-linux-build-instructions/


1

-lSDL means your compiler wants to include the library for SDL you can install that by: sudo apt-get install libsdl*


0

It needed a simple fix: https://github.com/joncampbell123/dosbox-x/issues/209, but it finally compiled.


0

Try to install unity-gtk3-module. It helped some people on the internet.


0

I made a really dumb mistake. The GUI wasn't set to visible >_<



Top 50 recent answers are included