IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

 
Reply to this topicStart new topic
Problems with sdk 2011-03-11 (likely user incompetence)
kevl
post Jun 26 2011, 15:17
Post #1





Group: Members
Posts: 9
Joined: 23-June 06
Member No.: 32143



Hi

Attempting to learn the fine art of plugin development. To this end I have downloaded sdk, foo_tutorial1-0.4-20080520-src and have visual studio c++ 2008 express ed.


Notice that when I load the solution using 2008 express from the tutorial I get a unresolved reference i.e. foobar2000_SDK (unavailable).

Browsing then through the SDK directory structure I notice that there are a mixture of .vcproj AND .vcxproj files. The latter cannot be opened in 2008.

So I then download Visual C++ express 2010 and repeat execise, that doesnt end well either. All references to former .vcproj are now broken as they have now been renamed.

Now I guess to a pro these are trivial issues. But not for a learner. Is this some cunning plan to disuade the incompetent???? :-)

I have looked for an older SDK which might not have the offending mixture of file types but presumably using only the latest sdk is strongly preferred.


How should one proceed???


(learn to use the tools I hear you say :-) )



K
Go to the top of the page
+Quote Post
foosion
post Jun 26 2011, 16:33
Post #2





Group: FB2K Moderator (Donating)
Posts: 4219
Joined: 24-February 03
Member No.: 5153



QUOTE (kevl @ Jun 26 2011, 15:17) *
Now I guess to a pro these are trivial issues. But not for a learner. Is this some cunning plan to disuade the incompetent???? :-)
No, mostly it's a lack of time on my part for working on my foobar2000 components. Sorry for that! wink.gif

The easiest way should be to create a new solution for the SDK with VC++ 10 and add the old project for foo_tutorial1 to it. The project file should be automatically converted by VC++ 10. Youl would still need to add the project dependencies manually.

If that seems to be too much to tackle at once, I could probably dig out an old SDK, so you could see the required project structure before moving to VC++ 10.


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post
mudlord
post Jun 26 2011, 17:25
Post #3





Group: Developer (Donating)
Posts: 713
Joined: 1-December 07
Member No.: 49165



Or....
https://github.com/mudlord/foobar2000
http://kode54.foobar2000.org
Go to the top of the page
+Quote Post
kevl
post Jun 26 2011, 18:59
Post #4





Group: Members
Posts: 9
Joined: 23-June 06
Member No.: 32143



If you had an SDK lying around which would work with visual C++ 2008 then I would be very grateful.

Searching the web for info on manually adding dependencies in 2010 suggests to me that even people who know what they are doing struggle. Apparently MS has changed the way this is handled significantly between 2008 and 2010.

I'm giving up on the VC++ Express 2010 version.


A man has to know his limitations.



K
Go to the top of the page
+Quote Post
foosion
post Jun 26 2011, 21:52
Post #5





Group: FB2K Moderator (Donating)
Posts: 4219
Joined: 24-February 03
Member No.: 5153



I have just uploaded a new zip file for foo_tutorial1 that includes solution and project files for VC++ 10. For reference the process of converting is as follows:
  1. Download and unpack the foobar2000 SDK.
  2. Download and unpack foo_tutorial1. The foo_tutorial1 directory has to be inside the foobar2000 directory in the SDK.
  3. Start VC++ 10 (Express).
  4. Select "Open Project..." and browse to the solution file from foo_tuttorial1 (foo_tutorial1.express.sln).
  5. Accept the choice to convert the solution and the referenced projects.
  6. Say no if VC++ asks whether to replace the existing project files from the SDK.
  7. Done. The foo_tutorial1 project should now compile.
For now the updated foo_tutorial1 zip file contains project files for both VC++ 9 and VC++ 10.


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd May 2013 - 21:23