"Build Environment" page feedback - SP1 needed for MSVC 2010

All development related issues welcome

Moderator: Moderator Team

Post Reply
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

"Build Environment" page feedback - SP1 needed for MSVC 2010

Post by Black_Fox »

I had problems calling "configure VSSolution" because detecting C compiler with freshyl installed MSVC 2010 would fail with "fatal error LNK1123: failure during conversion to COFF". I googled that MSVC 2010 has a bug and one possible solution is to apply SP1 to it. That fixed the issue for me immediatelly. Could you please add to that guide that "MSVC 2010 SP1" has to be used?
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

Re: "Build Environment" page feedback - SP1 needed for MSVC

Post by Black_Fox »

The page Build Environment will need more changes, it seems. As I was told by Amine, there are not so many differences between MinGW and MSVC build right now.
To build with MSVC:
- Have CMake Amine Edition installed and its bin added to PATH
- Have RosBE installed and its bin added to PATH
- Run MSVC command prompt
- Run pathtocheckout/configure (NOT with VSSolution)
- follow the MinGW procedure (cd host-tools && ninja; cd ../reactos && ninja; ninja bootcd)

I'll create a JIRA issue later if nobody gets to it until then.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: "Build Environment" page feedback - SP1 needed for MSVC

Post by hbelusca »

Black_Fox wrote:To build with MSVC:
- Have CMake Amine Edition installed and its bin added to PATH
- Have RosBE installed and its bin added to PATH
In fact for MSVC, if you don't want to install the full RosBE since at the end you'll end up using only CMake and ninja (and VC of course), you can just install CMake and ninja (and add its bin path added to PATH ofc) via http://svn.reactos.org/amine/CMake_ninja.7z
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

Re: "Build Environment" page feedback - SP1 needed for MSVC

Post by Black_Fox »

OK, that's pretty cool! I'll try it out later, thanks.
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: "Build Environment" page feedback - SP1 needed for MSVC

Post by Z98 »

We had a custom CMake for a while, were all our changes rolled into the mainline?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests