Hi,

 

I am getting below error while compiling the tigervnc code using cmake

 

Cmake version- 2.8

MinGW - latest Version, downloaded from MinGW website

Set the environment variable- %PATH%;C:\Program Files\CMake
2.8\bin;C:\MinGW\bin

Set the environment variable as LIB and INCLUDE after went through the
below mailing chain

http://www.mail-archive.com/cmake@cmake.org/msg13930.html

But not sure what to set. I tried to set LIB and INCLUDE as MinGW binary
path.

 

Do I am missing anything else here.

Could you please help me on this. It is very urgent .

 

 

c:\tigervnc-1.2.0>cmake -G "MSYS Makefiles" c:\tigervnc-1.2.0\build

-- The C compiler identification is GNU 4.7.0

-- The CXX compiler identification is GNU 4.7.0

-- Check for working C compiler: /MinGW/bin/gcc.exe

-- Check for working C compiler: /MinGW/bin/gcc.exe -- broken

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCComp

iler.cmake:52 (MESSAGE):

  The C compiler "/MinGW/bin/gcc.exe" is not able to compile a simple
test

  program.

 

  It fails with the following output:

 

   Change Dir: c:/tigervnc-1.2.0/build/CMakeFiles/CMakeTmp

 

 

 

  Run Build Command:C:/msys/1.0/bin/make.exe
"cmTryCompileExec853546954/fast"

 

  /usr/bin/make -f CMakeFiles/cmTryCompileExec853546954.dir/build.make

  CMakeFiles/cmTryCompileExec853546954.dir/build

 

  make[1]: Entering directory
`/c/tigervnc-1.2.0/build/CMakeFiles/CMakeTmp'

 

  "/C/Program Files/CMake 2.8/bin/cmake.exe" -E cmake_progress_report

  /c/tigervnc-1.2.0/build/CMakeFiles/CMakeTmp/CMakeFiles 1

 

  Building C object

  CMakeFiles/cmTryCompileExec853546954.dir/testCCompiler.c.obj

 

  /MinGW/bin/gcc.exe -o

  CMakeFiles/cmTryCompileExec853546954.dir/testCCompiler.c.obj -c

  /c/tigervnc-1.2.0/build/CMakeFiles/CMakeTmp/testCCompiler.c

 

  /bin/sh: /MinGW/bin/gcc.exe: No such file or directory

 

  make[1]: ***
[CMakeFiles/cmTryCompileExec853546954.dir/testCCompiler.c.obj]

  Error 127

 

  make[1]: Leaving directory
`/c/tigervnc-1.2.0/build/CMakeFiles/CMakeTmp'

 

  make: *** [cmTryCompileExec853546954/fast] Error 2

 

 

 

 

 

  CMake will not be able to correctly generate this project.

 

I am looking for the solution from last 3 days.NO LUCK L

Thanks,

Sumita

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to