Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 05-03-2016, 07:26   #1
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 844
Grib2 branch test

Hi Pavel

I'm sorry to disturb you, but I'd need a help:
I'm trying to test the grib2 branch and I have an error
when compiling with VS2012:
I get theses messages

3> jp2_enc.c
3>..\..\..\plugins\grib_pi\src\jasper\jp2\jp2_enc. c(228): error C2275: 'jas_cmprof_t' : utilisation non conforme de ce type comme expression
3> C:\Users\Jean Pierre\Documents\Visual Studio 2010\Projects\OpenCPN\plugins\grib_pi\src\jasper\i nclude\jasper/jas_cm.h(222) : voir la déclaration de 'jas_cmprof_t'
3>..\..\..\plugins\grib_pi\src\jasper\jp2\jp2_enc. c(228): error C2065: 'prof' : identificateur non déclaré
3>..\..\..\plugins\grib_pi\src\jasper\jp2\jp2_enc. c(230): error C2065: 'prof' : identificateur non déclaré
3>..\..\..\plugins\grib_pi\src\jasper\jp2\jp2_enc. c(230): warning C4047: 'fonction' : les niveaux d'indirection de 'jas_cmprof_t *' et de 'int' sont différents
3>..\..\..\plugins\grib_pi\src\jasper\jp2\jp2_enc. c(230): warning C4024: 'jas_iccprof_createfromcmprof' : types différents pour le paramètre formel et réel 1

I there something wrong in my environnement?
Sorry, but I'm unable to deal with that problem

Many thanks

Jean Pierre
Ptizef is offline   Reply With Quote
Old 06-03-2016, 19:00   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: Grib2 branch test

jp...

I have corrected GRIB2 branch in github to allow building with VS2012. The problem relates to the fairly old VS2012 support of the C89 compiler standard for "c" files.

Good Luck
Dave
bdbcat is offline   Reply With Quote
Old 06-03-2016, 23:59   #3
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 844
Re: Grib2 branch test

Many thanks Dave
Built OK now (both windows VS2012 and Linux)
Now we have to read effectively these damn grib2
Jean Pierre
Ptizef is offline   Reply With Quote
Reply

Tags
rib

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRIB2 PlugIn bdbcat OpenCPN 82 28-05-2017 07:18
Two-pole branch protection witzgall Electrical: Batteries, Generators & Solar 12 19-11-2013 08:53
QTVLM Route Optimizer and GRIB2 sinbad7 OpenCPN 1 26-07-2013 00:13
Linux link error on master branch teotwawki OpenCPN 4 19-10-2012 06:13
Marine Accident Investigation Branch (UK Govt) David_Old_Jersey Health, Safety & Related Gear 3 05-02-2007 15:30

Advertise Here


All times are GMT -7. The time now is 01:44.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.