Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / AGK on Ubuntu 10.4 via Parallels 10 on OSX Yosemite

Author
Message
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 14th May 2015 01:39
Hello,

I have been trying without success to get AppGameKit 2.13 running on Ubuntu via a Parallels Virtual Machine. And am looking to see if anyone else on the forum has had any success in this area?

I've followed the advise from SpectrePaul and co in the sticky post (AGK 2.0.10 on Linux) and followed all the steps there.

AGK will fire up and I can use the editor.

However, when trying to execute any program, including the standard new build project. Nothing actually happens. I click run, it says it completed, I can not find any error messages, any output, and messages in the Logs.

Either I;'m doing something fundamentally wrong, or AppGameKit won't work on a Parallels VM?!?

An object is compiled, but again a window isn't opened when i double click it and nothing is displayed, except straight to the desktop

Any suggestions how I can diagnose the issue? Am I being a complete numpty on this one?

Thanks in advance

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th May 2015 02:02
It might be that OpenGL doesn't work in the virtual machine, it will need to support OpenGL 2.0 for the produced apps to work. If you run one of the apps or the provided AppGameKit Player from the command line it may produce an error that will give you more information.
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 02:19
Works fine on Linux since following the guide in the other post, however I have not tried on a virtual machine.

If you have major issues you could always try duel booting to run Linux proper instead of virtually, however I can see why the virtual machine would be good as less messy on the computer.

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Harlequin
14
Years of Service
User Offline
Joined: 22nd Mar 2010
Location: Melbourne (AU)
Posted: 14th May 2015 03:02
It does sounds like you might be missing some of the underlying libs in Ubuntu, if you can start AppGameKit from the command-line you should get the debug output as you run various actions (like compile and run) and will give you some hints as to what is going wrong.

In the Linux part of the AppGameKit forums, there are some posts about getting all the require libs for Linux installed, you also need to make sure the Parallels tools are installed. Parallels only supports OpenGL 2.1

It's late, I'm tired, out of coffee and now I'm wet.
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 14th May 2015 13:53
Hi,

Thank you to you all for your suggestions.

That's the strange thing. AppGameKit will build the executable, however I don't get any error messages or output.

Executed on the command line I see :-

(AGK64:3928): Gtk-CRITICAL **: _gtk_tree_view_column_autosize: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 157 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 108
Current serial number in output stream: 108


I do have the latest Parallels tools installed and the latest version of Parallels.

I've also updated the libs as per Paul Johnstons sticky post above and the great info to ensure the libs are up to date.

So it looks like a GL Parallels support issue? Or is there another lib I need to include?

Thank you!

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 16:52
Well you won't believe this but I had it working before but I did a new install on one of my partitions of Linux Lubuntu this morning and now I get the same thing as you after installing it again. I don't know what I have done as I have installed it the same as before so I don't think it is a problem with Parallels for you as mine is not virtual install.

I get the same sort of error on the terminal Gtk-Critical part. I am using the 32bit version too.

Very strange.

I run the program in the editor and it says it has compiled with no errors but nothing happens and the program doesn't display.



