Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 15-09-2015, 07:06   #1516
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Pavel..
Ok, but I can still build a .apk on a PC but in Linux? (It's easier on a machine with a keyboard and stuff.) Hints for that?
Thanks
Håkan
__________________

__________________
Hakan is online now   Reply With Quote
Old 15-09-2015, 07:21   #1517
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,905
Re: Beta Test / Technical

Hakan...
Yes, of course. You actually must do it on a PC, there is no way to build directly on the Android toy. And before you start investing effort into this, look at https://github.com/OpenCPN/OpenCPN/b...android/README - If it looks complicated, give up for now. If still not convinced, good luck.

Pavel
__________________

__________________
nohal is online now   Reply With Quote
Old 15-09-2015, 07:54   #1518
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Pavel...
re. "If still not convinced, good luck." --- You're so nice !!
When I received your humble answer I was actually reading the file referred to in your link. OK, I get the point - "give up for now"

The reason for all this is:
a) I have some own fixes to OCPN, mainly due to my dated Nav instrument not sending expected NMEA strings, and would like these also when running the tablet.
b) a maybe odd attitude to what's fun in this world.

The b) item would get me to try follow the "buildandroid" hints during a coming cold winter day(week)?

And Hubert, I saw that about 2015 as well.

Thanks
Håkan
__________________
Hakan is online now   Reply With Quote
Old 15-09-2015, 14:52   #1519
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: Beta Test / Technical

Quote:
Originally Posted by Hakan View Post
Pavel...
re. "If still not convinced, good luck." --- You're so nice !!
When I received your humble answer I was actually reading the file referred to in your link. OK, I get the point - "give up for now"

The reason for all this is:
a) I have some own fixes to OCPN, mainly due to my dated Nav instrument not sending expected NMEA strings, and would like these also when running the tablet.
b) a maybe odd attitude to what's fun in this world.

The b) item would get me to try follow the "buildandroid" hints during a coming cold winter day(week)?

And Hubert, I saw that about 2015 as well.

Thanks
Håkan
I think the biggest problems you will face are the hardcoded paths, and the undocumented steps. Also, don't forget to clone https://github.com/bdbcat/wxWidgets because it's a little diverged as well.

Maybe you should just post what specific problems you have. I kind of lost interest on building because I have no android device and it doesn't work in the emulator.
__________________
boat_alexandra is offline   Reply With Quote
Old 15-09-2015, 14:58   #1520
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: Beta Test / Technical

