[CMake] CMake, MKS and VC++

ankit jain ankitguddu at gmail.com
Thu May 7 01:06:01 EDT 2009


2009/5/7 Philip Lowman <philip at yhbt.com>

> You probably are missing some build flags or libraries in the CMakeLists
> that are in the old build system.  Try comparing the VC projects generated
> by CMake and looking at the compile & link lines vs. your other build
> system.  You'll inevitably find a difference between the two if you're using
> the same compiler and dependencies.
>

Problem here is that iam using VC++ compiler cl and there in old build
system they use MKS toolkit cxx compiler.. and i dont know how can i use cxx
compiler from VC++.
and i think it cant be done..

ankit

>
>
> On Tue, May 5, 2009 at 8:29 AM, ankit jain <ankitguddu at gmail.com> wrote:
>
>> Hi all,
>>
>> I build me code without cmake through mks on windows... it is successful..
>> Now i want to build my code through cmake on mks for windows. The project
>> is compiling but like other OS's it is not generating Makefile so on doing
>> make it says error: Make no target...
>>
>> So guide me how to proceed..
>>
>> I also tried with VC++ directly to build the code but it seems to give
>> lots of error since i feel it have problem with nutcracker which i used in
>> code for windows and also i think not able to link some DLL but not sure
>> since on mks i compile with one definition as -D__NUTC_DLL__ ... It is
>> because VC++ uses cl compiler not cxx compiler of mks..
>>
>> This is what i think but iam not sure of anything...
>>
>> You people guide the right way that helps me in building the code using
>> cmake with mks through VC++...
>> Also if any settings are required for VC++ tell me so that i configure
>> that acc.
>> I struggled a lot with VC++ for building code thorugh cmake.
>>  My code is configured properly but on running it gives lots of error...
>>
>>  Any help in this regard really helps me a lot..
>>
>> Regards-
>> Ankit Jain
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
>
>
> --
> Philip Lowman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090507/3d073db8/attachment-0001.htm>


More information about the CMake mailing list