[Paraview-developers] [vtk-developers] -* Plugin compilation for paraview *- (help)

Mathieu Westphal mathieu.westphal at kitware.com
Wed Jun 6 03:49:04 EDT 2018


Hello

Please keep the list in the discussion so everyone can contribute.

Did you run cmake-gui from the *VS2015 x64 Native Tools Command Prompt *?

You need to type "cmake-gui" in it instead of using the start menu.



Mathieu Westphal

On Tue, Jun 5, 2018 at 6:45 PM, william serviant <wil_serv at hotmail.com>
wrote:

> Hi,
>
> Thank you for the fast answer,
>
>
>
> I have erros when configuring with cmake :
>
>
>
> CMake Error: CMake was unable to find a build program corresponding to
> "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a
> different build tool.
>
> CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
>
> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
>
>
>
> Do you know how to correct this ?
>
>
>
>
> ------------------------------
> *De :* Mathieu Westphal <mathieu.westphal at kitware.com>
> *Envoyé :* Monday, June 4, 2018 3:38:24 PM
> *À :* wil1; ParaView Developers
> *Objet :* Re: [vtk-developers] -* Plugin compilation for paraview *-
> (help)
>
> Hi wil1, Hi ParaView dev list
>
> As stated before, you should post on the right mailing list.
> First, paraview officially support visual studio 2013, not 2015, but this
> should work the same :
>
> Here is a quick tutorial on how to build a Plugin with Ninja on windows.
> please do the following :
>
>  - Install Ninja https://ninja-build.org/
>  - Cleanup your plugin build directory
>  - Open a VS2015 x64 Native Tools Command Prompt
>  - in the terminal :
>        cd /path/to/your/build/dir
>        cmake-gui
>  - in cmake-gui, configure you project but instead of "Visual Studio 14
> 2015", select "Ninja"
>  - configure, find the ParaViewDir, generate
>  - close cmake-gui
> - in the terminal :
>         ninja
>
> you now have a libYouPlugin.dll file in the build directory.
>
> Best regards.
>
>
>
>
> Mathieu Westphal
>
> On Mon, Jun 4, 2018 at 3:30 PM, wil1 <wil_serv at hotmail.com> wrote:
>
>> Can you explain me the full procedure of building a plugin with ninja ?
>>
>> I downloaded the git repository : git clone
>> git://github.com/ninja-build/ninja.git
>> Cmake doesn't recognise ninja
>>
>>
>>
>>
>> --
>> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview-developers/attachments/20180606/f0399405/attachment.html>


More information about the Paraview-developers mailing list