On second thought.. maybe I can build for x86 android as them I should get opengl and it will run much faster as well in the emulator.
__________________
boat_alexandra is offline   Reply With Quote
Old 16-09-2015, 02:06   #1521
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Dave...
Screen shot for FS1851 (Didn't find a method to attach a picture in Flyspray)
Håkan
Attached Thumbnails
Click image for larger version

Name:	This_leg.jpg
Views:	87
Size:	387.3 KB
ID:	109144  
__________________
Hakan is online now   Reply With Quote
Old 16-09-2015, 11:59   #1522
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Quote:
Originally Posted by boat_alexandra View Post
I think the biggest problems you will face are the hardcoded paths, and the undocumented steps. Also, don't forget to clone https://github.com/bdbcat/wxWidgets because it's a little diverged as well.

Maybe you should just post what specific problems you have. I kind of lost interest on building because I have no android device and it doesn't work in the emulator.
Sean..
Thanks for your comments. I'll revert when I'm ready to "struggle" with this.
As said, when winter arrives here and evenings get longer.

Håkan
__________________
Hakan is online now   Reply With Quote
Old 18-09-2015, 10:26   #1523
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Hi.
The thread for 4.1.915 is no longer there but anyhow:
Build error report VS210 and the new? mipmap:
Code 4.1.915 fetched today. Windows built VS2010.
(In VS2013 build was first also errors as "Couldn't link a mipmap....." But after rebuild it is OK there.)

These are the errors but could it be some linkage trouble here as well that VS2010 can't handle?

Code:
mipmap.c
..\src\mipmap\mipmap.c(166): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap.c(169): error C2065: 'nIds' : undeclared identifier
..\src\mipmap\mipmap.c(183): error C2065: 'nIds' : undeclared identifier
  mipmap_ssse3.c
..\src\mipmap\mipmap_ssse3.c(42): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap_ssse3.c(43): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap_ssse3.c(44): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap_ssse3.c(46): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap_ssse3.c(47): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap_ssse3.c(48): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap_ssse3.c(50): error C2143: syntax error : missing ';' before 'type'
..\src\mipmap\mipmap_ssse3.c(51): error C2065: 'y' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(51): error C2065: 'y' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(51): error C2065: 'newheight' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(51): error C2065: 'y' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(52): error C2065: 'x' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(52): error C2065: 'x' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(52): error C2065: 'newwidth' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(52): error C2065: 'x' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(58): error C2065: 't' : undeclared identifier
..\src\mipmap\mipmap_ssse3.c(58): warning C4022: 'memcpy' : pointer mismatch for actual parameter 2
..\src\mipmap\mipmap_ssse3.c(59): error C2065: 't'.
.
. A lot of similar ...........
.
..\src\mipmap\mipmap_ssse3.c(84): error C2275: '__m128i' : illegal use of this type as an expression
          c:\Program\Microsoft Visual Studio 10.0\VC\include\emmintrin.h(44) : see declaration of '__m128i'
..\src\mipmap\mipmap_ssse3.c(84): error C2146: syntax error : missing ';' before identifier 's0'
..\src\mipmap\mipmap_ssse3.c(84): error C2065: 's0' : undeclared identifier
.
. A lot of similar ...........
.
..\src\mipmap\mipmap_ssse3.c(84): error C2440: '=' : cannot convert from '__m128i' to 'int'
..\src\mipmap\mipmap_ssse3.c(85): error C2275: '__m128i' : illegal use of this type as an expression
          c:\Program\Microsoft Visual Studio 10.0\VC\include\emmintrin.h(44) : see declaration of '__m128i'
..\src\mipmap\mipmap_ssse3.c(85): error C2146: syntax error : missing ';' before identifier 's1'
.
. A lot of similar ...........
.
..\src\mipmap\mipmap_ssse3.c(96): fatal error C1003: error count exceeds 100; stopping compilation
Håkan
__________________
Hakan is online now   Reply With Quote
Old 18-09-2015, 10:57   #1524
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,515
Re: Beta Test / Technical

I have had a look into this mipmap stuff and decided not use it in any way.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 18-09-2015, 11:22   #1525
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Beta Test / Technical

Gerhard...

Any particular technical problem with the MMX intrinsic mipmap code? It is admittedly not yet well tested on Mac....

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 18-09-2015, 13:23   #1526
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,515
Re: Beta Test / Technical

Quote:
Originally Posted by bdbcat View Post
Gerhard...

Any particular technical problem with the MMX intrinsic mipmap code? It is admittedly not yet well tested on Mac....

Thanks
Dave
Dave,
I have had only a quick look at this code and guessed it is not needed for Mac OS X. So I don't have compiled it. Also I don't use any texture cache and such things which belongs more to small computers like Raspberry etc. My mind of these things might be affected by the endless attemps of OpenGL optimizations last year by a particular person. So I double check when something comes from this side again.

BTW I now use the new Xcode version 7.0 which shows new memory leaks not seen before but they are reasonable.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 18-09-2015, 14:44   #1527
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Beta Test / Technical

Gerhard...

Fair enough.

We will have the MMX code enabled for all platforms in the next Beta, which is planned for early next week. Then at least we can test and validate the concept widely, and decide if it makes sense.

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 18-09-2015, 21:53   #1528
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Win error report 2. Fetch 30 minutes ago.
VS2010 still has the same error in mipmap but now also the errors copied here.
VS20123 now has these errors:
Code:
------ Build started: Project: i18n, Configuration: Release Win32 ------
  i18n: Done.
------ Build started: Project: MIPMAP, Configuration: Release Win32 ------
  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
.....
.....
.....
  glChartCanvas.cpp
  glTexCache.cpp
C:\builds\OpenCPN\src\glTexCache.cpp(1975): error C2057: expected constant expression
C:\builds\OpenCPN\src\glTexCache.cpp(1975): error C2466: cannot allocate an array of constant size 0
C:\builds\OpenCPN\src\glTexCache.cpp(1975): error C2133: 'buf' : unknown size
  gshhs.cpp
  navutil.cpp
  options.cpp
  pluginmanager.cpp
C:\builds\OpenCPN\src\pluginmanager.cpp(4807): warning C4273: 'wxEVT_DOWNLOAD_EVENT' : inconsistent dll linkage
          c:\builds\opencpn\include\ocpn_plugin.h(1126) : see previous definition of 'wxEVT_DOWNLOAD_EVENT'
  viewport.cpp
....
....
....
========== Build: 12 succeeded, 1 failed, 8 up-to-date, 15 skipped ==========
Håkan
__________________
Hakan is online now   Reply With Quote
Old 18-09-2015, 22:08   #1529
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Beta Test / Technical

Hakan...

Fixed now in github.

Thanks for checking.
Dave
__________________
bdbcat is online now   Reply With Quote
Old 18-09-2015, 22:28   #1530
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Dave...
Thanks, now builds OK in VS2010 and VS2013 with reference to glTexCache.
But still the same mipmap errors in VS2010.
Håkan
__________________

__________________
Hakan is online now   Reply With Quote
Reply

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
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 14:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 16:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 05:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 15:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 17:25


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 08:23.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.