1

Closed

Parsing Files in Solution

description

Hello.

I thought i'd start a new thread, get some activity happening on this page. :)

Ok. So i've installed RxCpp via nuget into VS2012 in a Win32 Console App using .Net 4.5

Includes are fine, but when i go to use intellisense for the "rxcpp::from()->" VS2012 sits on "Parsing files in Solution" with file name of the main.cpp next to it.
typedef std::shared_ptr<rxcpp::Observable<int>>Input;

std::vector<Input> inputs(0);
Input merged;
for(int i=0;i<inputs.size();i++)
{
  if (!merged) {
    merged = rxcpp::CreateObservable<int>(inputs[i]);
  } else {
    merged = rxcpp::CreateObservable<int>(rxcpp::from(merged).merge(inputs[i]));
  }
}
I have also built from source using the CMake instructions for VS2012, Using the VS2011 compiler in CMake. When i opened the project in the vs2012 folder i got the error show in the attached image.

Also, once this project is built, how do i then include that in my project? The test bench project seems to have the main rx files in it's external dependencies filter. Anyway, i'm out of my depth here.

file attachments

Closed Apr 12, 2015 at 6:20 AM by kirkshoop

comments

MrDaniel wrote Feb 22, 2014 at 12:23 PM

Ok. So i went out to a chinese lantern festival and came home. It read Initialising 0 of 7. Watched a movie, then we're up to 0 of 9. As i write now it is 0 of 11. Am going to leave it overnight.... but it's a bit tricky to get this up and running. Unsure where i'm going wrong. Apologies for this.

MrDaniel wrote Feb 22, 2014 at 12:26 PM

Initializing Image.

MrDaniel wrote Feb 22, 2014 at 1:21 PM

0 of 13

kirkshoop wrote Feb 22, 2014 at 8:55 PM

Yes, Intellisense is not able to parse the current rxcpp.
Some of the changes in the v2 that I am working on will not only improve the syntax; no from() or observable() functions and no Binder, but will also avoid the issues with Intellisense.

Only the rxcpp_test and testbench projects have binaries that can be run, I expect that is why ALL_BUILD displayed that dialog.

However, the only reason to build rxcpp is to run the tests. Rxcpp is header only, so no build (other than your own binaries) is necessary when using it.

Thus, once you have the rxcpp nuget package added to your project you only have to

include "cpprx/rx.hpp"

Kirk

MrDaniel wrote Feb 22, 2014 at 11:50 PM

Ok. So are you saying 'just live with it' until v2? When i that estimated to be?

I don't want to sound like a bratty teenager with white people problem... as this is a wonderful project and as it matures it'll be great, however this is a bit difficult to move forward on my project until these issues can be worked around.

This i difficult. I will attempt to alter the rescan duration which may Hopefully i'll be able to work with my project and the new buffer functionality.

kirkshoop wrote Apr 12, 2015 at 6:20 AM

v2 has been out for a while, this issue should be fixed.