Compilation sucks

A forum where anything goes. Introduce yourselves to other members of the forums, discuss how your name evolves when written out in the Game of Life, or just tell us how you found it. This is the forum for "non-academic" content.
Post Reply
User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Compilation sucks

Post by drc » March 20th, 2016, 4:24 pm

Every time I try to compile something with gcc/g++, it succeeds, but every single compilation (with either) doesn't produce a file. I'm getting really pissed off about having to reinstall cygwin everytime.
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Re: Compilation sucks

Post by drc » March 20th, 2016, 7:46 pm

maybe should have posted this in scripts.
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

FractalFusion
Posts: 40
Joined: March 27th, 2009, 2:07 pm

Re: Compilation sucks

Post by FractalFusion » March 20th, 2016, 9:46 pm

First link when searching "g++" with Google:

http://www.cprogramming.com/g++.html

My guess is the second paragraph has the answer to your problem. By the way, Windows uses "a.exe" as default instead.

User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Re: Compilation sucks

Post by drc » March 21st, 2016, 4:32 pm

FractalFusion wrote:First link when searching "g++" with Google:

http://www.cprogramming.com/g++.html

My guess is the second paragraph has the answer to your problem. By the way, Windows uses "a.exe" as default instead.
1. None of those worked.
2. I know.

Also, more errors for running make in apgnano directory:

Code: Select all

g++ -c -Wall -O3 -fopenmp -DUSE_OPEN_MP main.cpp -o main.o
makefile:48: recipe for target 'main.o' failed
make: *** [main.o] Error 1
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Re: Compilation sucks

Post by drc » March 22nd, 2016, 4:25 pm

holy crepe (is that foul language?) the solution turned out to be installing the src along with bin
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

User avatar
codeholic
Moderator
Posts: 1142
Joined: September 13th, 2011, 8:23 am
Location: Hamburg, Germany

Re: Compilation sucks

Post by codeholic » March 22nd, 2016, 5:48 pm

Yes, it is. Don't bend the rules.
Ivan Fomichev

User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Re: Compilation sucks

Post by drc » March 22nd, 2016, 6:47 pm

codeholic wrote:Yes, it is. Don't bend the rules.
Ok

mmm mmm crepes
Image
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

Saka
Posts: 3138
Joined: June 19th, 2015, 8:50 pm
Location: In the kingdom of Sultan Hamengkubuwono X

Re: Compilation sucks

Post by Saka » March 23rd, 2016, 4:15 am

drc wrote: Ok

mmm mmm crepes
Image
NO CREPES ALLOWED!
Hey, after all, this IS the sandbox
Airy Clave White It Nay

Code: Select all

x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
(Check gen 2)

Post Reply