Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7683681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:51:02+00:00 2026-05-31T18:51:02+00:00

We are trying to build a Editor for our Game Engine and so we

  • 0

We are trying to build a Editor for our Game Engine and so we made a lib from the Engine und link that in the Editor Proj.
The Path for the Lib and the Include Dir are remarked in the Proj. prop.
I tryed it with and without WinAPI but the Link Error still remains.
The Functions which are defined directly in the Header work, but the functions which are defined in the c++ files are creating the link errors. To i have to add the .cpp files in the Proj., isn’t the lib exactly for that? -.-

OS: Windows 7 64Bit

Visual Studio 2010

#include "pch.h"

Application* g_pApp = NULL;

INT WINAPI WinMain( __in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in LPSTR lpCmdLine, __in int nShowCmd )
{
BlocoApp blocoApp(&g_pApp);

// start engine
Editor mainForm;
if(!g_pApp->Init(L"Bloco", 1600, 900, true, hInstance))
{
    g_pApp->Exit();
    return 1;
}

// main loop
DXUTMainLoop();

g_pApp->Exit();

return 0;
}

The Compiler Error:

error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall Application::Init(class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >,unsigned int,unsigned int,bool,struct HINSTANCE__ *,struct HWND__ *)" (?Init@Application@@QAE_NV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@II_NPAUHINSTANCE__@@PAUHWND__@@@Z)".
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:51:03+00:00Added an answer on May 31, 2026 at 6:51 pm

    The Path for the Lib … are remarked in the Proj. prop

    I suspect that you’ve configured the directory where the library is in the project’s “Additional Library Directories” setting. That configures locations where the linker will look for library files it’s been told to look for.

    However, you also need to tell the linker to actually include the library as an input file. This is done in the IDE using the “Input/Additional Dependencies” property.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a Web page that has a rich text editor. Is
I'm trying build a method which returns the shortest path from one node to
I'm trying to build a level editor for a game I'm working on. It
I'm trying to build a very specific editor with syntax highlight. I've made all
I am trying to build a rails app that's basically just a text-editor (with
Im currently trying to build a save editor for a video game. Anyway the
I am trying to build a specialized WYSIWYG text editor in the browser, and
So, I'm working with CKEditor and jQuery, trying to build a pop-out editor. Below
Actually, I'm trying to build a little Image Viewer cum Editor as a small
I am currently trying to develop a basic pixel editor application to build up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.