Jump to content

Recommended Posts

Posted

I have a static library which I use for a leadwerks 3.0 project but then in VS 2010. I have created a new 3.1 C++ project and now I have trouble getting the lib to work.

 

I have followed all the steps from adding additional folders to specifying the lib name, but including my library simply doesn't work.

http://msdn.microsoft.com/en-us/library/ms235627.aspx

 

Anybody having good experience with lib linking in vs2013?

Posted

i think it has to do with the name mangling C++ does. Now I've heard of people building their libs in C (no name mangling) and wrapping it in C++ using fancy stuff like function pointers and c style classes (Structs with function pointers).

bool Life()
{
 while(death=false)
 {
   if(death==true)
   return death;
 }
}

 

I have found the secret to infinite life

 

Did I help you out? Like my post!

Posted

I actually rebuild the lib for debug and release with visual studio 2013 without errors.

 

Where visual studio 2010 recognised the lib and I was able to succesfully link, it doesn't do anything in 2013 with the new libs. After setting the command output to verbose (/VERBOSE). I get no messages on that the library is linked succesfully but neither are errors being displayed.

 

With 2010 everything works just fine. If someone is willing to check out if they can link it, I will post the lib tonight.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...