Unable to compile and run sample programs

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
Peter
Posts: 9
Joined: Fri Feb 10, 2017 4:14 am

Unable to compile and run sample programs

Post by Peter »

I tried to compile and run the sample "Hello World" program. No Success.
The Compile process starts but then there is nothing.
A Blank Errorlog Window opens.

I am also not able to create a new project. I get an error
Harbour Err Mgs.JPG
Harbour Err Mgs.JPG (18.72 KiB) Viewed 4223 times
Would appreciate any help
Thanks in advance
Peter
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Unable to compile and run sample programs

Post by Rathinagiri »

The total path including the project filenames should not have any space or special characters.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Peter
Posts: 9
Joined: Fri Feb 10, 2017 4:14 am

Re: Unable to compile and run sample programs

Post by Peter »

I am not inserting any spaces. I am just typing a project name (TestProj) in the dialog box.
Wonder where the space is coming from ?
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Unable to compile and run sample programs

Post by serge_girard »

Welcome Pete From Belgium,

Is it working now?
Serge
There's nothing you can do that can't be done...
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Unable to compile and run sample programs

Post by Pablo César »

Hi Peter. Have you welcome to our community. :)

This is an old problem and old requeriment for fixing this at our IDE. See this topic: viewtopic.php?p=47505#p47505

Compiling project thru IDE at our actual version is becoming an error badly interpreted by IDE when exist space's characters in files names and folders name.

This message came because surely the folder name where the project is stored with spaces in it name in it.

Please, remove spaces upto Claudio could fix our IDE for working properly. Or you can use the main Build.bat of HMG or the Build.bat where the SAMPLES' demo or whatever other project is stored.

Build.bat is working properly.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
RPC
Posts: 282
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: Unable to compile and run sample programs

Post by RPC »

Hi Peter
I had the same problem initially.
Ile me you probably have your program at \hmg.3.4.3 directory/subdirectory so we have "." which IDE will not allow.
Pls shift your prg file where there are no special/space characters in name/path and then recompile.
User avatar
Peter
Posts: 9
Joined: Fri Feb 10, 2017 4:14 am

Re: Unable to compile and run sample programs

Post by Peter »

I tried compiling and running the sample programs.
The system appears to compile the program and then nothing.
I have tried at least 10 of the samples.
What might be the problem ??
I am stuck :((
User avatar
Peter
Posts: 9
Joined: Fri Feb 10, 2017 4:14 am

Re: Unable to compile and run sample programs

Post by Peter »

Hello Mol

I would appreciate that very much.
When can you connect by Teamviewer and see my setup.
Thanks in advance.

Peter
User avatar
Peter
Posts: 9
Joined: Fri Feb 10, 2017 4:14 am

Re: Unable to compile and run sample programs

Post by Peter »

Hello Mol,

You can message me on Whatsapp @ +91 98672 09100

Peter
Post Reply