i just updated the repo, are you using source control at all? if so, just pull the changes otherwise download the FindSoftimage.cmake file and replace your existing one.
https://github.com/caron/TapeMeasure/blob/master/CMake/Modules/FindSoftimage.cmake On Tue, Oct 9, 2012 at 10:35 AM, Steven Caron <[email protected]> wrote: > ok, you still use a custom install location. i will add this... > > > On Tue, Oct 9, 2012 at 10:27 AM, Eugen Sares <[email protected]> wrote: > >> Thanks, Steven! >> C:\Softimage\Softimage 2013 SP1 >> I set that correctly in the cmake file. >> >> I tried this: >> line 53 in FindSoftimage.cmake - >> >> set (SOFTPATHS_11_1 >> "c:/Softimage/Softimage 2013 SP1/XSISDK/include/" >> /usr/Softimage/Softimage_2013_SP1/XSISDK/include/ >> /usr/local/Softimage/Softimage_2013_SP1/XSISDK/include/ >> ) >> >> >> Line 125 - >> if (${Softimage_FIND_VERSION_MAJOR} EQUAL 11) >> if (${Softimage_FIND_VERSION_MINOR} EQUAL 1) >> set(Softimage_SEARCH_INCLUDE_PATH >> "${Softimage_SEARCH_INCLUDE_PATH}" >> ${SOFTPATHS_11_1} >> ) >> elseif (${Softimage_FIND_VERSION_MINOR} EQUAL 0) >> set(Softimage_SEARCH_INCLUDE_PATH >> "${Softimage_SEARCH_INCLUDE_PATH}" >> ${SOFTPATHS_11_0} >> ) >> endif() >> endif() >> >> But it didn't work. >> >> >> >> >> Am 09.10.2012 19:04, schrieb Steven Caron: >> >> btw, what is your install path for 2013 SP1? >> >> s >> >> On Tue, Oct 9, 2012 at 10:01 AM, Steven Caron <[email protected]> wrote: >> >>> as i mentioned SP1 was not supported yet. i posted a snip of code which >>> was only a hint. i can try and update it today. >>> >>> steven >>> >>> >>> On Tue, Oct 9, 2012 at 5:37 AM, Eugen Sares <[email protected]> wrote: >>> >>>> Didn't manage to include SI 2013 SP1 in the .cmake file. >>>> Syntactically, I got it right, but still CMake cannot find the SI SDK. >>>> I assumed that 2013 SP1 is version 11_1. >>>> Anyway, I just created a folder "Softimage 2013", and copied the >>>> SDK-folder from 2013 SP1 into it... works. >>>> >>>> Deinstalled VS2010 again, also. So, all that is needed is VS2012 >>>> express. Ain't that nice... >>>> >>>> Best, >>>> Eugen >>>> >>>> >>>> Am 09.10.2012 12:39, schrieb Eugen Sares: >>>> >>>> Tadaaa! >>>> Build: 1 succeeded! VS2012 express. >>>> Tested Steven's TapeMeasure under SI 2013 SP1, and it works. >>>> >>>> I had to install Softimage 2013, too, so the .cmake file would find >>>> this version's SDK. >>>> I have now Visual Studio 2010 installed, and VS 2012 express (which is >>>> the first express version to support 64bit, at last). >>>> CMake throwed an error when I selected VS 2012 in the list, but after >>>> downloading the latest nightly build of CMake here: >>>> http://www.cmake.org/files/dev/ >>>> ... which correctly recognizes VS2012 express. >>>> >>>> I'll try now to uninstall VS 2010 again, and include 2013 SP1 in the >>>> FindSoftimage.cmake file... >>>> >>>> Thanks so much, guys!! >>>> Eugen >>>> >>>> >>>> Am 09.10.2012 10:52, schrieb Eugen Sares: >>>> >>>> Troubles here. >>>> >>>> Am 08.10.2012 21:39, schrieb piotrek marczak: >>>> >>>> Ive had this error (and many others), try uninstalling sp1... >>>> >>>> You mean work with SI 2013 (11_0), not SI 2013 SP1 (11_1), right? >>>> >>>> A-ha, FindSoftimage.cmake supports only up to version 2013. >>>> I only have SI 2013 SP1 installed. >>>> So, two options: >>>> - install 2013, too >>>> - edit FindSoftimage.cmake >>>> >>>> I'm digging around in that cmake file... can of worms... >>>> What to do? >>>> >>>> >>>> TBH just use cmake or keep fighting with various visual studio errors >>>> >>>> -download S.Carons tapemeasure plugin, copy cmake folder and >>>> cmakelists.txt to your src dir >>>> -edit CMakelists.txt so the SOURCES and HEADERS section contains all >>>> the cpp and .h files of your project >>>> >>>> -run cmake >>>> -point Where is the source code to your plugins source dir >>>> -point Where to build the binaries to some other folder >>>> -click configure >>>> >>>> -change CMAKE_INSTALL_PREFIX to where your dlls should go (e.g. >>>> y:\workgroup\Addons\MyPlugin) >>>> >>>> >>>> I cannot find CMAKE_INSTALL_PREFIX. >>>> >>>> -click generate >>>> -open VS project generated by cmake (in build dir) and in Configuration >>>> manager turn on INSTALL build (this will copy dll to your install_prefix >>>> dir) >>>> >>>> I dont know if this is the right (professional) procedure but it works >>>> for me >>>> It works also with VS 2012 express which has very cool all-dark theme >>>> [image: >>>> Usmiech] >>>> >>>> >>>> I installed VS2012, also. Really slick interface, I'd like to work with >>>> that. >>>> But: when I choose "Visual Studio 11 Win64" in CMake, I get an error. >>>> So I suppose I have to create the .vcxproj in CMake with VS2010, and >>>> can then open it in VS2012, correct? >>>> >>>> Compiling C++ for Softimage... world of hurt. >>>> >>>> Best, >>>> Eugen >>>> >>>> >>>> *From:* Eugen Sares <[email protected]> >>>> *Sent:* Monday, October 08, 2012 9:22 PM >>>> *To:* [email protected] >>>> *Subject:* Re: 2013 SP1 Compile Error in VS2010 SP1 >>>> >>>> Alok, thanks, but could you please be more specific? >>>> Softimage generates a .vcxproj and a .cpp file. >>>> >>>> Do I open VS via batch file or not? >>>> If not, I cannot open the .vcxproj, because XSISDK_ROOT is not set, and >>>> VS won't find the makefiles. >>>> So, I have to create a new project from scratch, right? >>>> What kind of project? >>>> Questions, questions, questions... >>>> >>>> Could take me through this step by step? >>>> TIA >>>> Eugen >>>> >>>> >>>> Am 08.10.2012 21:00, schrieb Alok Gandhi: >>>> >>>> As I said earlier, make your own solution in VS2010 and add the Soft >>>> generated project to it. In the project properties, change the path to the >>>> include and libs manually. Should work fine. >>>> >>>> On Mon, Oct 8, 2012 at 2:54 PM, Eugen Sares <[email protected]>wrote: >>>> >>>>> Hi, >>>>> trying to compile with VS2010 SP1 for Softimage 2013 SP1. >>>>> TRACKER : error TRK0005: Failed to locate: "CL.exe". >>>>> >>>>> I commented the call to vcvarsall.bat out in the batch file, as Julian >>>>> suggested, but it's still not working. >>>>> Any news on that front? >>>>> >>>>> Besides, Mr. Caron, are you willing to do your second cmake tutorial? >>>>> >>>>> Cheers, >>>>> Eugen >>>>> >>>>> >>>>> Am 13.09.2012 18:52, schrieb Chris Chia: >>>>> >>>>> it seems like it does not recognise XSISDK_ROOT? >>>>>> We usually execute the command prompt from the workgroup (right click >>>>>> and choose command prompt") inside XSI and it will inherit the >>>>>> env_variable, and execute 'devenv' for VS... >>>>>> >>>>>> Chris >>>>>> >>>>>> On 13 Sep, 2012, at 9:08 PM, "Julian Johnson" < >>>>>> [email protected]> wrote: >>>>>> >>>>>> XSISDK_ROOT >>>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> >
<<image/png>>

