Hello Vincenzo,

I saw you already contacted the CMake mailing list about the problem,
and I think you are right about that. Borland C++ does seem to be
supported by CMake, but I am not sure the combination Borland C++ and
CVF is. (I have no experience myself with Borland - or at least not
in any recent years.)

Can you use a different C compiler? You might want to try the GNU
range of compilers under MinGW, as that combination does work properly.

It is - in principle - possible to make this combination work,
especially as we use DLLs and shared libraries in PLplot to combine
different programming languages. But for that we need to know a bunch
of things about naming and calling conventions. Before going that
route it may be wise to wait for any reactions from the CMake
list.

Regards,

Arjen


On 2010-03-05 19:00, Vincenzo Urso Miano wrote:
> Hello,
> as per object I am trying to do this build. It's the fist time I am
> compiling some libraries.
> Details:
> 
> -Windows XP
> -compaq visual fortran 6.6c
> -to build plplot I am using Bcc, the c++ compiler from borland (I am
> not sure I should use this).
> -cmake 2.8
> 
> The problem:
> -the first time i click on 'configure' cmake looks for a c compiler.
> Does not find it.
> -I change the value of CMAKE_C_COMPILER to the path of bcc32.exe and
> reclick on 'configure'
> 
> Here is the error message i get:
> ---------------------------------------------------------
> CMake Error: Generator: execution of make failed. Make command was:
> make "cmTryCompileExec\fast"
> Check for working C compiler: C:/Borland/BCC55/Bin/bcc32.exe -- broken
> CMake Error at C:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:50 (MESSAGE):
>   The C compiler "C:/Borland/BCC55/Bin/bcc32.exe" is not able to compile a
>   simple test program.
> 
>   It fails with the following output:
> 
>    Change Dir: E:/Workspace/plplot_build/CMakeFiles/CMakeTmp
> 
>   Run Build Command:make "cmTryCompileExec\fast"
> 
>   The system cannot find the file specified
> 
>   Generator: execution of make failed.  Make command was: make
>   "cmTryCompileExec\fast"
> 
>   CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>   CMakeLists.txt:38 (project)
> 
> Configuring incomplete, errors occurred!
> ----------------------------------------------------------------------------
> 
> Can you please help me? I don't know how to progress from here.
> 
> Thanks
> 
> Vince
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Plplot-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plplot-general
> 

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to