Page 1 of 2

How-to compile tuniac??

Posted: Mon Jun 07, 2010 5:24 pm
by ValerioCMS
Hi,
i'm trying to compile tuniac. I've downloaded source from svn with tortoise and i'm trying to open it with visual studio 2010 express trial, but i get some errors. When i try to open it, visual studio require a conversion from previous version to vc10 project, but the conversion fails. I want to say what ide must i use to open it????

Re: How-to compile tuniac??

Posted: Mon Jun 07, 2010 6:26 pm
by ValerioCMS
i've installed visual c++ 2008 and the project opens, but the compilation fail ( i get 3 errors).

This is the output:

Error1 and 2:
Compiling...
SVPVisualPlugin.cpp
c:\users\valerio\desktop\tuniac1\svpvisualplugin\svprenderer.h(7) : fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory
SVPRenderer.cpp
c:\users\valerio\desktop\tuniac1\svpvisualplugin\svprenderer.h(7) : fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory
stdafx.cpp
SoniqueVis.cpp
Generating Code...
Error3:
Compiling...
VisualWindow.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
TuniacVisual.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
TuniacStandardFileIO.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
TuniacSkin.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
TuniacMemoryFileIO.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
TuniacHTTPFileIO.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
TuniacApp.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
Tuniac.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
Taskbar.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
TagEditor.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
SysEvents.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
StdAfx.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
StandardPlaylist.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
SSE_Utils.cpp
SourceSelectorWindow.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
SharedMemorySongInfo.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
Preferences.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
PluginManager.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
PlayQueueSourceView.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
PlayQueue.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
Generating Code...
Compiling...
PlaylistSourceView.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
PlaylistManager.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
PlayControls.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
picopng.cpp
MediaLibraryPlaylistEntry.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
MediaLibrary.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
LogWindow.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
LibraryPlaylist.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
jpegdecoder.cpp
jidctfst.cpp
ImportExportManager.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
idct.cpp
History.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
H2v2.cpp
FileAssoc.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
DoubleBuffer.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
CurrentlyPlaying.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
CoreAudio.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
BasePlaylist.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
AudioStream.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
Generating Code...
Compiling...
AudioPacketizer.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
AudioOutput.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
AudioCDSourceView.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
AudioCDPlaylist.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
AlbumArt.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
AboutWindow.cpp
c:\users\valerio\desktop\tuniac1\tuniacapp\stdafx.h(46) : fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
Generating Code...

Re: How-to compile tuniac??

Posted: Mon Jun 07, 2010 11:21 pm
by Brett
VS 2008 is 9.0:
VC ++ Directories is a common place(not per project) under Tools menu->Options->Project and Solutions->VC++ Directories

This all applies to VS 2010 aka Microsoft Visual Studio 10.0.

You need the glew lib
http://glew.sourceforge.net/
Put glew.h, glxew.h and wglew.h in
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL
And put glew32.lib and glew32s.lib in
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib

You also need the current DirectX(was Feb 2010 at time of writing) SDK for xaudio.
http://www.microsoft.com/downloads/deta ... 1cbd28ca15
Note: DXSDK_Feb10.exe does not support Visual Studio 2010 yet and the installer fails to add the include DIR's AFAIK, but seems fine otherwise. Well maybe, under XP Tuniac does seem a little crash happy now, not sure if it's related. The Next DX SDK will support VS 2010 apparently.
In the mean time right click the TuniacApp project and goto properties, goto VC++ Directories and add
for Exe: C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)\Utilities\Bin\x86 (for Win32, and x64 for x64)
for Includes: C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)\Include
for Libraries: C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)\Lib\x86 (for Win32, and x64 for x64)

Also to build std_InfoManager you need taglib:
http://developer.kde.org/~wheeler/taglib.html
SVN:
svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib/taglib

After this for the std_Infomanager project I build with this project:
http://www.wasteofcash.com/Tuniac/taglib_1.6_vs2008.zip
It becomes a new win32 folder in the taglib main folder.
For the VC++ Include Directories add(modify to where you put it):
D:\Code\taglib
D:\Code\taglib\win32
D:\Code\taglib\asf
D:\Code\taglib\ape
D:\Code\taglib\flac
D:\Code\taglib\mp4
D:\Code\taglib\mpc
D:\Code\taglib\mpeg
D:\Code\taglib\mpeg\id3v1
D:\Code\taglib\mpeg\id3v2
D:\Code\taglib\mpeg\id3v2\frames
D:\Code\taglib\ogg
D:\Code\taglib\ogg\flac
D:\Code\taglib\ogg\speex
D:\Code\taglib\ogg\vorbis
D:\Code\taglib\riff
D:\Code\taglib\riff\aiff
D:\Code\taglib\riff\wav
D:\Code\taglib\toolkit
D:\Code\taglib\trueaudio
D:\Code\taglib\wavpack