The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th May 2015 18:25
The GTK-Critical message would be from the IDE (and won't seriously affect the IDE from functioning). What happens if you run your compiled app from the command line?
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 20:55
The compiled APP has no extension, eg it just says PaintPot and not PaintPot.exe so just says command not found.

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 20:59
Properties of compiled app does say it is an executable file though.

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 21:00
I also tried mv PaintPot PaintPot.exe just in case but still says command not found.

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 14th May 2015 21:02
Hi @spectrpaul

Depending on your PATH config you may need to use the local operator which is


. ./appname

or add :. to your PATH

i.e.



[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 21:06
This is the exact wording when running the editor from terminal.

./AGK32



The editor works great just not running after compiling. I had it working first time so can't understand it.

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 14th May 2015 21:06
@Paul

By trying to execute the final object built by the AppGameKit compiler I will see the following message :-

/home/parallels/AGK/AGKLinux/Projects/ManicMiner> . ./ManicMiner
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 157 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 108
Current serial number in output stream: 108

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 21:08
@Muckypaws did you get yours working now?

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 21:14
I get this:

./PaintPot: Permission denied

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 14th May 2015 21:16
Hi Paul.

You will need the syntax



There is a dot space dot slash filename

But no....

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 14th May 2015 21:17
@Paul

Does this help? GLXINFO output

/home/parallels/AGK/AGKLinux/Projects/JB >glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: Parallels Inc
server glx version string: 1.4
server glx extensions:
GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
client glx vendor string: Parallels Inc
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
GLX version: 1.4
GLX extensions:
GLX_ARB_get_proc_address, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig
OpenGL vendor string: Parallels and NVIDIA Corporation
OpenGL renderer string: Parallels using NVIDIA GeForce GTX 680MX OpenGL Engine
OpenGL version string: 2.1 NVIDIA-10.2.7 310.41.25f01
OpenGL shading language version string: 1.20
OpenGL extensions:
GL_ARB_color_buffer_float, GL_ARB_depth_texture, GL_ARB_draw_buffers,
GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_imaging,
GL_ARB_map_buffer_range, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
GL_ARB_shader_texture_lod, GL_ARB_shading_language_100, GL_ARB_shadow,
GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_float, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_texture_rg, GL_ARB_transpose_matrix, GL_ARB_vertex_blend,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
GL_ARB_window_pos, GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_EXT_abgr,
GL_EXT_bgra, GL_EXT_bindable_uniform, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_depth_bounds_test, GL_EXT_draw_buffers2,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit,
GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_object,
GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,
GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays,
GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_provoking_vertex,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D,
GL_EXT_texture_array, GL_EXT_texture_compression_dxt1,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
GL_EXT_texture_shared_exponent, GL_EXT_vertex_array_bgra,
GL_NV_blend_square, GL_NV_depth_clamp, GL_NV_fog_distance,
GL_NV_fragment_program2, GL_NV_fragment_program_option,
GL_NV_light_max_exponent, GL_NV_multisample_filter_hint,
GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_NV_vertex_program2_option, GL_NV_vertex_program3,
GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod

2 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x021 24 tc 1 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x041 32 tc 1 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

8 GLXFBConfigs:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x042 24 tc 1 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x043 24 tc 1 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x044 32 tc 1 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x045 32 dc 1 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x046 24 tc 1 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x047 24 tc 1 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x048 32 tc 1 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x049 32 dc 1 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 21:34
Using this:

. ./PaintPot

I get this now:

bash: .: ./PaintPot: cannot execute binary file


Tried glxinfo but I have about 3 pages more and all gibberish lol

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 14th May 2015 21:37
Going to come back to this, giving up for now lol

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 14th May 2015 22:02
Hi SpectrePaul.


If you added the :. to your path then you you will see that error if you use the . ./PaintPot command.

Unlike window, Unix will search in order of left to right the directories in your $PATH variable.

echo $PATH

if $PATH has :. (colon dot) in the search path then it will look in your current directory for the filename (case sensitive).

if :. is not defined in your $PATH then you have to qualify the location of the file (Crazy I know, but that's unix for you).

So....

echo $PATH

No :. in your $PATH use
. ./PaintPot

:. in your $PATH then use

PaintPot

at your command prompt.

However, if you have a filename that matches what you want to execute already in your $PATH at one of the directory levels, then you can get in tor some serious head scratching

I hope that helps!

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 15th May 2015 00:27 Edited at: 15th May 2015 00:28
@MuckyPaws - X_GLXMakeCurrent looks like an OpenGL error where it can't initialise OpenGL, and the debug output has the line "GLX version: 1.4" which needs to be 2.0 or above.

@spectrepaul - "./PaintPot: Permission denied" means you are using the right syntax but you do not have executable permissions for it, run the following command first

Then run

and it should run, or at least output why it isn't running.
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 15th May 2015 03:10
Tried it but still get

bash: ./PaintPot: Permission denied

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 15th May 2015 12:47
@PaulJohnston.

Yep that makes sense, I was thrown when I spotted the

OpenGL version string: 2.1 NVIDIA-10.2.7 310.41.25f01
and the Parallels support that states GL 2.1, but that appears to be for windows only not ubuntu.... Oh well...

May have to partition my HD after all!

@SpectrePaul

Can you cut and past your whole command line and error message, along with the results of echo $PATH

?

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 15th May 2015 19:23


That's the command line stuff tried both ./ and . ./
Not great with Linux to be honest but can normally get by.

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 18th May 2015 01:49
Hi SpectrePaul

Apologies been caught up with the domestic chores so had little computing time this weekend.

If you've not solved it already, what do you see when you type

ls -al PaintPot

Kind Regards

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 18th May 2015 01:54
Also try

chmod 777 PaintPot

. ./PaintPot


The size of the executable should be approx 2mb

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 18th May 2015 21:15
I get this but still same.



The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 19th May 2015 00:28
This is very strange.

I am now seeing the exact same error you are experiencing...

I even created a new project... That is just the standard template code for AppGameKit (Black Screen, Showing FPS)

The binary is created, but refuses to execute... No matter how much I try and persuade it.

Have you installed any Ubuntu Patches recently?




I tried executing the same package under BASH and KSH.

This is very strange indeed. The only difference between now and last week is that I have patched my Linux distro.

I am patched up to



I think this is one for @Paul J to advise on, there's not much more I can test...

I've tried the obvious, 32bit vs 64bit builds, permissions, clash with search Path Strings etc etc. It looks like the Binary is somehow corrupt.

This is on AppGameKit 2.011

AGK 2.013 creates a slightly larger Player Binary



I am just downloading 2.014b to see if that makes a difference.

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 19th May 2015 00:40
Same on AGK2.0.14b for Ubuntu




Definitely one for Paul to advise on...

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 19th May 2015 00:57
Yes I am really baffled and same happening on yours too. I am using Lubuntu which is based on Ubuntu but doesn't use much resources.

The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th May 2015 03:34
In the AppGameKit Linux download is a folder called Players which contains both 32 and 64 bit versions of the player, do either of those run?

I just updated my real machine to Ubuntu 14.04.2 (64bit) and it ran LinuxPlayer64 without issue. I also have two virtual machines running clean installs of Ubuntu 14.04 32bit and Ubuntu 14.04 64bit, I updated both of them to 14.04.2 and again they ran the LinuxPlayer32 and LinuxPlayer64 apps without issue, so I'm not sure what could be going on. I'm using VirtualBox for my virtual machines with only important and recommended updates.
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 19th May 2015 16:05
Hi Paul,

I get the same error



I'm running 64Bit Version of Linux.

It's very strange...

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th May 2015 19:15
If you run

does it list any libraries as not found?
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 19th May 2015 21:07
Hi Paul,

Here's the output



[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 19th May 2015 21:50
I get for the 32 bit version:





The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/
Muckypaws
AGK Developer
12
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 20th May 2015 01:29
@SpectrePaul @Paul J

I've solved the execution issue! Well at least for my Linux setup.

if I use the

. ./Object

I get the execution error (invalid Binary) for some weird reason.

However, if I use

./Object

Then it will try and execute the binary and I will now get (What I expected) an error due to being on OpenGL 1.4

parallels@ubuntu:~/AGK2.014/AGKLinux/Players/Linux$ ./LinuxPlayer64
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 157 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 108
Current serial number in output stream: 108


Try

./PaintPot

And see if that makes a difference!

[href]https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd[/href]
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 20th May 2015 02:07
Same as before, really strange.



The Amiga and Amos were great!
Download my game - Paint Pot from Amazon and Google here - http://leap.my-free.website/

Login to post a reply

Server time is: 2024-09-28 22:58:29
Your offset time is: 2024-09-28 22:58:29