Problem with configuring STK on windows.

Problem with configuring STK on windows.

Postby himanshuk303 » 06 Jan 2014, 20:37

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 :)
himanshuk303
 
Posts: 5
Joined: 30 Dec 2013, 12:10

Re: Problem with configuring STK on windows.

Postby Auria » 07 Jan 2014, 02:42

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
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Problem with configuring STK on windows.

Postby himanshuk303 » 07 Jan 2014, 08:38

Thanks a lot. Disabling wiiuse in cmake worked. :D
himanshuk303
 
Posts: 5
Joined: 30 Dec 2013, 12:10

Re: Problem with configuring STK on windows.

Postby hiker » 08 Jan 2014, 00:53

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Problem with configuring STK on windows.

Postby himanshuk303 » 19 Jan 2014, 14:42

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 :(
Attachments
wiiuse error.JPG
himanshuk303
 
Posts: 5
Joined: 30 Dec 2013, 12:10

Re: Problem with configuring STK on windows.

Postby Auria » 21 Jan 2014, 02:08

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
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Problem with configuring STK on windows.

Postby hiker » 22 Jan 2014, 01:17

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Problem with configuring STK on windows.

Postby himanshuk303 » 23 Jan 2014, 14:03

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 ?
himanshuk303
 
Posts: 5
Joined: 30 Dec 2013, 12:10

Re: Problem with configuring STK on windows.

Postby hiker » 30 Jan 2014, 12:03

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Who is online

Users browsing this forum: No registered users and 1 guest