22 Topics

Member Avatar for
Member Avatar for Xozz

I have MinGW installed on Windows 10. Can you help me compile something with it? I get this $ g++ first.cpp -o first bash: g++: command not found And then $ apt-get install g++ bash: apt-get: command not found

Member Avatar for Xozz
0
69
Member Avatar for Xozz

While compiling my Yahtzee project I get these errors: ||=== Build: Debug in Yahtzee (compiler: GNU GCC Compiler) ===| ld.exe||cannot open output file bin\Debug\Yahtzee.exe Permission denied| ||error: ld returned 1 exit status| ||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| I use CodeBlocks. It's not nice …

Member Avatar for Reverend Jim
0
113
Member Avatar for JohnMcPherson

Hello, I work at the U.S. Department of Labor, on the Unemployment Insurance program. I am working on developing a new Benefit Financing model for the state of Oregon, and I am having an issue with passing a struct between mutiple .c and .cfn files( the .cfn files are for …

Member Avatar for JohnMcPherson
0
610
Member Avatar for lewashby

When I try to compile the program below in Eclipse I get two erros, ‘const class Fraction’ has no member named ‘n’ & ‘const class Fraction’ has no member named ‘d’ When I compile it on the command line with g++ -Wall FloatFraction2.cpp Fract7.cpp -o FloatFraction I get more errors …

Member Avatar for マーズ maazu
0
536
Member Avatar for mike_2000_17

# Introduction # A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for people only familiar with higher-level languages (if any), but veterans of one or more native languages (C, Fortran, …

Member Avatar for Lutina
15
7K
Member Avatar for Suzie999

I have been working on a project with selenium 2 webdriver for a few weeks. I got to a milestone and decided to compile my project in release mode and test the executable. Thing is, it crashes if I try to run it from the release folder (or anywhere else …

Member Avatar for Suzie999
0
391
Member Avatar for sankubha

am compiling the java program inside another javaprogram..... how to add an additional library to that conpiling java program....

0
126
Member Avatar for DJWK

I have several files to include from a subfolder and I just can't get this to work. I'm propably missing something here... The Makefile and .cpp with main function are located at /path/to/ and files to be included are at /path/to/src/buffer and /path/to/src/hash. Both of these folders have .cpp and …

Member Avatar for rxlim
0
263
Member Avatar for ineedsomehelp:3

[CODE]void alternate(char wordWord[][MAX],char wordVar[],int word[],int i,int j, int k, int l) { char ang[4],si[3],ni[3],ay[3],sa[3],kay[4]; int X,Y,Z1,Z2; strcpy(ang,"ang"); strcpy(si,"si"); strcpy(ni,"ni"); strcpy(ay,"ay"); strcpy(sa,"sa"); strcpy(kay,"kay"); tokenize(wordWord,wordVar,word,i,j,k,l); if(wordWord[j][k] == ang[4] || wordWord[j][k] == si[3]) X = wordWord[j][k]; else if(wordWord[j][k] == ni[3]) Z1 = wordWord[j][k]; else if(wordWord[j][k] == ay[3]) Y= wordWord[j][k]; else if(wordWord[j][k] == sa[3] …

Member Avatar for ineedsomehelp:3
0
328
Member Avatar for Newjavauser1

Hi I'm new to java and I have written a simple Program and everything and set up a Path variable And then I tried to compile it by changing the cd and using javac Then it asks whether javac.exe can make changes to the computer. I tapped yes and then …

Member Avatar for DavidKroukamp
0
202
Member Avatar for dinhunzvi

are there any conditions for running the groupadd command via the command line? i have been trying it like this: [CODE]groupadd mysql[/CODE]and i'm getting the following error [CODE]groupadd: cannot lock etc/group; try again later [/CODE]

Member Avatar for rubberman
0
110
Member Avatar for caswimmer2011

Hey, I am having trouble compiling in netbeans. When I go to compile, I usually go to Run>Clean and Build Main Project (or shift F11). When it compilies, it says Copying 1 file to /Users/me/NetBeansProjects/JavaApplication11/build Nothing to copy. And when I go to run the .jar file, it doesn't open …

Member Avatar for caswimmer2011
0
257
Member Avatar for TrustyTony

Here is Mandelbrot set viewer in Tkinter and modules for shedskining (included compiled modules for windows in the zip file): [CODE]# mandelsh.py def mandel(real, imag, max_iterations=20): '''determines if a point is in the Mandelbrot set based on deciding if, after a maximum allowed number of iterations, the absolute value of …

Member Avatar for TrustyTony
0
1K
Member Avatar for Khoanyneosr

I'm REALLY angry! I've been trying to get this stupid code to compile for way too long now. I've spent 30 bucks on this book and the first code it tells you compile doesn't work! Here's a link to the code... [url]http://d3dcoder.net/d3d10.htm[/url] I'm sorry that you have to download that …

Member Avatar for Khoanyneosr
0
155
Member Avatar for PaulBird

[IMG]http://i1187.photobucket.com/albums/z394/crazythang/photo-1.jpg[/IMG] i try to compile a simple c++ hello world, and i get this, PLZ HELP i compile with g++...

Member Avatar for rubberman
0
302
Member Avatar for Khoanyneosr

[code] 1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------ 1>Build started 3/24/2011 5:24:05 PM. 1>InitializeBuildStatus: 1> Touching "Debug\DirectXtutrials.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals …

Member Avatar for Khoanyneosr
0
268
Member Avatar for iammirko

Hi, I have been trying to compile open source projects since past few months with no success. I just don't know how to go about the entire thing. Readings over the internet have not helped much. Some come with [COLOR="red"]./Configure[/COLOR] and a [COLOR="red"]Makefile[/COLOR] while others with only a [COLOR="Green"]Makefile[/COLOR]. How …

Member Avatar for iammirko
0
209
Member Avatar for QuesoTaco

Nevermind, I wanted to delete this post, but did not want to bother emailing the moderator. Sorry.

Member Avatar for QuesoTaco
0
326
Member Avatar for l1ttledb

hey all, first post of a beginner coder ;), I keep geting the following error : conflicting types of 'graphic_choice'.. its not a warning so it wont compile. I haven't finished case 7 so that may have some syntax issues. hope this isn't to big of a code block? i …

Member Avatar for sree_ec
0
262
Member Avatar for nxt200

Hello DaniWeb Software Developers :D I have a problem which exceed my programing capabilities and i need your help! Problem: I am somewhat new to c++ and i have been making some useful console applications in windows GUI visual Express. I thought i would give building in Linux a try …

Member Avatar for Narue
0
180
Member Avatar for yuri1969

Hi, I have prolly very noobish question. I compile my program separately with GCC by: [CODE]gcc -O2 -Wall -c foo.c[/CODE] I just wat to ask if there is a chance to specify the output destination of [B]foo.o[/B] file. Now the output is forwarded to the makefile dir. Thank you for …

Member Avatar for yuri1969
0
2K
Member Avatar for vello

[CODE]a.cpp: In function ‘int main()’: a.cpp:39: error: no matching function for call to ‘find(int&, int)’ [/CODE] [CODE]#include <iostream> #include <fstream> using namespace std; int minutes, seconds; char temp; int array_l; bool* sees; int* a; int saade; int main() { ifstream sisf("raadio.sis"); ofstream valf("raadio.val"); /* * How many songs? */ sisf …

Member Avatar for arkoenig
0
194

The End.