Pages: « 1 2 3 4 »
  Print  
Author Topic: compiling for mac?  (Read 10741 times)
Offline (Male) Josh @ Dreamland
Reply #30 Posted on: April 20, 2014, 04:44:45 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
That should be correct. Is it still not working?
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) hairypuppy
Reply #31 Posted on: April 20, 2014, 04:55:46 PM
Member
Joined: Apr 2014
Posts: 37

View Profile WWW Email
still not. tried 2 ways. one with the settings.ey, with the changes of "./ENIGMA/" and also ~/.enigma/
./ENIGMA/ came up with a bust up
http://pastebin.com/FEvRKdBS

~/.enigma/
still coming up with that message from before. plus actually says in terminal that there is no directory, though did create one
http://pastebin.com/rbVUgVPx

this was using the changes you had asked me to do with: cpp -dM etc...
« Last Edit: April 20, 2014, 04:57:27 PM by hairypuppy » Logged
lewis lepton
------
composer | sound designer | tinkerer
Offline (Male) Josh @ Dreamland
Reply #32 Posted on: April 20, 2014, 05:00:08 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
Yeah, it's still reflecting the old key being read. Which compiler is selected under Enigma Settings → API?
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Goombert
Reply #33 Posted on: April 20, 2014, 05:00:46 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
On Linux  and Mac when it says it failed to create the make directory it can also mean the directory already exists.
https://github.com/enigma-dev/enigma-dev/blob/master/CompilerSource/makedir.cpp#L80
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) hairypuppy
Reply #34 Posted on: April 20, 2014, 05:03:45 PM
Member
Joined: Apr 2014
Posts: 37

View Profile WWW Email
hmmm, seems to be GNU GCC C++
Logged
lewis lepton
------
composer | sound designer | tinkerer
Offline (Male) Josh @ Dreamland
Reply #35 Posted on: April 20, 2014, 05:05:18 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
That's... really strange, actually. But you can fix that by editing the other compiler descriptor file (gcc.ey), too. Or you can just set it to Clang.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) hairypuppy
Reply #36 Posted on: April 20, 2014, 05:06:56 PM
Member
Joined: Apr 2014
Posts: 37

View Profile WWW Email
ive set it to clang now. still trouble with the pop up window
Logged
lewis lepton
------
composer | sound designer | tinkerer
Offline (Male) Goombert
Reply #37 Posted on: April 20, 2014, 05:08:45 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Go ahead and change the GCC version, there may be other issues with Clang.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) Josh @ Dreamland
Reply #38 Posted on: April 20, 2014, 05:09:06 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
Is it still reporting "-x c++" was read in the terminal?
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) hairypuppy
Reply #39 Posted on: April 20, 2014, 05:09:47 PM
Member
Joined: Apr 2014
Posts: 37

View Profile WWW Email
seems to be, yeah

Last login: Sun Apr 20 23:02:38 on ttys000
You have mail.
lepton:~ lepton$ cd /Users/lepton/Developer/enigma
lepton:enigma lepton$ java -jar lateralgm.jar
Java Version: 10700 (1.7.0_51)
Loading lib files in /Users/lepton/Developer/enigma/lateralgm.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
Calling `make eTCpath=""`
> /Applications/code/Xcode.app/Contents/Developer/usr/bin/make -j 3 -C CompilerSource
> make[1]: Nothing to be done for `all'.
0
Process terminated
Initializing Enigma:
Failed to create make directory at ~/.enigma/
Linking up to IDE
Implementing JDI basics
UnimplementedUnimplemented

Choosing language: C++
Reading GCC builtins
Read key `defines` as `gcc -dM -x c++ -E $blank`
Parsed `gcc` `-dM -x c++ -E "~/.enigma/enigma_blank.txt"`: redirect=yes
TRUE




*********** EXECUTE
  `/usr/bin/gcc`
  `-dM`
  `-x`
  `c++`
  `-E`
  `~/.enigma/enigma_blank.txt`



clang: error: no such file or directory: '~/.enigma/enigma_blank.txt'
clang: error: no input files
ERROR: Call to 'defines' toolchain executable returned non-zero!

See scrollback for more information.
Creating parse context
lepton:enigma lepton$ java -jar lateralgm.jar
Java Version: 10700 (1.7.0_51)
Loading lib files in /Users/lepton/Developer/enigma/lateralgm.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
Calling `make eTCpath=""`
> /Applications/code/Xcode.app/Contents/Developer/usr/bin/make -j 3 -C CompilerSource
> make[1]: Nothing to be done for `all'.
0
Process terminated
Initializing Enigma:
Failed to create make directory at ~/.enigma/
Linking up to IDE
Implementing JDI basics
UnimplementedUnimplemented

Choosing language: C++
Reading GCC builtins
Read key `defines` as `gcc -dM -x c++ -E $blank`
Parsed `gcc` `-dM -x c++ -E "~/.enigma/enigma_blank.txt"`: redirect=yes
TRUE




*********** EXECUTE
  `/usr/bin/gcc`
  `-dM`
  `-x`
  `c++`
  `-E`
  `~/.enigma/enigma_blank.txt`



clang: error: no such file or directory: '~/.enigma/enigma_blank.txt'
clang: error: no input files
ERROR: Call to 'defines' toolchain executable returned non-zero!

See scrollback for more information.
Creating parse context
lepton:enigma lepton$
Logged
lewis lepton
------
composer | sound designer | tinkerer
Offline (Male) Josh @ Dreamland
Reply #40 Posted on: April 20, 2014, 05:11:31 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
Go ahead and change it in gcc.ey, too, I guess.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) hairypuppy
Reply #41 Posted on: April 20, 2014, 05:14:43 PM
Member
Joined: Apr 2014
Posts: 37

View Profile WWW Email
sorry, put clang in the GCC.ey?
or change the x c++ to xc++?
Logged
lewis lepton
------
composer | sound designer | tinkerer
Offline (Male) Josh @ Dreamland
Reply #42 Posted on: April 20, 2014, 05:15:45 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
No, just swap -x c++ for -xc++ in it.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) hairypuppy
Reply #43 Posted on: April 20, 2014, 05:21:48 PM
Member
Joined: Apr 2014
Posts: 37

View Profile WWW Email
this one is set with ./ENIGMA/ back in settings.ey iwth clang with gcc.ey updates
http://pastebin.com/YVYa6N83

this is with ~/.enigma/ in settings.ey with clang with updates to the gcc.ey
popup message comes on. this is the terminal output
http://pastebin.com/AZNGjq4j

as i meant, lateral has clang on. though did resolve back to GNU GCC C++ every boot up by itself
« Last Edit: April 20, 2014, 05:24:23 PM by hairypuppy » Logged
lewis lepton
------
composer | sound designer | tinkerer
Offline (Unknown gender) hairypuppy
Reply #44 Posted on: April 20, 2014, 05:39:36 PM
Member
Joined: Apr 2014
Posts: 37

View Profile WWW Email
right im headed for sleep and try and get this held cold out of me. drained, though feel accomplished ;)
will catch up again with this in the morning
Logged
lewis lepton
------
composer | sound designer | tinkerer
Pages: « 1 2 3 4 »
  Print