Cruisers Forum
 


Join CruisersForum Today

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

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
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, 20:00   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
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 07-03-2016, 00:59   #3
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
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
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 08:18
Two-pole branch protection witzgall Electrical: Batteries, Generators & Solar 12 19-11-2013 09:53
QTVLM Route Optimizer and GRIB2 sinbad7 OpenCPN 1 26-07-2013 01:13
Linux link error on master branch teotwawki OpenCPN 4 19-10-2012 07:13
Marine Accident Investigation Branch (UK Govt) David_Old_Jersey Health, Safety & Related Gear 3 05-02-2007 16:30



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:03.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.