Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fredcobain

Pages: 1 2 3 »
1
Issues Help Desk / Re: Install Enigma on Mac
« on: July 06, 2011, 11:26:08 pm »
TG, after try using you GIT repo, I got his error when compile:

cd Widget_Systems/GTK+/      && /usr/bin/make this MODE=Run GFLAGS="-s -O3" ECFLAGS="" ECPPFLAGS="" OBJECTS=".eobjs/MacOSX/MacOSX/Run"
make[2]: pkg-config: Command not found
mkdir -p .eobjs/MacOSX/MacOSX/Run || mkdir ".eobjs/MacOSX/MacOSX/Run"
g++ -c dialogs.cpp      -o .eobjs/MacOSX/MacOSX/Run/dialogs.o  -s -O3
dialogs.cpp:29:21: error: gtk/gtk.h: No such file or directory
----Make returned error 2----------------------------------
dialogs.cpp: In function 'int get_color(int)':
dialogs.cpp:36: error: 'gdk_threads_enter' was not declared in this scope
dialogs.cpp:38: error: 'GtkWidget' was not declared in this scope
dialogs.cpp:38: error: 'colsel' was not declared in this scope
dialogs.cpp:38: error: 'gtk_color_selection_dialog_new' was not declared in this scope
dialogs.cpp:40: error: 'GdkColor' was not declared in this scope
dialogs.cpp:40: error: expected `;' before 'col'
dialogs.cpp:41: error: 'col' was not declared in this scope
dialogs.cpp:46: error: 'GTK_COLOR_SELECTION_DIALOG' was not declared in this scope
dialogs.cpp:46: error: 'gtk_color_selection_dialog_get_color_selection' was not declared in this scope
dialogs.cpp:46: error: 'GTK_COLOR_SELECTION' was not declared in this scope
dialogs.cpp:46: error: 'gtk_color_selection_set_previous_color' was not declared in this scope
dialogs.cpp:47: error: 'gtk_color_selection_set_current_color' was not declared in this scope
dialogs.cpp:48: error: 'GTK_DIALOG' was not declared in this scope
dialogs.cpp:48: error: 'gtk_dialog_run' was not declared in this scope
dialogs.cpp:49: error: 'gtk_color_selection_get_current_color' was not declared in this scope
dialogs.cpp:50: error: 'gtk_widget_destroy' was not declared in this scope
dialogs.cpp:52: error: 'gdk_threads_leave' was not declared in this scope
dialogs.cpp:54: error: 'GTK_RESPONSE_DELETE_EVENT' was not declared in this scope
dialogs.cpp:54: error: 'GTK_RESPONSE_NONE' was not declared in this scope
dialogs.cpp:54: error: 'GTK_RESPONSE_CANCEL' was not declared in this scope
dialogs.cpp: At global scope:
dialogs.cpp:59: error: variable or field 'parse_filter_string' declared void
dialogs.cpp:59: error: 'GtkFileChooser' was not declared in this scope
dialogs.cpp:59: error: 'dialog' was not declared in this scope
dialogs.cpp:59: error: expected primary-expression before 'const'
In file included from /usr/include/c++/4.2.1/bits/locale_facets.tcc:42,
                 from /usr/include/c++/4.2.1/locale:46,
                 from /usr/include/c++/4.2.1/bits/ostream.tcc:46,
                 from /usr/include/c++/4.2.1/ostream:572,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from dialogs.cpp:259:
/usr/include/c++/4.2.1/typeinfo:41: error: expected declaration before end of line
make[2]: *** [.eobjs/MacOSX/MacOSX/Run/dialogs.o] Error 1
make[1]: *** [build] Error 2
make: *** [Game] Error 2

2
Issues Help Desk / Re: Install Enigma on Mac
« on: July 06, 2011, 10:26:37 pm »
Result:


Snow-Leopard-Users-Mac:trunk User$ java -jar lgm1*
Java Version: 10600 (1.6.0_24)
Loading lib files in /Users/User/SVN/enigma-dev/trunk/lgm16b4.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
Auto-update disabled: SvnKit missing, corrupted, or unusable. Please download to plugins/shared/svnkit.jar in order to enable auto-update.
Calling `make eTCpath="null"`
> cd CompilerSource && make
> /bin/sh: make: command not found
> make: *** [ENIGMA] Error 127
2
   

3
Issues Help Desk / Re: Install Enigma on Mac
« on: July 06, 2011, 08:01:40 pm »
Yes, the prior error should be:


Quote
ENIGMA: Unable to comunicate with the library,
Either because could not be found or uses methods different from those expected.
The exact error is:
Unable to load library 'compileEGMF': dlopen(libcompileEGMf.dylib,9):image not found).


It happens when LGM finishes it loading.


The other error ( (Enigma is not functional due to prior errors) ) occurs when I try to run.

4
Issues Help Desk / Re: Install Enigma on Mac
« on: July 06, 2011, 07:10:11 pm »
mmm... what should i do ?


I feel that's why I cant open Enigma settings....

And I cant run....

Error Message:
Quote
(Enigma is not functional due to prior errors)

5
Issues Help Desk / Re: Install Enigma on Mac
« on: July 06, 2011, 06:14:29 pm »
Ism, there is no compileEGMf.dylib in my Mac.

Just a compileEGMf.cbp on Trunk/CompilerSource folder....

Does anyone can send me this file ?

=/

6
Issues Help Desk / Re: Install Enigma on Mac
« on: July 06, 2011, 05:52:06 pm »
I don't know what to make of that. Sounds like it produced a corrupt dylib.

Stupid Mac!  >:(

7
Issues Help Desk / Re: Install Enigma on Mac
« on: July 06, 2011, 05:47:57 pm »
You can download a torrent of it instead. Save you from selling your soul to Mac anymore than you already have.

Too late, Ism.... they have my soul.  ;D

Well.... I've installed the IOS SDK and the MAC SDK now, I got a different error when I start LGM:

Quote
ENIGMA: Unable to comunicate with the library,
Either because could not be found or uses methods different from those expected.
The exact error is:
Unable to load library 'compileEGMF': dlopen(libcompileEGMf.dylib,9):image not found).


=(

8
Issues Help Desk / Re: Install Enigma on Mac
« on: July 05, 2011, 09:00:37 pm »
TGMG, do you mean the Android SDK or Iphone SDK ?

I did not find MAC SDK. Can you point me the link ?


Thank you so much.


Btw, these are the error I found when I call the jar file of LGM (now in trunk directory):


Enigma cannot run because it requires the "MAKE" tool, which could not be found.
Please make sure 'MAKE' is properly installed and then restart the application


Quote
Unhandled Exception:
org.lateralgm.file.GmFormatException - java.io.IOException: Cannot run program "make" (in directory "/Users/User/SVN/enigma-dev/trunk"): error=2, No such file or directory

Stack trace:
java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
java.lang.Runtime.exec(Runtime.java:593)
java.lang.Runtime.exec(Runtime.java:431)
org.enigma.EnigmaRunner.make(EnigmaRunner.java:247)
org.enigma.EnigmaRunner$2.run(EnigmaRunner.java:146)


Update:

Oh, now I underestand.... the Iphone SDK contains the Mac SDK.

And you should 1st register in Apple Developers WebSite.

You have to download the "XCODE3.2.6 and IOS SDK 4.3"

4.3GB.

After that it should solve my problem... lets see... will post here the results.





Fred

9
Issues Help Desk / Install Enigma on Mac
« on: July 04, 2011, 11:12:54 pm »
Hi masters,

I've downloaded the SVN repo in a folder in a Mac OS X Snow Leopard instance.

Now I have tons of folders....

which is the LGM.jar that I have to calll to work with Enigma in Mac ?

My instincts guide me to go to "update-stable" folder....
and when I try to open the jar file, the LGM complains that could not find the MAKER.

What can I do ?


Thanks in advance.

Fred

10
Function Peer Review / Re: "Choose" statement
« on: July 03, 2011, 04:59:37 pm »
pigeonhole each of the options, then choose one with random(n). This is a simple but somewhat inefficient way to do it.

A more efficient way to do it would be the same way we plan on implementing max, which also isn't implemented at this point.

max(a) = a
max(a,b) = a > b ? a : b;
max(a,b,c) = max(a,max(b,c));
max(a,b,c,d) = max(a,max(b,max(c,d)))

likewise, instead of doing the > comparator for the secondary base case, you'd simply do a random() > 0.5 type of thing.

mmm... interesting...

does the functions round() and random() are  is implemented in enigma  (built in) ?


11
Function Peer Review / "Choose" statement
« on: July 03, 2011, 04:15:35 pm »
Guys, in GM we have a very usefull built-in function called "choose()";

From GM Help: choose(val1,val2,val3,...) Returns one of the arguments choosen randomly. The function can have up to 16 arguments

I'd like to see some suggestions to perform the same results in Enigma.

Thanks

Fred

12
Issues Help Desk / Re: just started
« on: July 03, 2011, 04:11:00 pm »
Running mac virtually requires that your motherboard and processor support hardware virtualization - and that's not something that comes by default in newer boards. You have to pick your board to make sure that it supports virtualization, and then sometimes you also have to play around in the bios to enable it (because it's oftentimes disabled by default).
Additionally, running other platforms virtually tends to be very slow, especially mac.
And, to kick it all off, acquiring an image for installation to virtual machine on non-native hardware is shady to say the least. Downloading a windows or mac image is hardly legal.

It should work, Ism.

I already run Vmware Workstation some windows and linux guests from my PC. Virtualization support is present in most hardwares (desktops), it is not a big problem.

We can fairly make everything from the Host machine (running windows for example), and then use the guest machine (mac guest for example) just to compile/port for another platform.

Btw, this is just a lab, personal use/experiment.... no worries about whether is or not legal for this time.

I'm downloading the image to make a try.... will post here whether that image really works.
 ;)





13
Issues Help Desk / Re: just started
« on: July 03, 2011, 01:46:38 pm »
Guys,

in theory, even running a Windows machine, we can try to install mac os as a guest (virtual machine) using softwares like  vmware, virtual box etc.

Then we run our mac virtual machine, install enigma on it, and try to compile to Iphone (for example).

Take a look in how to install a guest mac os using virtualbox:

http://www.sysprobs.com/install-mac-snow-leopard-1063-oracle-virtualbox-32-apple-intel-pc

If you prefer Vmware Workstation, this is it:
http://www.online-tech-tips.com/mac-os-x/install-snow-leopard-on-pc/


Ok, can't be easier... i found an image ready to run (vmware):
*snipped by a mod, please don't post warez*


 ;)



14
Issues Help Desk / Re: just started
« on: June 27, 2011, 10:27:27 pm »
By the way, the last one who tried that seems to be killed himself - look:
http://enigma-dev.org/forums/index.php?topic=817.0
 :D


P.s: You are able to choose all kinds of events (like in gamemaker), just add a new event. The create/draw/step are built in when you create a new object (i believe that's just because they are the most used).

15
Issues Help Desk / Re: just started
« on: June 27, 2011, 10:24:43 pm »
Try that:

Open Compilers/YOURPLATFORM/ and make a copy of the file in Compilers/MacOSX/gcc.ey there. Then just change this line:
Target-platform: MacOSX
To say Android instead, like so:
Target-platform: Android

You will also need to change this line:
resources: $exe

Pages: 1 2 3 »