Skip to content

Instantly share code, notes, and snippets.

@kyleconroy
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyleconroy/1328b26711650f25619e to your computer and use it in GitHub Desktop.
Save kyleconroy/1328b26711650f25619e to your computer and use it in GitHub Desktop.
OpenRCT2 Notes
$ bash build.sh
~/projects/OpenRCT2/build ~/projects/OpenRCT2
-- The C compiler identification is GNU 4.8.0
-- The CXX compiler identification is GNU 4.8.0
-- Check for working C compiler: /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc
-- Check for working C compiler: /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc -- broken
CMake Error at /usr/local/Cellar/cmake/2.8.12/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec2011607121/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTryCompileExec2011607121.dir/build.make
CMakeFiles/cmTryCompileExec2011607121.dir/build
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report
/Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec2011607121.dir/testCCompiler.c.obj
/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc
-masm=intel -std=gnu99 -fpack-struct=2
@CMakeFiles/cmTryCompileExec2011607121.dir/includes_C.rsp -o
CMakeFiles/cmTryCompileExec2011607121.dir/testCCompiler.c.obj -c
/Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2011607121.exe
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec2011607121.dir/link.txt --verbose=1
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E remove -f
CMakeFiles/cmTryCompileExec2011607121.dir/objects.a
/usr/bin/ar cr CMakeFiles/cmTryCompileExec2011607121.dir/objects.a
@CMakeFiles/cmTryCompileExec2011607121.dir/objects1.rsp
ar: @CMakeFiles/cmTryCompileExec2011607121.dir/objects1.rsp: No such file
or directory
make[1]: *** [cmTryCompileExec2011607121.exe] Error 1
make: *** [cmTryCompileExec2011607121/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:24 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeOutput.log".
See also "/Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeError.log".
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags:
The output was:
No such file or directory
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags: -c
The output was:
No such file or directory
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags: -Aa
The output was:
No such file or directory
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: i586-mingw32-c++
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: i586-mingw32-c++
Build flags:
Id flags: -c
The output was:
No such file or directory
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Determining if the C compiler works failed with the following output:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags:
The output was:
No such file or directory
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags: -c
The output was:
No such file or directory
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags: -Aa
The output was:
No such file or directory
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: i586-mingw32-c++
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: i586-mingw32-c++
Build flags:
Id flags: -c
The output was:
No such file or directory
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Determining if the C compiler works failed with the following output:
Determining if the C compiler works failed with the following output:
Change Dir: /Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec2011607121/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2011607121.dir/build.make CMakeFiles/cmTryCompileExec2011607121.dir/build
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2011607121.dir/testCCompiler.c.obj
/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc -masm=intel -std=gnu99 -fpack-struct=2 @CMakeFiles/cmTryCompileExec2011607121.dir/includes_C.rsp -o CMakeFiles/cmTryCompileExec2011607121.dir/testCCompiler.c.obj -c /Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2011607121.exe
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2011607121.dir/link.txt --verbose=1
/usr/local/Cellar/cmake/2.8.12/bin/cmake -E remove -f CMakeFiles/cmTryCompileExec2011607121.dir/objects.a
/usr/bin/ar cr CMakeFiles/cmTryCompileExec2011607121.dir/objects.a @CMakeFiles/cmTryCompileExec2011607121.dir/objects1.rsp
ar: @CMakeFiles/cmTryCompileExec2011607121.dir/objects1.rsp: No such file or directory
make[1]: *** [cmTryCompileExec2011607121.exe] Error 1
make: *** [cmTryCompileExec2011607121/fast] Error 2
Determining if the C compiler works failed with the following output:
Change Dir: /Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec2444679262/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2444679262.dir/build.make CMakeFiles/cmTryCompileExec2444679262.dir/build
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2444679262.dir/testCCompiler.c.obj
/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc -masm=intel -std=gnu99 -fpack-struct=2 @CMakeFiles/cmTryCompileExec2444679262.dir/includes_C.rsp -o CMakeFiles/cmTryCompileExec2444679262.dir/testCCompiler.c.obj -c /Users/kyle/projects/OpenRCT2/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2444679262.exe
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2444679262.dir/link.txt --verbose=1
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E remove -f CMakeFiles/cmTryCompileExec2444679262.dir/objects.a
/usr/bin/ar cr CMakeFiles/cmTryCompileExec2444679262.dir/objects.a @CMakeFiles/cmTryCompileExec2444679262.dir/objects1.rsp
ar: @CMakeFiles/cmTryCompileExec2444679262.dir/objects1.rsp: No such file or directory
make[1]: *** [cmTryCompileExec2444679262.exe] Error 1
make: *** [cmTryCompileExec2444679262/fast] Error 2
The target system is: Windows - -
The host system is: Darwin - 13.2.0 - i386
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"
The C compiler identification is GNU, found in "/Users/kyle/projects/OpenRCT2/build/CMakeFiles/2.8.12/CompilerIdC/a.exe"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe"
The CXX compiler identification is GNU, found in "/Users/kyle/projects/OpenRCT2/build/CMakeFiles/2.8.12/CompilerIdCXX/a.exe"
The target system is: Windows - -
The host system is: Darwin - 13.2.0 - i386
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc
Build flags: -masm=intel;-std=gnu99;-fpack-struct=2
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"
The C compiler identification is GNU, found in "/Users/kyle/projects/OpenRCT2/build/CMakeFiles/2.8.12.2/CompilerIdC/a.exe"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe"
The CXX compiler identification is GNU, found in "/Users/kyle/projects/OpenRCT2/build/CMakeFiles/2.8.12.2/CompilerIdCXX/a.exe"
> bash install.sh
My formulas were out of date
brew update
I had to reinstall two libraries because they weren't compiled
with universal support
brew uninstall libtool jpeg
brew install libtool jpeg --universal
The script is set to exit on errors. Brew install will error if
a package is already installed. So the script needs to check if
the package is already installed
brew install cmake wine
wine: created the configuration directory '/Users/kyle/.wine'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyAddrChange (Handle 0x120f550, overlapped 0x120f55c): stub
wine: configuration in '/Users/kyle/.wine' has been updated.
err:module:import_dll Library openrct2.dll (which is needed by L"Z:\\Users\\kyle\\projects\\OpenRCT2\\openrct2.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\Users\\kyle\\projects\\OpenRCT2\\openrct2.exe" failed, status c0000135
wine openrct2.exe
Starting OpenRCT2 v0.0.1
Windows (x86)
Jun 3 2014 22:27:12
Time: 2014/06/03 22:32:07
err:ole:CoGetClassObject class {5a508685-a254-4fba-9b82-9a24b00306af} not registered
err:ole:CoGetClassObject no class object {5a508685-a254-4fba-9b82-9a24b00306af} could be created for context 0x1
err:seh:setup_exception_record nested exception on signal stack in thread 0027 eip 7bc5c1c0 esp 7ffcfba0 stack 0x232000-0x330000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment