Musepack Forums

Musepack Forums (https://forum.musepack.net/index.php)
-   Development (https://forum.musepack.net/forumdisplay.php?f=11)
-   -   MSVC linker error (https://forum.musepack.net/showthread.php?t=185)

Sebastian Andersson 09 May 2005 11:00 pm

MSVC linker error
 
Hello!

I am getting this error when trying to build libmpcdec;

Code:

LINK : fatal error LNK1561: entry point must be defined
Anyone else experiencing this?

Regards,
Sebastian Andersson

Lefungus 10 May 2005 09:37 pm

Which version of Visual Studio ?
What are you compiling ? libmpcdec in release/debug mode ?
It work fine for me on msvc6 and Seed was able to compile it without link errors on .net 2003.
We did spot an error though, when you try to compile the sample app in debug mode. I fixed this and will update the svn when it'll be synchronized again. However, sample workspace compile an optionnal example app, so you don't need it to make use of the library.

Sebastian Andersson 11 May 2005 12:28 pm

I am compiling libmpcdec in Release mode using Visual Studio 6 along with Service Pack 5 and processor pack.

Lefungus 11 May 2005 06:18 pm

Please pm/send me the build log, which should be named libmpcdec.plg.

Lefungus 11 May 2005 08:45 pm

You have this:
Creating command line "link.exe @E:\DOCUME~1\SEBAST~1\LOKALA~1\Temp\RSP1690.tmp"
while it should be this:
Creating command line "link.exe -lib @E:\DOCUME~1\SEBAST~1\LOKALA~1\Temp\RSP1690.tmp"

For some reason I'm not aware of, your msvc doesn't compile the lib as a lib. I also use msvc6 + sp5 + processor pack, so I can only guess it's due to some bug or weird config in your msvc installation :(

Sebastian Andersson 11 May 2005 11:33 pm

Oh. Thanks for pointing it out! I will have a look at it. :)


All times are GMT. The time now is 06:56 am.

Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2020, vBulletin Solutions Inc.