Ok now I have more time:
1)portaudio isnt needed and the project had been updated but not committed to not include that, that is now committed.
Hint: svn update Tuniac
2)the include dirs in the project were D:\Code\taglib but are now D:\Code\git\taglib.git\taglib\taglib, still change them to suit your folder layout
3)I forgot to mention in the original instructions to include the lib path for taglib in std_infomanager, hence yours issues I believe.
For Win32 release I set the library directories(same area of VS 2010 as the include directories) to include:
D:\Code\git\taglib.git\taglib\taglib\win32\Win32\Release
Win32 debug:
D:\Code\git\taglib.git\taglib\taglib\win32\Win32\Debug
x64 Release:
D:\Code\git\taglib.git\taglib\taglib\win32\x64\Release
x64 Debug:
D:\Code\git\taglib.git\taglib\taglib\win32\x64\Debug
Also remember to build the taglib lib by opening its project and building it in all the ways you intend to compile Tuniac (win32/x64 x86/x64.)
EDIT: actually looking more closely its likely the out of date taglib 1.6 project, grab the below 1.7/current git based project files and recompile.
4)Newer taglib project here:
http://www.wasteofcash.com/Tuniac/taglib_1.7_vs2010.zip
5)Directx SDK is upto June 2010, it should auto add its include paths now, if not manually set them yourself
http://www.microsoft.com/downloads/en/d ... 8a3ba730ba
How-to compile tuniac??
Re: How-to compile tuniac??
InfoManager seems to build now
Just one question, I used you project with the taglib source and I got this:
Where does this config.h come from? I just created an empty one.
Anyway, unfortunally TuniacApp doesn't build...
I see references to jpeglib so I assumed you need that one aswell.
I finally managed to build it (but only for release, the project doesn't seem to have any debug configuration).
Then when I fixed the paths in TuniacApp for jpeglib I got these errors:
So... I tried the /NODEFAULTLIB:MSVCRT thing it mentioned and got:
So the problem seems to have something to do with jpeglib perhaps.
Maybe I screwed up something when I built it? Never got nmake to work so I renamed the solution and project files mentioned in the makefile manually.
Just one question, I used you project with the taglib source and I got this:
Code: Select all
Error 1 error C1083: Cannot open include file: 'config.h': No such file or directory c:\libs\taglib-1.7\taglib\mpeg\id3v2\id3v2frame.cpp 27 1 taglib(static)
Error 2 error C1083: Cannot open include file: 'config.h': No such file or directory c:\libs\taglib-1.7\taglib\mpeg\id3v2\id3v2framefactory.cpp 27 1 taglib(static)
Anyway, unfortunally TuniacApp doesn't build...
I see references to jpeglib so I assumed you need that one aswell.
I finally managed to build it (but only for release, the project doesn't seem to have any debug configuration).
Then when I fixed the paths in TuniacApp for jpeglib I got these errors:
Code: Select all
1>MSVCRT.lib(MSVCR100.dll) : error LNK2005: ___iob_func already defined in LIBCMT.lib(_file.obj)
1>MSVCRT.lib(MSVCR100.dll) : error LNK2005: _exit already defined in LIBCMT.lib(crt0dat.obj)
1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>..\Win32\Release\TuniacApp.exe : fatal error LNK1169: one or more multiply defined symbols found
1>Done Building Project "E:\Development\Tuniac\Tuniac1\TuniacApp\TuniacApp.vcxproj" (build target(s)) -- FAILED.
Code: Select all
1>jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol __imp__fprintf
1>jpeg.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol __imp__sscanf
1>jpeg.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol __imp__getenv
1>..\Win32\Release\TuniacApp.exe : fatal error LNK1120: 3 unresolved externals
1>Done Building Project "E:\Development\Tuniac\Tuniac1\TuniacApp\TuniacApp.vcxproj" (rebuild target(s)) -- FAILED.
Maybe I screwed up something when I built it? Never got nmake to work so I renamed the solution and project files mentioned in the makefile manually.
Re: How-to compile tuniac??
config.h should have been in the zip file and extracted to the win32 folder.
Its possible your zip app excluded it because it was 0 bytes(mines just empty as well). I think Windows zip support does that, 7zip does not.
My jpeg-8c project
http://www.wasteofcash.com/Tuniac/jpeg-8c_vs2010.zip
Suits jpeg-8c:
http://www.ijg.org/
http://www.ijg.org/files/jpegsr8c.zip
See if that builds better for you.
For TuniacApp
Add include dir:
D:\Code\jpeg-8c;
Add lib dir:
Win32: D:\Code\jpeg-8c\Release or Debug
x64: D:\Code\jpeg-8c\x64\Release or Debug
Try above first, but if it still moans about LIBCMT, under the TuniacApp or jpeglib project try Linker -> Input -> Ignore Specific default library -> Add "LIBCMT"
Edit: This is where I think we are at to get Tuniac to build:
http://www.wasteofcash.com/Tuniac/How_To_Build.txt
Its possible your zip app excluded it because it was 0 bytes(mines just empty as well). I think Windows zip support does that, 7zip does not.
My jpeg-8c project
http://www.wasteofcash.com/Tuniac/jpeg-8c_vs2010.zip
Suits jpeg-8c:
http://www.ijg.org/
http://www.ijg.org/files/jpegsr8c.zip
See if that builds better for you.
For TuniacApp
Add include dir:
D:\Code\jpeg-8c;
Add lib dir:
Win32: D:\Code\jpeg-8c\Release or Debug
x64: D:\Code\jpeg-8c\x64\Release or Debug
Try above first, but if it still moans about LIBCMT, under the TuniacApp or jpeglib project try Linker -> Input -> Ignore Specific default library -> Add "LIBCMT"
Edit: This is where I think we are at to get Tuniac to build:
http://www.wasteofcash.com/Tuniac/How_To_Build.txt
Re: How-to compile tuniac??
There was a 0 kb file called taglib_config.h, but some of the source files tried to include a file called just config.h also, which was not in the archive (tried with windows zip and winrar).Brett wrote:config.h should have been in the zip file and extracted to the win32 folder.
Its possible your zip app excluded it because it was 0 bytes(mines just empty as well). I think Windows zip support does that, 7zip does not.
Great! After building jpeglib with your project, TuniacApp now compiles Thanks.Brett wrote:My jpeg-8c project
http://www.wasteofcash.com/Tuniac/jpeg-8c_vs2010.zip
Suits jpeg-8c:
http://www.ijg.org/
http://www.ijg.org/files/jpegsr8c.zip
See if that builds better for you.
You should probably add what files you need to copy over like bass etc.Brett wrote:Edit: This is where I think we are at to get Tuniac to build:
http://www.wasteofcash.com/Tuniac/How_To_Build.txt
Maybe also note to copy NoAlbumArt.jpg
But, maybe the required files could be automatically copied to the directory with TuniacApp.exe through a build event?
For TuniacApp, in the properties, Build Events -> Post-Build Event a command line can be entered.
Or maybe it should be done as a Custom Build Step, I don't know.
Re: How-to compile tuniac??
My bad on the config.h, you are right of course.
Updated the zip now to include both referenced config.h files.
I have now added scripts to shn_Plugin, bass_Plugin and TuniacApp to move files they require.
How_To_Build.txt is updated also added to svn.
Updated the zip now to include both referenced config.h files.
I have now added scripts to shn_Plugin, bass_Plugin and TuniacApp to move files they require.
How_To_Build.txt is updated also added to svn.