Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ohLibSpotify
19-04-2013, 11:11 AM (This post was last modified: 19-04-2013 11:12 AM by mfacer.)
Post: #11
RE: ohLibSpotify
getting a little further now! using the --vsvars=no seems to have done the trick Smile
but there looks to be some errors still...

Code:
C:\Documents and Settings\matt\ohLibSpotify>go build --vsvars=no
Performing step 'process_options' (reason: 'required')
Performing step 'setup' (reason: 'required')
Performing step 'openhome_setup' (reason: 'required')
default
Performing step 'fetch' (reason: 'default')
Fetching 'NuGet'
  from 'http://openhome.org/releases/artifacts/AnyPlatform/NuGet.1.7.30402.9028.
tar.gz' (web)
  unpacking to 'C:\Documents and Settings\matt\ohLibSpotify\dependencies\AnyPlat
form'
  OK
Fetching 'libspotify'
  from 'http://developer.spotify.com/download/libspotify/libspotify-12.1.51-win3
2-release.zip' (web)
  unpacking to 'C:\Documents and Settings\matt\ohLibSpotify\dependencies\Windows
-x86\libspotify'
  OK
Successfully installed 'MSBuildTasks 1.4.0.45'.
Successfully installed 'Moq 4.0.10827'.
Successfully installed 'NUnit 2.6.2'.
Successfully installed 'NUnit.Runners 2.6.1'.
Successfully installed 'Newtonsoft.Json 4.5.11'.
Performing step 'configure' (reason: 'default')
Performing step 'clean' (reason: 'default')
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.225]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 19/04/2013 12:09:01.
Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" on n
ode 1 (Clean target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Windows-x86".
Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" (1)
is building "C:\Documents and Settings\matt\ohLibSpotify\src\ToolTests\ToolTest
s.csproj" (2) on node 1 (Clean target(s)).
CoreClean:
  Creating directory "C:\Documents and Settings\matt\ohLibSpotify\src\ToolTests
  \..\..\build\obj\Release\".
Done Building Project "C:\Documents and Settings\matt\ohLibSpotify\src\ToolTest
s\ToolTests.csproj" (Clean target(s)).

Done Building Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpo
tify.sln" (Clean target(s)).


Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.42
Performing step 'build' (reason: 'default')
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.225]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 19/04/2013 12:09:02.
Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" on n
ode 1 (Build target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Windows-x86".
Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" (1)
is building "C:\Documents and Settings\matt\ohLibSpotify\src\ApiParser\ApiParse
r.csproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "C:\Documents and Settings\matt\ohLibSpotify\src\ApiParser
  \..\..\build\bin\Release\".
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fi
les are up-to-date with respect to the input files.
CoreCompile:
  C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,
  1702 /nostdlib+ /platform:AnyCPU /errorreport:prompt /define:TRACE /reference
  :"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.
  0\Microsoft.CSharp.dll" /reference:"C:\Program Files\Reference Assemblies\Mic
  rosoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Documents an
  d Settings\matt\ohLibSpotify\dependencies\nuget\Newtonsoft.Json.4.5.11\lib\ne
  t40\Newtonsoft.Json.dll" /reference:"C:\Program Files\Reference Assemblies\Mi
  crosoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program
  Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data
  .DataSetExtensions.dll" /reference:"C:\Program Files\Reference Assemblies\Mic
  rosoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program F
  iles\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll"
  /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFra
  mework\v4.0\System.Xml.dll" /reference:"C:\Program Files\Reference Assemblies
  \Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /
  filealign:512 /optimize+ /out:"C:\Documents and Settings\matt\ohLibSpotify\sr
  c\ApiParser\..\..\build\obj\Release\ApiParser.exe" /target:exe HeaderParser.c
  s Lexer.cs Program.cs Properties\AssemblyInfo.cs "C:\Documents and Settings\m
  att\Local Settings\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
_CopyFilesMarkedCopyLocal:
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\dependencies\n
  uget\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll" to "C:\Documents a
  nd Settings\matt\ohLibSpotify\src\ApiParser\..\..\build\bin\Release\Newtonsof
  t.Json.dll".
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\dependencies\n
  uget\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.xml" to "C:\Documents a
  nd Settings\matt\ohLibSpotify\src\ApiParser\..\..\build\bin\Release\Newtonsof
  t.Json.xml".
_CopyAppConfigFile:
  Copying file from "app.config" to "C:\Documents and Settings\matt\ohLibSpotif
  y\src\ApiParser\..\..\build\bin\Release\ApiParser.exe.config".
CopyFilesToOutputDirectory:
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\src\ApiParser\
  ..\..\build\obj\Release\ApiParser.exe" to "C:\Documents and Settings\matt\ohL
  ibSpotify\src\ApiParser\..\..\build\bin\Release\ApiParser.exe".
  ApiParser -> C:\Documents and Settings\matt\ohLibSpotify\build\bin\Release\Ap
  iParser.exe
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\src\ApiParser\
  ..\..\build\obj\Release\ApiParser.pdb" to "C:\Documents and Settings\matt\ohL
  ibSpotify\src\ApiParser\..\..\build\bin\Release\ApiParser.pdb".
Done Building Project "C:\Documents and Settings\matt\ohLibSpotify\src\ApiParse
r\ApiParser.csproj" (default targets).

Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" (1)
is building "C:\Documents and Settings\matt\ohLibSpotify\src\ManagedApiBuilder\
ManagedApiBuilder.csproj" (3) on node 1 (default targets).
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fi
les are up-to-date with respect to the input files.
CoreCompile:
  C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,
  1702 /nostdlib+ /platform:AnyCPU /errorreport:prompt /define:TRACE /reference
  :"C:\Documents and Settings\matt\ohLibSpotify\build\bin\Release\ApiParser.exe
  " /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETF
  ramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files\Reference As
  semblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\
  Documents and Settings\matt\ohLibSpotify\dependencies\nuget\Newtonsoft.Json.4
  .5.11\lib\net40\Newtonsoft.Json.dll" /reference:"C:\Program Files\Reference A
  ssemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:
  "C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
  \System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\Reference As
  semblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"
  C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\
  System.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Frame
  work\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files\Referenc
  e Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /deb
  ug:pdbonly /filealign:512 /optimize+ /out:"C:\Documents and Settings\matt\ohL
  ibSpotify\src\ManagedApiBuilder\..\..\build\obj\Release\ManagedApiBuilder.e​xe
  " /target:exe ArgumentTransformers\ByteArrayArgumentTransformer.cs ArgumentTr
  ansformers\CallbackStructArgumentTransformer.cs ArgumentTransformers\Function
  PointerArgumentTransformer.cs ArgumentTransformers\HandleArgumentTransformer.
  cs ArgumentTransformers\HandleArrayArgumentTransformer.cs ArgumentTransformer
  s\HandleReturnTransformer.cs ArgumentTransformers\PointerArgumentTransformer.
  cs ArgumentTransformers\PointerReturnTransformer.cs ArgumentTransformers\RefA
  rgumentTransformer.cs ArgumentTransformers\RefHandleArgumentTransformer.cs Ar
  gumentTransformers\RefStructArgumentTransformer.cs ArgumentTransformers\Simpl
  eStringReturnTransformer.cs ArgumentTransformers\SpotifyErrorReturnTransforme
  r.cs ArgumentTransformers\StringArgumentTransformer.cs ArgumentTransformers\S
  tringReturnTransformer.cs ArgumentTransformers\ThisPointerArgumentTransformer
  .cs ArgumentTransformers\TrivialArgumentTransformer.cs ArgumentTransformers\T
  rivialArrayArgumentTransformer.cs ArgumentTransformers\TrivialReturnTransform
  er.cs ArgumentTransformers\UnknownLengthStringReturnTransformer.cs ArgumentTr
  ansformers\VoidReturnTransformer.cs ArgumentTransformers\VoidStarArgumentTran
  sformer.cs CSharpType.cs IArgumentTransformer.cs CategorizedDeclarations.cs C
  SharpGenerator.cs FunctionAssembler.cs FunctionSpecificationAnalyser.cs Argum
  entTransformers\VoidArgumentListTransformer.cs OrderedDictionary.cs PatternMa
  tching.cs Program.cs Properties\AssemblyInfo.cs "C:\Documents and Settings\ma
  tt\Local Settings\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
_CopyAppConfigFile:
  Copying file from "app.config" to "C:\Documents and Settings\matt\ohLibSpotif
  y\src\ManagedApiBuilder\..\..\build\bin\Release\ManagedApiBuilder.exe.confi​g"
  .
CopyFilesToOutputDirectory:
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\src\ManagedApi
  Builder\..\..\build\obj\Release\ManagedApiBuilder.exe" to "C:\Documents and S
  ettings\matt\ohLibSpotify\src\ManagedApiBuilder\..\..\build\bin\Release\Man​ag
  edApiBuilder.exe".
  ManagedApiBuilder -> C:\Documents and Settings\matt\ohLibSpotify\build\bin\Re
  lease\ManagedApiBuilder.exe
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\src\ManagedApi
  Builder\..\..\build\obj\Release\ManagedApiBuilder.pdb" to "C:\Documents and S
  ettings\matt\ohLibSpotify\src\ManagedApiBuilder\..\..\build\bin\Release\Man​ag
  edApiBuilder.pdb".
Done Building Project "C:\Documents and Settings\matt\ohLibSpotify\src\ManagedA
piBuilder\ManagedApiBuilder.csproj" (default targets).

Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" (1)
is building "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify\ohLib
Spotify.csproj" (4) on node 1 (default targets).
ParseSpotifyApi:
  Parse Spotify api.h
  C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify\..\..\build\bin\
  Release\\ApiParser.exe C:\Documents and Settings\matt\ohLibSpotify\src\ohLibS
  potify\..\..\dependencies\Windows-x86\libspotify/include/libspotify\api.h > C
  :\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify\..\..\build\bin\R
  elease\\parsed-api.json
  'C:\Documents' is not recognized as an internal or external command,
  operable program or batch file.
C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify\ohLibSpotify.cspro
j(138,5): error MSB3073: The command "C:\Documents and Settings\matt\ohLibSpoti
fy\src\ohLibSpotify\..\..\build\bin\Release\\ApiParser.exe C:\Documents and Set
tings\matt\ohLibSpotify\src\ohLibSpotify\..\..\dependencies\Windows-x86\libspot
ify/include/libspotify\api.h > C:\Documents and Settings\matt\ohLibSpotify\src\
ohLibSpotify\..\..\build\bin\Release\\parsed-api.json" exited with code 9009.
Done Building Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpo
tify\ohLibSpotify.csproj" (default targets) -- FAILED.

Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" (1)
is building "C:\Documents and Settings\matt\ohLibSpotify\src\ToolTests\ToolTest
s.csproj" (6) on node 1 (default targets).
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fi
les are up-to-date with respect to the input files.
CoreCompile:
  C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,
  1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE /reference:"C:\Docu
  ments and Settings\matt\ohLibSpotify\build\bin\Release\ApiParser.exe" /refere
  nce:"C:\Documents and Settings\matt\ohLibSpotify\build\bin\Release\ManagedApi
  Builder.exe" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Fram
  ework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Documents and S
  ettings\matt\ohLibSpotify\dependencies\nuget\Moq.4.0.10827\lib\NET40\Moq.dl​l"
   /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFr
  amework\v4.0\mscorlib.dll" /reference:"C:\Documents and Settings\matt\ohLibSp
  otify\dependencies\nuget\NUnit.2.6.2\lib\nunit.framework.dll" /reference:"C:\
  Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Sys
  tem.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Fra
  mework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\P
  rogram Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Syst
  em.Data.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Fram
  ework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files\Reference A
  ssemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"
  C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\
  System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:"C:\Docume
  nts and Settings\matt\ohLibSpotify\src\ToolTests\..\..\build\obj\Release\Tool
  Tests.dll" /target:library CSharpGeneratorTests.cs FunctionAssemblerTests.cs
  LexerTests.cs ParserTests.cs PatternMatchTests.cs TokenTests.cs Properties\As
  semblyInfo.cs "C:\Documents and Settings\matt\Local Settings\Temp\.NETFramewo
  rk,Version=v4.0.AssemblyAttributes.cs"
_CopyFilesMarkedCopyLocal:
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\dependencies\n
  uget\Moq.4.0.10827\lib\NET40\Moq.dll" to "C:\Documents and Settings\matt\ohLi
  bSpotify\src\ToolTests\..\..\build\bin\Release\Moq.dll".
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\dependencies\n
  uget\NUnit.2.6.2\lib\nunit.framework.dll" to "C:\Documents and Settings\matt\
  ohLibSpotify\src\ToolTests\..\..\build\bin\Release\nunit.framework.dll".
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\dependencies\n
  uget\Moq.4.0.10827\lib\NET40\Moq.pdb" to "C:\Documents and Settings\matt\ohLi
  bSpotify\src\ToolTests\..\..\build\bin\Release\Moq.pdb".
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\dependencies\n
  uget\Moq.4.0.10827\lib\NET40\Moq.xml" to "C:\Documents and Settings\matt\ohLi
  bSpotify\src\ToolTests\..\..\build\bin\Release\Moq.xml".
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\dependencies\n
  uget\NUnit.2.6.2\lib\nunit.framework.xml" to "C:\Documents and Settings\matt\
  ohLibSpotify\src\ToolTests\..\..\build\bin\Release\nunit.framework.xml".
CopyFilesToOutputDirectory:
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\src\ToolTests\
  ..\..\build\obj\Release\ToolTests.dll" to "C:\Documents and Settings\matt\ohL
  ibSpotify\src\ToolTests\..\..\build\bin\Release\ToolTests.dll".
  ToolTests -> C:\Documents and Settings\matt\ohLibSpotify\build\bin\Release\To
  olTests.dll
  Copying file from "C:\Documents and Settings\matt\ohLibSpotify\src\ToolTests\
  ..\..\build\obj\Release\ToolTests.pdb" to "C:\Documents and Settings\matt\ohL
  ibSpotify\src\ToolTests\..\..\build\bin\Release\ToolTests.pdb".
Done Building Project "C:\Documents and Settings\matt\ohLibSpotify\src\ToolTest
s\ToolTests.csproj" (default targets).

Done Building Project "C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpo
tify.sln" (Build target(s)) -- FAILED.


Build FAILED.

"C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify.sln" (Build targe
t) (1) ->
"C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify\ohLibSpotify.cspr
oj" (default target) (4) ->
(ParseSpotifyApi target) ->
  C:\Documents and Settings\matt\ohLibSpotify\src\ohLibSpotify\ohLibSpotify.csp
roj(138,5): error MSB3073: The command "C:\Documents and Settings\matt\ohLibSpo
tify\src\ohLibSpotify\..\..\build\bin\Release\\ApiParser.exe C:\Documents and S
ettings\matt\ohLibSpotify\src\ohLibSpotify\..\..\dependencies\Windows-x86\libsp
otify/include/libspotify\api.h > C:\Documents and Settings\matt\ohLibSpotify\sr
c\ohLibSpotify\..\..\build\bin\Release\\parsed-api.json" exited with code 9009.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:06.57
subprocess.call('msbuild /target:Build /property:Platform=Windows-x86 /property:
Configuration=Release src/ohLibSpotify.sln', ... ) -> returned 1
Find all posts by this user
19-04-2013, 11:15 AM
Post: #12
RE: ohLibSpotify
Oh dear, it looks like the script has a bug that doesn't handle directories with spaces in their names! I'll see if we can fix that. In the mean-time, you could copy your ohLibSpotify and ohdevtools directories into another directory without a space in the name and try again.
Visit this user's website Find all posts by this user
19-04-2013, 11:24 AM (This post was last modified: 19-04-2013 11:24 AM by mfacer.)
Post: #13
RE: ohLibSpotify
okey doke... all in my C:/ directory now, and this is the output

Code:
C:\ohLibSpotify>go build --vsvars=no
Performing step 'process_options' (reason: 'required')
Performing step 'setup' (reason: 'required')
Performing step 'openhome_setup' (reason: 'required')
default
Performing step 'fetch' (reason: 'default')
Fetching 'NuGet'
  from 'http://openhome.org/releases/artifacts/AnyPlatform/NuGet.1.7.30402.9028.
tar.gz' (web)
  unpacking to 'C:\ohLibSpotify\dependencies\AnyPlatform'
  OK
Fetching 'libspotify'
  from 'http://developer.spotify.com/download/libspotify/libspotify-12.1.51-win3
2-release.zip' (cache)
  unpacking to 'C:\ohLibSpotify\dependencies\Windows-x86\libspotify'
  OK
Successfully installed 'MSBuildTasks 1.4.0.45'.
Successfully installed 'Moq 4.0.10827'.
Successfully installed 'NUnit 2.6.2'.
Successfully installed 'NUnit.Runners 2.6.1'.
Successfully installed 'Newtonsoft.Json 4.5.11'.
Performing step 'configure' (reason: 'default')
Performing step 'clean' (reason: 'default')
'msbuild' is not recognized as an internal or external command,
operable program or batch file.
subprocess.call('msbuild /target:Clean /property:Platform=Windows-x86 /property:
Configuration=Release src/ohLibSpotify.sln', ... ) -> returned 1

Seems a new error! "msbuild" isn't found.... another XP issue?
Find all posts by this user
19-04-2013, 11:58 AM (This post was last modified: 19-04-2013 12:21 PM by andreww.)
Post: #14
RE: ohLibSpotify
Wow, this is turning into quite the ordeal, thanks for sticking with it! Msbuild should have been added to your path when you ran "vsvars32.bat", but do bear in mind that it will only be added to the path for the current console window. Try running vsvars32.bat from the command-prompt and then trying again in the same window. If that doesn't work, try running vsvars32.bat and then run "msbuild" and see if it gives you an error.

Now that it's finished fetching all the dependencies, you should also have the alternative of just loading the solution in Visual Studio and building it there. All the rest of the script does is to invoke msbuild to build the solution file.

For reference, on my machine msbuild is located at:

Code:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

And "vsvars32.bat" adds that directory to the path. Here's where that script is on my machine:

Code:
c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat

They're all variations on the same thing. The differences are only important if you're building native code, which ohLibSpotify doesn't need to do. I think you won't have some of these if you're not using a 64-bit version of Windows and you won't have some if you're using the Express edition. I think "vsvars32.bat" is always there, though.
Visit this user's website Find all posts by this user
19-04-2013, 12:27 PM
Post: #15
RE: ohLibSpotify
Yes.... it worked! So now, I can copy the c:/ohlibspotify/build/release/ohlibspotify.dll in to my project (as per your example) and I'm off?

Thanks for your help!
Find all posts by this user
19-04-2013, 12:36 PM
Post: #16
RE: ohLibSpotify
Yes. To make my example I created a new WinForms project, referenced ohLibSpotify.dll, added libspotify.dll as "Content" with "Copy to output", and added "spotify-appkey.key" as "Content" with "Copy to output" also. (The appkey is acquired from Spotify, it's the "Binary" link on this page if you're logged in and have already created it: https://developer.spotify.com/technologi...tify/keys/ )
Visit this user's website Find all posts by this user
19-04-2013, 12:41 PM
Post: #17
RE: ohLibSpotify
amazing - thank you!! I can now see the log in information going to the textbox Smile

Right.. now on to look at the rest of the service details!! I'll no doubt be back with more questions soon... many thanks for the GREAT help and wrapper!! Smile
Find all posts by this user


Forum Jump: