Hi,
I'm trying to compile Texgen but i am running into errors even for minimal builds using Visual Studio 11, any tips or advices that could help?
I am getting 3 errors:
1. error c0183 cannot open include file wx/setup.h file-> platform.h project->texgengui
2. error MSB3073: "C:\ProgramFiles\CMAke\bin\cmake.exe -DBUILD_TYPE=Release -P cmake_install.cmake
3. cannot open vtkgeovis.lib
please help!!
thanks,
Aashish
Compiling Texgen
Moderators: Martin, Developers
-
georgespackman
- Posts: 4
- Joined: Wed Jul 17, 2019 9:08 am
Re: Compiling Texgen
Hi Aashish,
I don't really know what is causing your errors, have you done a minimal build of just the source code and did that work? Have you built the correct versions of wxwidgets-3.0.4 and VTK-6.3 and linked them in cmake? Finally, if you're building the GUI you need to set the TexGenGUI project as the start up project and run the install build in administrator mode.
Hope some of this helps, let me know how you get on.
George
I don't really know what is causing your errors, have you done a minimal build of just the source code and did that work? Have you built the correct versions of wxwidgets-3.0.4 and VTK-6.3 and linked them in cmake? Finally, if you're building the GUI you need to set the TexGenGUI project as the start up project and run the install build in administrator mode.
Hope some of this helps, let me know how you get on.
George
Re: Compiling Texgen
Hi George,
I tried the versions you mentioned, i built the debug and release version of wxwidgets 3.0.4 using visual studio 2017 community edition the builds were successful, then made vtk 6.3.0, all 32 bit (x86), then i used cmake to make vc++ files of texgen only warnings i got were it could not find bunch of vtk files like vtkmetaio, vtkfilter,etc.. but i still hit generate and then opened texgen project in visual studio to compile, i get lot of errors related to vtk let me know what's going wrong
Thanks,
Aashish
I tried the versions you mentioned, i built the debug and release version of wxwidgets 3.0.4 using visual studio 2017 community edition the builds were successful, then made vtk 6.3.0, all 32 bit (x86), then i used cmake to make vc++ files of texgen only warnings i got were it could not find bunch of vtk files like vtkmetaio, vtkfilter,etc.. but i still hit generate and then opened texgen project in visual studio to compile, i get lot of errors related to vtk let me know what's going wrong
Thanks,
Aashish
Re: Compiling Texgen
Hi Aashish,
Is there a reason why you're doing a 32-bit build? For most modern PCs it's more appropriate to do a 64-bit build. If you want to do any geometry export (to IGES or STEP) this is is certainly more robust with 64 bit.
It looks like you probably haven't built all of the vtk libraries required. Take a look in the CMake to generate your vtk build and make sure that all of the libraries that you're getting warnings about not being found when you generate the TexGen build file have been built.
Hope that helps,
Louise
Is there a reason why you're doing a 32-bit build? For most modern PCs it's more appropriate to do a 64-bit build. If you want to do any geometry export (to IGES or STEP) this is is certainly more robust with 64 bit.
It looks like you probably haven't built all of the vtk libraries required. Take a look in the CMake to generate your vtk build and make sure that all of the libraries that you're getting warnings about not being found when you generate the TexGen build file have been built.
Hope that helps,
Louise
Re: Compiling Texgen
Hi Louise,
I started from scratch to build 64 bit instead, this what i am getting when i finish configuring texgen. Let me know if this is the issue i am unable to compile texgen in visual studio?
Thanks,
Aashish
I started from scratch to build 64 bit instead, this what i am getting when i finish configuring texgen. Let me know if this is the issue i am unable to compile texgen in visual studio?
Thanks,
Aashish
Re: Compiling Texgen
Hi Aashish,
These are only warnings so you should be able to build TexGen. If you do the Generate in CMake after Configure does this run? If so it should have generated the VS project files for you. It is probably worth checking that you've built the libraries that you have warnings about and that you've put the correct path to the VTK files into CMake.
Best wishes,
Louise
These are only warnings so you should be able to build TexGen. If you do the Generate in CMake after Configure does this run? If so it should have generated the VS project files for you. It is probably worth checking that you've built the libraries that you have warnings about and that you've put the correct path to the VTK files into CMake.
Best wishes,
Louise