[OpendTect_Developers] Tutorial Build Problem
Nanne Hemstra
nanne.hemstra at dgbes.com
Thu Jan 3 22:12:21 CET 2013
Dear Farhan,
CMake and the CMake files in OpendTect v4.4.0 do not have support for VS
2012 yet. Please find attached an updated version of the
'CreateLaunchers.cmake' file. This one works for me using the VS 2012
Express edition. You can copy the file to: C:/Program
Files/OpendTect/4.4.0/CMakeModules/ and give it a try as well.
Note that OpendTect v4.4.0 is build using VS 2010. You might face
incompatibility issues when loading plugins which are build with VS 2012.
Best regards,
Nanne
On 2 January 2013 12:30, farhan.naseer Farhan <farhan.naseer at farsols.com>wrote:
> Hi,
> I am new to OpendTect and CMake and was trying to build the tutorial
> plug-in on Windows 7 using VS2012. But I am getting this error in CMake, (I
> was able to build another library with same Visual Studio)
>
> MSVC but unrecognized version!
>
> CMake Error at C:/Program
> Files/OpendTect/4.4.0/CMakeModules/CreateLaunchers.cmake:201 (file):
>
> file Internal CMake error when trying to open file: C:/Program
>
> Files/OpendTect/4.4.0/CMakeModules/launcher-templates/
> perconfig.vcproj.user.in
>
> for reading.
>
> Call Stack (most recent call first):
>
> C:/Program Files/OpendTect/4.4.0/CMakeModules/CreateLaunchers.cmake:270
> (_launcher_produce_vcproj_user)
>
> CMakeLists.txt:32 (create_target_launcher)
>
> CMake Error: File C:/Program
> Files/OpendTect/4.4.0/CMakeModules/launcher-templates/vcproj.user.in does
> not exist.
>
> CMake Error at C:/Program
> Files/OpendTect/4.4.0/CMakeModules/CreateLaunchers.cmake:220
> (configure_file):
>
> configure_file Problem configuring file
>
> Call Stack (most recent call first):
>
> C:/Program Files/OpendTect/4.4.0/CMakeModules/CreateLaunchers.cmake:270
> (_launcher_produce_vcproj_user)
>
> CMakeLists.txt:32 (create_target_launcher)
>
> Configuring incomplete, errors occurred!
>
>
> What am I doing wrong here?
>
>
> Regards
>
> _____________________________________________________________
> OpendTect Developers mailing list Developers at opendtect.org
> http://www.opendtect.org/mailman/listinfo/developers
>
> You receive this mail because you are listed on developers at opendtect.orgTo unsubscribe please go to
> http://lists.opendtect.org/mailman/options/developers . If you encounter
> any problems, please contact support at opendtect.org .
>
--
Nanne Hemstra
Executive Vice President - Americas
dGB Earth Sciences
1, Sugar Creek Center Blvd - Suite 935
Sugar Land, TX 77478 - USA
Phone: +1 281-240-3939, Fax: +1 281-240-3944
http://www.dgbes.com , http://www.opendtect.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20130103/6d179241/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CreateLaunchers.cmake
Type: application/octet-stream
Size: 9100 bytes
Desc: not available
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20130103/6d179241/attachment.obj>
More information about the Developers
mailing list