Libadblockplus solution doesn't compile in VS2012

Various discussions related to Adblock Plus development
Post Reply
cat2jackson
Posts: 2
Joined: Fri May 15, 2015 9:17 pm

Libadblockplus solution doesn't compile in VS2012

Post by cat2jackson »

Hi, Everyone,

I am pretty new to libabblockplus, so I'd appreciate any assistance you could render. Thank you in advance.

What I am trying to do now is build the libadblock solution (libadblockplus.sln) (I have generated it after having seemly correctly installed python), and I am getting multiple (hundreds) compilation errors like:

1) Error 3085 error C2054: expected '(' to follow 'using' ;

code line: using _CSTD _Mbstatet;

2) Error 22649 error C2061: syntax error : identifier 'memcmp' ;

code line: using _CSTD size_t; using _CSTD memchr; using _CSTD memcmp;

3) Error 15168 error C2085: 'CheckEqualsHelper' : not in formal parameter list;

code:

inline void CheckEqualsHelper(const char* file, int line,
const char* expected_source,
int64_t expected,
const char* value_source,
int64_t value) {

....
and so on and so forth.

The majority of errors occur in v8_base project.

Could you please help me figure out what I am doing wrong and whether I have to use a different compiler/or fine-tune the VS2012 compiler accordingly? Is the project using some alternative C++ standard?

Thanks a lot for your help in advance.

Regards,
Dmitry.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Libadblockplus solution doesn't compile in VS2012

Post by mapx »

I'm not a dev but I can read this:
en/source#build
Build instructions
Most of our repositories have README.md files with build instructions, please refer to those.
read this README:
https://hg.adblockplus.org/libadblockpl ... /README.md

or try contacting some developer on their irc channel
blog/adblock-plus-development-irc-channel-is-now-open
cat2jackson
Posts: 2
Joined: Fri May 15, 2015 9:17 pm

Re: Libadblockplus solution doesn't compile in VS2012

Post by cat2jackson »

Thanks a lot for your reply! Will follow your advice.
Post Reply