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 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

 
Sent: Monday, October 08, 2012 9:22 PM
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 <softim...@keyvis.at> 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" <jul...@exch.demon.co.uk> wrote:

XSISDK_ROOT



 
--



Reply via email to