You also will likely need the platform SDK as VS Express doesn't include it afaik
http://www.microsoft.com/downloads/deta ... 9fa782d63b

You also need to move DLL's to run the built code.
Tuniac1\bass_Plugin\basslib\32bit for Win32 64bit for x64. Move bass.dll and OptimFrog.dll to the same dir as TuniacApp.exe and the rest to a sub folder called "bass".
Tuniac1\tak_Plugin\TAK. Move tak_deco_lib.dll to same folder as TuniacApp.exe
Tuniac1\shn_Plugin\libshnplay. Move libshnplay.dll to same folder as TuniacApp.exe

This is true if you build the standard default plugins, but you could build without bass and use the other plugins that dont use bass.

Let me know how you go :)

PS. I was able to update all projects to VS2010 with only a few pointless warnings, after you have the required SDK's maybe you could try again, or let me know the details of the error. Once the new DX SDK comes out I will likely upload the newer project files for 2010

Re: How-to compile tuniac??

Posted: Tue Jun 08, 2010 9:32 am
by ValerioCMS
i've included glew and installed dxSDK, now i get this:
1>------ Build started: Project: TuniacApp, Configuration: Release Win32 ------
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>.\Tuniac.rc(10) : fatal error RC1015: cannot open include file 'winres.h'.
1>Build log was saved at "file://c:\Users\Valerio\Desktop\Tuniac1\TuniacApp\Win32\Release\BuildLog.htm"
1>TuniacApp - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
anyway I wanted to compile tuniac only to change hotkeys (according to http://sourceforge.net/tracker/index.ph ... tid=620845, but still nothing has been done).

I think it's better that i open a feature request!!!!!

Re: How-to compile tuniac??

Posted: Tue Jun 08, 2010 2:56 pm
by Brett
winres.h will be the platform sdk that express doesnt include. you probably need include dirs added for it also.
Anyways configurable hotkeys is on my "when I am not lazy just do it" list.
I really do want to do it, I just havent got around to it in my spare time yet.

Re: How-to compile tuniac??

Posted: Tue Jun 08, 2010 3:56 pm
by ValerioCMS
Brett wrote:winres.h will be the platform sdk that express doesnt include. you probably need include dirs added for it also.
Anyways configurable hotkeys is on my "when I am not lazy just do it" list.
I really do want to do it, I just havent got around to it in my spare time yet.
I thought it was necessary the sdk (http://www.microsoft.com/downloads/deta ... 9fa782d63b right?).

may i have a question? Have you already used xml reading in tuniac??? because if have used it, u can modify the hotkeys configuration, to read the button shortcuts from an xml file and after, very calm and when it pleases you ( :D ), yuo can made the gui for reconfigure it in tuniacapp and so, meanwhile, I'll try to change the hotkeys from XML.

It takes a long time to make this change?

the method that i found is:
bool CTuniacApp::RegisterHotkeys(void)
{
//our hotkeys
if(!RegisterHotKey(m_hWnd, HOTKEY_PLAY, MOD_WIN, VK_NUMPAD5))
m_LogWindow->LogMessage(TEXT("HotKey Register"), TEXT("Error registering hotkey"));
RegisterHotKey(m_hWnd, HOTKEY_STOP, MOD_WIN, VK_NUMPAD0);
RegisterHotKey(m_hWnd, HOTKEY_NEXT, MOD_WIN, VK_NUMPAD6);
RegisterHotKey(m_hWnd, HOTKEY_RANDNEXT, MOD_WIN, VK_NUMPAD9);
RegisterHotKey(m_hWnd, HOTKEY_PREV, MOD_WIN, VK_NUMPAD4);
RegisterHotKey(m_hWnd, HOTKEY_PREVBYHISTORY, MOD_WIN | MOD_CONTROL, VK_NUMPAD4);

RegisterHotKey(m_hWnd, HOTKEY_VOLUP, MOD_WIN, VK_NUMPAD8);
RegisterHotKey(m_hWnd, HOTKEY_VOLDOWN, MOD_WIN, VK_NUMPAD2);

RegisterHotKey(m_hWnd, HOTKEY_SEEKBACK, MOD_WIN, VK_NUMPAD1);
RegisterHotKey(m_hWnd, HOTKEY_SEEKFORWARD, MOD_WIN, VK_NUMPAD3);

RegisterHotKey(m_hWnd, HOTKEY_SHUFFLE, MOD_WIN, 'S');
RegisterHotKey(m_hWnd, HOTKEY_REPEAT, MOD_WIN, 'R');
return true;
}
A good idea is to move hotkeys configuration in a plugin, but for now the xml reading i think is good :lol:

Re: How-to compile tuniac??

Posted: Tue Jun 08, 2010 11:13 pm
by Brett
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
Dot point 2 should be the only thing needed.
More of less for vc++ directories add the lib, include and bin dirs for the Windows Platform SDK

I dont recall Tuniac being able to read xml in any existing code. Tuniac uses the registry to store all settings, it would make more sense saving hotkeys also there.

Re: How-to compile tuniac??

Posted: Wed Jun 09, 2010 1:07 pm
by ValerioCMS
Brett wrote:I dont recall Tuniac being able to read xml in any existing code. Tuniac uses the registry to store all settings, it would make more sense saving hotkeys also there.
ok, even in the windows registry is fine :)

Re: How-to compile tuniac??

Posted: Wed Apr 20, 2011 5:11 pm
by Harteex
So I went ahead to try to compile Tuniac, but I'm having some problems.

I first looked into taglib 1.63, but it misses some files such as apefile.h, so I went with the newest version 1.7.
Managed to get it compiled.
But when I try to compile the infomanager I still get this:

Code: Select all

Build started 2011-04-20 18:42:19.
     1>Project "E:\Development\Tuniac\Tuniac1\std_InfoManager\std_InfoManager.vcxproj" on node 2 (rebuild target(s)).
     1>_PrepareForClean:
         Deleting file "Win32\Debug\std_InfoManager.lastbuildstate".
       InitializeBuildStatus:
         Touching "Win32\Debug\std_InfoManager.unsuccessfulbuild".
       ClCompile:
         C:\Program\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I../TuniacApp /I. /ZI /nologo /W1 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D TAGLIB_STATIC /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MTd /Zp16 /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Win32\Debug\\" /Fd"Win32\Debug\vcWindows7.1SDK.pdb" /Gd /TP /analyze- /errorReport:prompt stdafx.cpp STDInfoManager.cpp
         stdafx.cpp
         STDInfoManager.cpp
         Generating Code...
       Link:
         C:\Program\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"..\Win32\Debug\std_InfoManager.dll" /NOLOGO shlwapi.lib "taglib(static)d.lib" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Win32\Debug\std_InfoManager.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"E:\Development\Tuniac\Tuniac1\Win32\Debug\std_InfoManager.pdb" /ASSEMBLYDEBUG /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"..\Win32\Debug\std_InfoManager.lib" /MACHINE:X86 /DLL Win32\Debug\stdafx.obj
         Win32\Debug\STDInfoManager.obj
            Creating library ..\Win32\Debug\std_InfoManager.lib and object ..\Win32\Debug\std_InfoManager.exp
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall TagLib::ASF::Picture::~Picture(void)" (??1Picture@ASF@TagLib@@UAE@XZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall TagLib::ASF::Picture::~Picture(void)" (??1Picture@ASF@TagLib@@UAE@XZ)
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: enum TagLib::ASF::Picture::Type __thiscall TagLib::ASF::Picture::type(void)const " (?type@Picture@ASF@TagLib@@QBE?AW4Type@123@XZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: class TagLib::String __thiscall TagLib::ASF::Picture::mimeType(void)const " (?mimeType@Picture@ASF@TagLib@@QBE?AVString@3@XZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: class TagLib::ByteVector __thiscall TagLib::ASF::Picture::picture(void)const " (?picture@Picture@ASF@TagLib@@QBE?AVByteVector@3@XZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: bool __thiscall TagLib::ASF::Picture::isValid(void)const " (?isValid@Picture@ASF@TagLib@@QBE_NXZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TagLib::ASF::Picture::isValid(void)const " (?isValid@Picture@ASF@TagLib@@QBE_NXZ)
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: enum TagLib::FLAC::Picture::Type __thiscall TagLib::FLAC::Picture::type(void)const " (?type@Picture@FLAC@TagLib@@QBE?AW4Type@123@XZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: class TagLib::String __thiscall TagLib::FLAC::Picture::mimeType(void)const " (?mimeType@Picture@FLAC@TagLib@@QBE?AVString@3@XZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>STDInfoManager.obj : error LNK2019: unresolved external symbol "public: class TagLib::ByteVector __thiscall TagLib::FLAC::Picture::data(void)const " (?data@Picture@FLAC@TagLib@@QBE?AVByteVector@3@XZ) referenced in function "public: virtual bool __thiscall CSTDInfoManager::GetAlbumArt(wchar_t *,unsigned long,void * *,unsigned long *,wchar_t *,unsigned long *)" (?GetAlbumArt@CSTDInfoManager@@UAE_NPA_WKPAPAXPAK02@Z)
     1>taglib(static)d.lib(flacfile.obj) : error LNK2019: unresolved external symbol "public: __thiscall TagLib::FLAC::UnknownMetadataBlock::UnknownMetadataBlock(int,class TagLib::ByteVector const &)" (??0UnknownMetadataBlock@FLAC@TagLib@@QAE@HABVByteVector@2@@Z) referenced in function "public: virtual bool __thiscall TagLib::FLAC::File::save(void)" (?save@File@FLAC@TagLib@@UAE_NXZ)
     1>taglib(static)d.lib(flacfile.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall TagLib::FLAC::Picture::parse(class TagLib::ByteVector const &)" (?parse@Picture@FLAC@TagLib@@QAE_NABVByteVector@3@@Z) referenced in function "private: void __thiscall TagLib::FLAC::File::scan(void)" (?scan@File@FLAC@TagLib@@AAEXXZ)
     1>taglib(static)d.lib(flacfile.obj) : error LNK2019: unresolved external symbol "public: __thiscall TagLib::FLAC::Picture::Picture(void)" (??0Picture@FLAC@TagLib@@QAE@XZ) referenced in function "private: void __thiscall TagLib::FLAC::File::scan(void)" (?scan@File@FLAC@TagLib@@AAEXXZ)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2019: unresolved external symbol "public: static class TagLib::ASF::Picture __cdecl TagLib::ASF::Picture::fromInvalid(void)" (?fromInvalid@Picture@ASF@TagLib@@SA?AV123@XZ) referenced in function "public: __thiscall TagLib::ASF::Attribute::AttributePrivate::AttributePrivate(void)" (??0AttributePrivate@Attribute@ASF@TagLib@@QAE@XZ)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2019: unresolved external symbol "public: class TagLib::ASF::Picture & __thiscall TagLib::ASF::Picture::operator=(class TagLib::ASF::Picture const &)" (??4Picture@ASF@TagLib@@QAEAAV012@ABV012@@Z) referenced in function "public: __thiscall TagLib::ASF::Attribute::Attribute(class TagLib::ASF::Picture const &)" (??0Attribute@ASF@TagLib@@QAE@ABVPicture@12@@Z)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2019: unresolved external symbol "public: class TagLib::ByteVector __thiscall TagLib::ASF::Picture::render(void)const " (?render@Picture@ASF@TagLib@@QBE?AVByteVector@3@XZ) referenced in function "public: class TagLib::ByteVector __thiscall TagLib::ASF::Attribute::toByteVector(void)const " (?toByteVector@Attribute@ASF@TagLib@@QBE?AVByteVector@3@XZ)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2019: unresolved external symbol "public: __thiscall TagLib::ASF::Picture::Picture(class TagLib::ASF::Picture const &)" (??0Picture@ASF@TagLib@@QAE@ABV012@@Z) referenced in function "public: class TagLib::ASF::Picture __thiscall TagLib::ASF::Attribute::toPicture(void)const " (?toPicture@Attribute@ASF@TagLib@@QBE?AVPicture@23@XZ)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2019: unresolved external symbol "public: void __thiscall TagLib::ASF::Picture::parse(class TagLib::ByteVector const &)" (?parse@Picture@ASF@TagLib@@QAEXABVByteVector@3@@Z) referenced in function "public: class TagLib::String __thiscall TagLib::ASF::Attribute::parse(class TagLib::ASF::File &,int)" (?parse@Attribute@ASF@TagLib@@QAE?AVString@3@AAVFile@23@H@Z)
     1>taglib(static)d.lib(asfattribute.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TagLib::ASF::Picture::dataSize(void)const " (?dataSize@Picture@ASF@TagLib@@QBEHXZ) referenced in function "public: int __thiscall TagLib::ASF::Attribute::dataSize(void)const " (?dataSize@Attribute@ASF@TagLib@@QBEHXZ)
     1>..\Win32\Debug\std_InfoManager.dll : fatal error LNK1120: 17 unresolved externals
     1>Done Building Project "E:\Development\Tuniac\Tuniac1\std_InfoManager\std_InfoManager.vcxproj" (rebuild target(s)) -- FAILED.

Build FAILED.

Time Elapsed 00:00:04
Oh and also, in the include directories there's a D:\Code\portaudio\include
Is this some kind of leftover, or something I need to get as well (I don't see it mentioned here)

Re: How-to compile tuniac??

Posted: Wed Apr 20, 2011 11:09 pm
by Brett
In a rush but portaudio isnt needed afaik.

You need to fix the include dirs for the std infomanager so it can find the taglib lib.
In the near future in a commit I will do it will look like:
D:\Code\git\taglib.git\taglib
Currently it will be something similar.


Compile taglib,
find the compiled libs
make sure they are named taglib.lib, taglibd.lib taglib64 taglib64d etc
point the include and lib paths of the std infomanager to taglib folders :)