Open debjan opened 12 years ago
Hi debjan, it's developed on OSX but compiles and works perfectly in Ubuntu. I do not have a window box, could you try to build it with Cygwin and give some feedback, please?
I'm reading (http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#windows_netcdf4_1) it is possible to build netCDF with Cygwin, so it has to be also possible to build ncdump-json.
Best
Hi jllodra, thanks for your reply
I use cygwin ports, and libnetcdf-devel (4.2.1) is available. However I've never seen this kind of cmake XML project files and I can't be of much help then just paste CMakeError.log
here:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /usr/bin/gcc.exe
Build flags:
Id flags:
The output was:
1
CMakeCCompilerId.c:1:0: fatal error: can’t open /tmp/cc3kbwEL.s for writing: No such file or directory
compilation terminated.
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /usr/bin/gcc.exe
Build flags:
Id flags: -c
The output was:
1
CMakeCCompilerId.c:1:0: fatal error: can’t open /tmp/cczsFJ1E.s for writing: No such file or directory
compilation terminated.
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /usr/bin/gcc.exe
Build flags:
Id flags: -Aa
The output was:
1
CMakeCCompilerId.c:1:0: fatal error: can’t open /tmp/ccT1Oq9v.s for writing: No such file or directory
compilation terminated.
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/c++.exe
Build flags:
Id flags:
The output was:
1
CMakeCXXCompilerId.cpp:1:0: fatal error: can’t open /tmp/ccUdrLHe.s for writing: No such file or directory
compilation terminated.
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/c++.exe
Build flags:
Id flags: -c
The output was:
1
CMakeCXXCompilerId.cpp:1:0: fatal error: can’t open /tmp/ccgO08Jw.s for writing: No such file or directory
compilation terminated.
Determining if the C compiler works failed with the following output:
Change Dir: /home/debjan/jllodra-ncdump-json-ec7ea07/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make.exe "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/home/debjan/jllodra-ncdump-json-ec7ea07/CMakeFiles/CMakeTmp'
/usr/bin/cmake.exe -E cmake_progress_report /home/debjan/jllodra-ncdump-json-ec7ea07/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/bin/gcc.exe -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /home/debjan/jllodra-ncdump-json-ec7ea07/CMakeFiles/CMakeTmp/testCCompiler.c
CMakeFiles/cmTryCompileExec.dir/build.make:57: recipe for target `CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o' failed
cc1: fatal error: /home/debjan/jllodra-ncdump-json-ec7ea07/CMakeFiles/CMakeTmp/testCCompiler.c: No such file or directory
compilation terminated.
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o] Error make[1]: Leaving directory `/home/debjan/jllodra-ncdump-json-ec7ea07/CMakeFiles/CMakeTmp'
Makefile:114: recipe for target `cmTryCompileExec/fast' failed
1
make: *** [cmTryCompileExec/fast] Error 2
If you have any ideas, please tell Cheers
Not sure, but it seems like it's developed on OSX.
Is it tested on other platforms? Can make process be more liberal and allow building under Cygwin?
Thanks