Please login or register.

Login with username, password and session length

News:

Registration is only required if you want to post, and is not needed to read any posts. To avoid excess 'spam' accounts, all accounts where no posts have been made will be deleted after two weeks. Please register again if you wish to post.

Recent Posts

Pages: [1] 2 3 ... 10
1
Bug reports / nema ip set to other than localhost
« Last post by vpelss on April 22, 2019, 03:21:57 PM »
When nema ip set to other than localhost (another IP on the same subnet) , Bridgecommand-bc performance is reduced, takes seconds to respond, etc...

Note: no nema receiver at destination IP. But I can't imagine that would make a difference.
2
There are a few issues here, which I'm trying to resolve:

Bridge Command is set up for 32 bit compilation only for Windows, but VS2017 defaults to the x64 configuration, which isn't set up. This gives the errors about finding irrlicht.h
I will manually remove the x64 configurations from the Visual Studio files, which should fix this.

Separately, I had hardcoded paths to items in the Windows SDK, which I am trying to resolve, but is non-trivial (different windows SDK versions put things in different places). I'll push the updates when complete.
3
Feature requests & suggestions / Re: AIS input and Google Earth?
« Last post by elir71 on April 05, 2019, 03:50:53 PM »
I wrote some experimental code to create AIS signals for ships ... which could be used as other ships, so that they would be visible to openCPN chart plotter.  The AIS transmissions use a 6 bit format. The code was very very bodgy and I am certain it could be done more elegantly. I will try to dig it out and post it
4
Development / Re: Compiling with Sound : Linux
« Last post by forum_admin on March 21, 2019, 10:23:57 PM »
The is my 'recipe' for building with sound, applicable for Linux and macOS:

Libsndfile:
Download and uncompress libsndfile-1.0.28.tar.gz from http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz
Create a folder for the output, referred to as <Somewhere> (Absolute path)
Change directory to where you've uncompressed libsndfile, then:
Code: [Select]
./configure --disable-shared --prefix=<Somewhere>
make
make install
cd <Somewhere>
cp -a lib <BridgeCommandSourceLocation>/libs/libsndfile/

Portaudio (Note for Linux compilation, remove the --disable-mac-universal option):
Download and uncompress pa_stable_v190600_20161030.tgz from http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz
Change directory to where you've uncompressed Portaudio, then:
Code: [Select]
./configure --disable-mac-universal --disable-shared --enable-static
make
cd lib/.libs/
cp * <BridgeCommandSourceLocation>/libs/portaudio/lib/

Bridge Command:
Change to where you have the Bridge Command source then
Code: [Select]
make -f MakefileWithSound
5
Development / Re: Bridge Command 5.4.1 + Visual Studio Community 2017
« Last post by forum_admin on March 21, 2019, 12:30:27 PM »
Hi,

I can't see a problem with ASIO - it shouldn't need the rest of boost, and ASIO_STANDALONE is defined.

I have separately commited a change that should avoid warnings/errors due to a common intermediate directory for the different projects.

Please could you ensure you have a full clean checkout, and try again, posting the exact error message that comes up if it is still a problem?

James
6
Development / Re: Software Modification Start
« Last post by forum_admin on March 21, 2019, 12:29:46 PM »
I've fixed the issue about multiple projects sharing the same output directory. (https://github.com/bridgecommand/bc/commit/df917d1a329af03756faea5d0def6b7398e7b081).

I can't see a problem with asio.h and irrlicht.h - they are included in the Git repository, and are included in the Visual Studio projects (in the External Dependencies section).

Please could you ensure you have a full clean checkout, and try again, posting the exact error message that comes up if it is still a problem?
7
Development / Re: Compiling with Sound : Linux
« Last post by forum_admin on March 21, 2019, 06:09:16 AM »
Yes, that is correct. I was actually hoping to set this up properly as my next task.
8
Development / Compiling with Sound : Linux
« Last post by vpelss on March 21, 2019, 02:53:48 AM »
Looking at the code briefly, it looks like I might need to download and compile the sound libraries separately. Would this be an accurate statement?

When I added #define WITH_SOUND, it said it couldn't find sndfile.h.

So before I went down a rabbit hole, I thought I would ask.
 
9
Development / Re: Software Modification Start
« Last post by forum_admin on March 15, 2019, 09:57:58 PM »
Hi, I missed this thread before. I build with VS Express 2015 on windows, so this should work without an issue, so I'll check my build setup for anything uncommitted. Boost should not be needed, as the ASIO_STANDALONE option is used, but if this isn't used, it indicates something isn't set up correctly.
10
Development / Re: Bridge Command 5.4.1 + Visual Studio Community 2017
« Last post by forum_admin on March 15, 2019, 09:37:52 PM »
Asio can be used as a standalone library, without all of the rest of boost, and it should be set up like this in Bridge Command (from memory with the ASIO_STANDALONE flag). I'm not sure why this is not working for you, I'll have a look over the next week.
Pages: [1] 2 3 ... 10