NetTalk Central

Author Topic: Compile error in NetMaps example  (Read 6231 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Compile error in NetMaps example
« on: December 16, 2023, 06:32:23 PM »
Hello
In the NetMaps Example,
I have the FreeImage.dll installed in the app folder and have  in the Global Extensions "activate Clarion FreeImage for the application"
I also have in Draw "Activate DrawImage" ticked ON

On Compile I get 7 errors all the same but in different CLW files-

line 1 Error(3): cif$fileopen cfilmgCt.inc The system cannot find the path specified.

(In Maps.clw
Maps_BC.clw
Maps_BC0.clw
Maps001.clw
Maps002.clw
Maps003.clw
Maps004.clw
All Right at the top)

???
Thanks
Richard
C11.1.13855
NT14.13
« Last Edit: December 16, 2023, 10:48:58 PM by Richard I »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile error in NetMaps example
« Reply #1 on: December 17, 2023, 10:45:57 PM »
Have you installed Clarion Free Image in your Clarion?

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Compile error in NetMaps example
« Reply #2 on: December 18, 2023, 03:47:47 PM »
Hi Bruce,
If you mean the template then yes, and is also in the app's global template list
but not sure what if anything I do with the now downloaded zipped library.
Thanks
Richard
« Last Edit: December 18, 2023, 09:12:37 PM by Richard I »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile error in NetMaps example
« Reply #3 on: December 18, 2023, 11:26:40 PM »
If you installed the Clarion Free Image template then it would have installed
cfilmgCt.inc
have you got that file? and if so where?


Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Compile error in NetMaps example
« Reply #4 on: December 19, 2023, 02:53:44 AM »
Bruce
In the Clarion template Registry i have
Class Clarion Free Image V3.15.8
and Clarion  FreeImage Control

In the Global Extensions of the Maps app I have
Activate Clarion FreeImage for this application.

However I am unable to find cfilmgCt.inc

On compile the build sequence does not return any error
Thanks
Richard
« Last Edit: December 19, 2023, 02:55:44 AM by Richard I »

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Compile error in NetMaps example
« Reply #5 on: December 19, 2023, 11:14:58 AM »
Its cfiImgCt.inc

-----------
Regards
Alberto

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Compile error in NetMaps example
« Reply #6 on: December 19, 2023, 11:53:38 AM »
Hi Bruce,

I have found the fie...
Location is C:\Clarion11.1\accessory\libsrc\win

Thanks
Thanks Alberto
Richard
« Last Edit: December 19, 2023, 12:00:14 PM by Richard I »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile error in NetMaps example
« Reply #7 on: December 19, 2023, 08:43:17 PM »
and that path is in the RED for this app? And for this version?
So the problem has then gone away?

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Compile error in NetMaps example
« Reply #8 on: December 19, 2023, 09:00:49 PM »
Bruce,
The example compiles now without error, but the Demo Markers Window displays the Markers from the Markers button, but the map  when the Get Map button is selected from the coordinates entered does not display
The map area on the page is blank
Thanks
Richard
« Last Edit: December 19, 2023, 09:09:36 PM by Richard I »

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Compile error in NetMaps example
« Reply #9 on: December 20, 2023, 04:29:55 AM »
Richard I

You need to replace the Here credentials by yours, the example credentials does not work.
Go to WebServer/Extensions/NetWebServer/Settings/Defaults/Maps and change the here APP code or API key
Take a look too to the Global Nettalk extention, Option tab
It seams that the WebServer Defaults get over the Nettalk Options.
Keep only one of those.
Best option is to set it by code:
net.Authenticate('HereAppID', ,'HereApiKey')
Cheers
« Last Edit: December 20, 2023, 04:38:57 AM by Alberto »
-----------
Regards
Alberto

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Compile error in NetMaps example
« Reply #10 on: December 20, 2023, 02:35:43 PM »
Thanks for replying Alberto,
Im no further ahead, trying to get a result in both maps examples
My questions here have become confuse between Web76 example and Netmaps ABC
So
All I am trying to do in the Maps76 example (which displays the street view ) is on the General Map, display a coordinate Marker icon on the map resulting from the entering of the coordinates and pushing the GO button
The Home button on the same Map displays an icon....?

At the moment the General Map appears centered on the coordinates entered.

Can I please have some guidance on this?
Thanks
Richard
NT14.14
 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile error in NetMaps example
« Reply #11 on: December 20, 2023, 11:02:57 PM »
Hi Richard,

I suggest attending the webinar today, or posting an example. It's hard to understand what you are asking.

Cheers
Bruce

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Compile error in NetMaps example
« Reply #12 on: December 21, 2023, 12:54:10 AM »
Hi Bruce,
I am talking about the Nettalk Web Server Example Maps76
with nothing added , changed or removed.

There is a General Map option in it
If I add my own coordinates to the General Map latitude and longitude fields and press GO the street map appears  with my location centered.
All Good

All I want, and cannot achieve ,is the display of a marker icon at that location......

I note the Home Button does display coordinates and map of the Capesoft Office, with a Marker icon
I can follow that through in the template, but cannot replicate on the GO button

I hope that clarifies...
Regards,
Richard

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Compile error in NetMaps example
« Reply #13 on: December 21, 2023, 08:00:10 AM »
Hi Bruce,
Trying to help I changed web 76 example adding some lines to the Go button of the General Map.
I can add a marker but I cant remove a Marker.
May you please check it?
Nettalkcentral does not allow me to upload the rar or zip so I will email it to you.
Thanks
-----------
Regards
Alberto

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Compile error in NetMaps example
« Reply #14 on: December 21, 2023, 06:30:27 PM »
Sounds good Alberto
At this stage,are you able to share pease?
Thanks
Richard