Skip to content

Instantly share code, notes, and snippets.

@vmlemon
Created April 29, 2011 23:52
Show Gist options
  • Select an option

  • Save vmlemon/949250 to your computer and use it in GitHub Desktop.

Select an option

Save vmlemon/949250 to your computer and use it in GitHub Desktop.
Setting up environment for Qt usage...
C:\Windows\system32>cd "C:\Users\Tyson Key\BitFutures"
C:\Users\Tyson Key\BitFutures>ls
MetaCoin TestCases ThirdParty Web
C:\Users\Tyson Key\BitFutures>cd TestCases
C:\Users\Tyson Key\BitFutures\TestCases>ls
BitCoinChartsAPI
C:\Users\Tyson Key\BitFutures\TestCases>cd BitCoinChartsAPI
C:\Users\Tyson Key\BitFutures\TestCases>cd ..
C:\Users\Tyson Key\BitFutures>cd ThirdParty
C:\Users\Tyson Key\BitFutures\ThirdParty>ls
qjson-0.7.1
C:\Users\Tyson Key\BitFutures\ThirdParty>cd qjson-0.7.1
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1>ls
qjson
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1>cd qjson
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson>ls
CMakeCache.txt CMakeLists.txt INSTALL README cmake lib tests
CMakeFiles COPYING QJson.pc.in build doc src
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson>cmake -G "MinGW Makef
iles" ..
CMake Error: The source directory "C:/Users/Tyson Key/BitFutures/ThirdParty/qjso
n-0.7.1" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson>ls
CMakeCache.txt CMakeLists.txt INSTALL README cmake lib tests
CMakeFiles COPYING QJson.pc.in build doc src
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson>cd src
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\src>ls
CMakeLists.txt location.hh position.hh serializer.h
json_parser.cc parser.cpp qjson_debug.h serializerrunnable.cpp
json_parser.hh parser.h qjson_export.h serializerrunnable.h
json_parser.yy parser_p.h qobjecthelper.cpp stack.hh
json_scanner.cpp parserrunnable.cpp qobjecthelper.h
json_scanner.h parserrunnable.h serializer.cpp
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\src>cmake -G "MinGW M
akefiles" ..
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\src>cd ..
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson>cd build
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>cmake -G "MinGW
Makefiles" ..
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeMin
GWFindMake.cmake:20 (MESSAGE):
sh.exe was found in your PATH, here:
C:/Cygwin/bin/sh.exe
For MinGW make to work correctly sh.exe must NOT be in your path.
Run cmake from a shell that does not have sh.exe in your PATH.
If you want to use a UNIX shell, then use MSYS Makefiles.
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:C:/Users/Tyson Key/BitFutures/Thir
dParty/qjson-0.7.1/qjson/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be
built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:C:/Users/Tyson Key/BitFutures/Thir
dParty/qjson-0.7.1/qjson/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>cmake -G "MSYS
Makefiles" ..
CMake Error: Error: generator : MSYS Makefiles
Does not match the generator used previously: MinGW Makefiles
Either remove the CMakeCache.txt file or choose a different binary directory.
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>ls
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>dir ..
Volume in drive C has no label.
Volume Serial Number is 46A7-9246
Directory of C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson
30/04/2011 12:40 am <DIR> .
30/04/2011 12:40 am <DIR> ..
30/04/2011 12:36 am <DIR> build
29/04/2011 11:13 pm <DIR> cmake
30/04/2011 12:40 am 2,776 CMakeCache.txt
30/04/2011 12:36 am <DIR> CMakeFiles
04/12/2009 01:02 am 2,698 CMakeLists.txt
04/12/2009 01:02 am 26,436 COPYING
29/04/2011 11:13 pm <DIR> doc
04/12/2009 01:02 am 332 INSTALL
29/04/2011 11:13 pm <DIR> lib
04/12/2009 01:02 am 357 QJson.pc.in
04/12/2009 01:02 am 929 README
29/04/2011 11:13 pm <DIR> src
29/04/2011 11:13 pm <DIR> tests
6 File(s) 33,528 bytes
9 Dir(s) 145,790,672,896 bytes free
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>rm ..\CMakeCach
e.txt
cygwin warning:
MS-DOS style path detected: /cygdrive/c/Users/Tyson Key/BitFutures/ThirdParty/
qjson-0.7.1/qjson/build/..\CMakeCache.txt
Preferred POSIX equivalent is: /cygdrive/c/Users/Tyson Key/BitFutures/ThirdPar
ty/qjson-0.7.1/qjson/build/../CMakeCache.txt
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>cmake -G "MSYS
Makefiles" ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/QtSDK/mingw/bin/gcc.exe
-- Check for working C compiler: C:/QtSDK/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile: 'C:/Users/Tyson Key/BitFutures/ThirdParty/qjson-0.7.1/qjson/build/
CMakeFiles/CMakeDetermineCompilerABI_C.bin'
Unable to find executable for try_compile: tried "C:/Users/Tyson Key/BitFutures/
ThirdParty/qjson-0.7.1/qjson/build/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and
"C:/Users/Tyson Key/BitFutures/ThirdParty/qjson-0.7.1/qjson/build/CMakeFiles/CM
akeTmp/Debug/cmTryCompileExec.exe" and "C:/Users/Tyson Key/BitFutures/ThirdParty
/qjson-0.7.1/qjson/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".
-- Detecting C compiler ABI info - done
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDet
ermineCompilerABI.cmake:40 (FILE):
file STRINGS file "C:/Users/Tyson
Key/BitFutures/ThirdParty/qjson-0.7.1/qjson/build/CMakeFiles/CMakeDetermineCom
pilerABI_C.bin"
cannot be read.
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cm
ake:71 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:1 (PROJECT)
-- Check for working CXX compiler: C:/QtSDK/mingw/bin/g++.exe
-- Check for working CXX compiler: C:/QtSDK/mingw/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
CMake Error: Could not COPY_FILE.
OutputFile: ''
copyFile: 'C:/Users/Tyson Key/BitFutures/ThirdParty/qjson-0.7.1/qjson/build/
CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'
Unable to find executable for try_compile: tried "C:/Users/Tyson Key/BitFutures/
ThirdParty/qjson-0.7.1/qjson/build/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and
"C:/Users/Tyson Key/BitFutures/ThirdParty/qjson-0.7.1/qjson/build/CMakeFiles/CM
akeTmp/Debug/cmTryCompileExec.exe" and "C:/Users/Tyson Key/BitFutures/ThirdParty
/qjson-0.7.1/qjson/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".
-- Detecting CXX compiler ABI info - done
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDet
ermineCompilerABI.cmake:40 (FILE):
file STRINGS file "C:/Users/Tyson
Key/BitFutures/ThirdParty/qjson-0.7.1/qjson/build/CMakeFiles/CMakeDetermineCom
pilerABI_CXX.bin"
cannot be read.
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.
cmake:64 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:1 (PROJECT)
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.7.1 (using C:/QtSDK/Desktop/Qt/4.7.1/mingw/bin/qmake.exe)
-- Configuring incomplete, errors occurred!
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>ls
CMakeCache.txt CMakeFiles cmake src
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>make
C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\tools\make.exe: *** No targets s
pecified and no makefile found. Stop.
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>ls cmake
modules
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>ls cmake
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>dir
Volume in drive C has no label.
Volume Serial Number is 46A7-9246
Directory of C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build
30/04/2011 12:40 am <DIR> .
30/04/2011 12:40 am <DIR> ..
30/04/2011 12:40 am <DIR> cmake
30/04/2011 12:40 am 42,718 CMakeCache.txt
30/04/2011 12:40 am <DIR> CMakeFiles
30/04/2011 12:40 am <DIR> src
1 File(s) 42,718 bytes
5 Dir(s) 145,789,935,616 bytes free
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>ls *
CMakeCache.txt
CMakeFiles:
CMakeCCompiler.cmake CMakeOutput.log CMakeTmp CompilerIdCXX
CMakeCXXCompiler.cmake CMakeSystem.cmake CompilerIdC cmake.check_cache
cmake:
modules
src:
CMakeFiles moc_serializerrunnable.cxx_parameters
moc_parserrunnable.cxx_parameters
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>ls *\*
ls: cannot access **: No such file or directory
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson\build>cd ..
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson>ls
CMakeFiles COPYING QJson.pc.in build doc src
CMakeLists.txt INSTALL README cmake lib tests
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1\qjson>cd ..
C:\Users\Tyson Key\BitFutures\ThirdParty\qjson-0.7.1>cd ..
C:\Users\Tyson Key\BitFutures\ThirdParty>cd ..
C:\Users\Tyson Key\BitFutures>git commit
'git' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Tyson Key\BitFutures>notepad .gitignore
C:\Users\Tyson Key\BitFutures>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment