Skip to content

Building X86 on Windows 7 X64 #6

@Janhouse

Description

@Janhouse

Basically I got warnings messages "warning LNK4068: /MACHINE not specified" that made it default to X64 and thus error and failed compilation.
I fixed it by quickly modifying generated pdfium.vcxproj and adding /MACHINE:X86 by hand to

<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
   <ClCompile>
      <AdditionalOptions>/MACHINE:X86 /MP %(AdditionalOptions)</AdditionalOptions>

and to

<Lib>
      <AdditionalOptions>/MACHINE:X86 /LTCG %(AdditionalOptions)</AdditionalOptions>

It should instead probably be done in pdfium.gyp, so if you want to, you can fix it. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions