Skulltrail192 / One-Core-Api-Source

A complete layer to get compatibility on XP/2003 for newer applications
http://shorthornproject.com
GNU General Public License v2.0
515 stars 40 forks source link

Need help to compile #36

Closed cesar300 closed 1 year ago

cesar300 commented 3 years ago

I want to compile this and I have a few problems:

cesar300 commented 3 years ago

I tried to use make, but I got this error:

[ 2%] Linking C executable freeldr_pe.exe [ 2%] Built target freeldr_pe Scanning dependencies of target setupldr [ 2%] Generating frldr16.bin.o [ 2%] Generating frldr16.bin [ 2%] Generating setupldr.sys mingw32-make.exe[2]: [boot\freeldr\freeldr\CMakeFiles\setupldr.dir\build.mak e:81: boot/freeldr/freeldr/setupldr.sys] Error 1 mingw32-make.exe[1]: [CMakeFiles\Makefile2:32028: boot/freeldr/freeldr/CMake Files/setupldr.dir/all] Error 2 mingw32-make.exe: *** [makefile:103: all] Error 2

Total Build Time: 00:05:43

Any help?

wangwenx190 commented 3 years ago

I'm using the latest version of VS2019 but I also failed to build this project. When building this project, many subprojects can't be compiled and I got many compilation errors such as "can't define internal function", "can't recognize XXX". And it's only reliable to using the makefile generator and msbuild generator, other generators such as ninja will fail very quick at the beginning of compilation. I've tried many times of differrent build configurations, I even tried the ReactOS BE, but no one can build successfully. I think the repo owner really should provide a compilation instruction.

wangwenx190 commented 3 years ago

MSVC doesn't compile, so I tried different builds of MinGW, but the result is the same, all compilers can't build this project successfully

Skulltrail192 commented 2 years ago

Hello, try again. I use VS Studio 2012.

Svyatpro commented 2 years ago
  1. Use RosBE 2.1.6 not newer.
  2. Use MSVC 2012 (2010 and others may work too)
  3. Use "configure VSSolution" to build solution
  4. Compile wrappers using solution (Debug only)
Skulltrail192 commented 1 year ago
  1. Use RosBE 2.1.6 not newer.

    1. Use MSVC 2012 (2010 and others may work too)

    2. Use "configure VSSolution" to build solution

    3. Compile wrappers using solution (Debug only)

Thanks my friend, now, this will closed.