Page 1 of 1

Problem with configuring STK on windows.

PostPosted: 06 Jan 2014, 20:37
by himanshuk303
Hi everyone,
I was trying to configure STK on windows. I have visual stdio 11 installed. I am using cmake and the latest SVN to build and run the code in visual studio. Though the build was successful but still on running in VS it gives error that the application configuration is incorrect. I am a total beginner and wanted to contribute. Please help me with this.
Thanks :)

Re: Problem with configuring STK on windows.

PostPosted: 07 Jan 2014, 02:42
by Auria
Hi,

I've had a similar issue. We are not 100% sure yet, but we think it's caused by wiimote support. Could you try to disable wiimote support in cmake, regenerate project files and rebuild?
If that fails, I know for sure that installing Visual studio 2008 will fix the issue. it's a bit silly, we have a DLL that depends on a DLL that can only be installed with VS 2008. We think it's wiiuse, but a little hard to confirm

Re: Problem with configuring STK on windows.

PostPosted: 07 Jan 2014, 08:38
by himanshuk303
Thanks a lot. Disabling wiiuse in cmake worked. :D

Re: Problem with configuring STK on windows.

PostPosted: 08 Jan 2014, 00:53
by hiker
Hi,

good to know. I've just posted the following test in another thread - could you try that:
Can you try to activate building of wiiuse (WIIUSE_BUILD) - it's an advanced field, so you need to make them visible in cmake gui. If this is enabled, VS should link in the self-compiled library (please verify that), and not the one from the dependency package.

That might give you a working version with wiimote support (reason for this is that in VS 2008 you needed a special driver development kit in order to compile wiiuse, plus some changes to the order of include files in VS; but with newer VS versions you can just compile it).

Cheers,
Joerg

Re: Problem with configuring STK on windows.

PostPosted: 19 Jan 2014, 14:42
by himanshuk303
Hi hiker,
Sorry for replying so late. I don't know why but i am not getting notifications in my mail. And i tried activating the building of wiiuse. But still no luck. And i don't actually know how to link the project to self compiled library. I didn't add any wiiuse library to dependency package also. I have attached the screenshot of the error.
And till we get a solution for this i will work without wiiuse support. Still trying to figure out the code :(

Re: Problem with configuring STK on windows.

PostPosted: 21 Jan 2014, 02:08
by Auria
Could you check in the event log, as mentionned in the message, to see what is the exact error message? Just open the event log right after opening STK and look in recently added messages, the error with full details will be there

Re: Problem with configuring STK on windows.

PostPosted: 22 Jan 2014, 01:17
by hiker
Hi,

I have just uploaded a new dependency package, which should remove the dependency from wiiuse to VS 2008 (download dependencies_for_0.8.2.zip from our windows dependency directory). Note that you need the latest git version to use the new package. There are new instructions for using the new package online as well (it's easier now to run in VS). The new package also includes a new curl version, which supports https for our further online work (though the online menu is currently disabled since I am working on it).

Cheers,
Joerg

Re: Problem with configuring STK on windows.

PostPosted: 23 Jan 2014, 14:03
by himanshuk303
Awesome. Now it is much more easier to build in windows. :D
Would it be possible for you to give me a slight hint how exactly you fixed this ?

Re: Problem with configuring STK on windows.

PostPosted: 30 Jan 2014, 12:03
by hiker
himanshuk303 {l Wrote}:Awesome. Now it is much more easier to build in windows. :D
Would it be possible for you to give me a slight hint how exactly you fixed this ?

I recompiled wiiuse with VS 2012. I also did some changes to the cmake configuration to copy the .dll to the binary directory, check git for details if this is what you are interested in.

Cheers,
Joerg