videodv
New Member
Posts: 7
Posts: 7
|
Post by videodv on Jul 11, 2015 16:30:20 GMT 1
Hi Rob I have installed and followed your instructions for setting up and compiling the "Gain" example and come up with the following errors any idea why/what do I do to correct. Regards Chris. 
|
|
|
Post by Rob on Jul 12, 2015 7:19:55 GMT 1
Hi Chris,
Can you post the project? I'll have a look.
Cheers,
Rob
|
|
videodv
New Member
Posts: 7
Posts: 7
|
Post by videodv on Jul 12, 2015 18:02:40 GMT 1
I followed your instructions about setting up Code Blocks and used the "Gain" example from the se_sdk3 files as is so not sure why it is showing these problems. I will upload if you wish.
I am getting back into c++ programming after a long lay off so going back to basics to re-start my explorations with c++ coding.
So hopefully I will be able to sort these sorts of issues out my self soon.
Regards Chris.
|
|
|
Post by Rob on Jul 12, 2015 18:35:52 GMT 1
Did you add something to the GAIN example? I can't see in your screenshot which lines and files give these warnings, a new screenshot showing that would also be ok.
|
|
videodv
New Member
Posts: 7
Posts: 7
|
Post by videodv on Jul 13, 2015 14:45:38 GMT 1
Hi Rob
Sorry for the delay, I have been tinkering I have added an extra output pin for these tests (I had not done that previously)
In Visual Studio 2013 CE I can compile to 32bit ok this works in se 1.1 with two output pins. When I compile to 64bit I get the following error
mp_skd_audio.h(407) warning C4267 argment: conversion from "size_t" to "int", possible loss of data
In Code Base
I can compile both the 32bit and 64bit with out errors It works as expected in se 1.1 with two output pins but in 1.2 it only has one output pin?
Regards Chris.
|
|
|
Post by Rob on Jul 13, 2015 15:06:35 GMT 1
Hi Chris,
Again, I need more information to be able to help out.. Please post the source code so I can compile it as well.
|
|
videodv
New Member
Posts: 7
Posts: 7
|
Post by videodv on Jul 13, 2015 15:24:33 GMT 1
Hi Rob Here ya go this is the one I have been using linkRegards Chris.
|
|
|
Post by Rob on Jul 13, 2015 19:01:40 GMT 1
Hi Chris, Your project was a mess, and it seems you were trying Codeblocks and Visual C++. I removed most and the useless .dll file, and created a new Codeblocks project with your files. Removed the unused output 2, and then compiled it.. worked fine ( no errors ). I also have Visual C++, but never use it. If you really need that, it will take a while for me to get that working. rhmodules.nl/temp/Gain3.zipHope this helps.
|
|
videodv
New Member
Posts: 7
Posts: 7
|
Post by videodv on Jul 14, 2015 15:43:53 GMT 1
Hi Rob
Thanks for taking a look I can now see where I was going wrong, I have now setup the Templates so good to go (I hope)
Once again Many Thanks Rob.
Cheers Chris.
|
|
|
Post by Rob on Jul 14, 2015 18:22:55 GMT 1
Hi Chris, Ok, good luck building modules.  I also use templates, have one for DSP and one for Subcontrols. Cheers, Rob.
|
|