Adaptation PC NFS​​ Shift in Arcade

This is a discussion on Adaptation PC NFS​​ Shift in Arcade within the C++ Programming forums, part of the General Programming Boards category; Already added in Linker - Input - additional dependencies - "user32.lib" and added the command line # pragma comment (lib, ...

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    2

    Adaptation PC NFS​​ Shift in Arcade

    Already added in Linker - Input - additional dependencies - "user32.lib"
    and added the command line # pragma comment (lib, "user32.lib") in main.he nothing, can someone help me?

    Project: http://depositfiles.com/files/c0s8gmm8p

    windows xp sp3 x86 in virtualbox, visual studio 2008 professional, allegro-msvc80-4.2.2, Direct SDk Junho 2008, directx 9.0c e Autoit v3.3.8.1.

    Compiling...
    main.cpp
    overlay_renderer.cpp
    stdafx.cpp
    Generating Code...
    Compiling manifest to resources...
    Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
    Copyright (C) Microsoft Corporation. All rights reserved.
    Linking...
    Code:
    main.obj : error LNK2019: unresolved external symbol __imp__allegro_exit  referenced in function "int __cdecl _mangled_main(int,char * * const)"  (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol _AU3_ProcessClose@4  referenced in function "int __cdecl _mangled_main(int,char * * const)"  (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol  __imp__PlaySoundA@12 referenced in function "int __cdecl  _mangled_main(int,char * * const)" (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol  _AU3_ProcessExists@4 referenced in function "int __cdecl  _mangled_main(int,char * * const)" (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol __imp__SetTimer@16  referenced in function "int __cdecl _mangled_main(int,char * * const)"  (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol  __imp__win_get_window referenced in function "int __cdecl  _mangled_main(int,char * * const)" (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol  __imp__set_window_title referenced in function "int __cdecl  _mangled_main(int,char * * const)" (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol  __imp__allegro_message referenced in function "int __cdecl  _mangled_main(int,char * * const)" (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2001: unresolved external symbol __imp__allegro_error
    main.obj : error LNK2019: unresolved external symbol __imp__set_gfx_mode  referenced in function "int __cdecl _mangled_main(int,char * * const)"  (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol  __imp__MessageBoxA@16 referenced in function "int __cdecl  _mangled_main(int,char * * const)" (?_mangled_main@@YAHHQAPAD@Z)
    overlay_renderer.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16
    main.obj : error LNK2019: unresolved external symbol  __imp___install_allegro_version_check referenced in function "int  __cdecl _mangled_main(int,char * * const)" (?_mangled_main@@YAHHQAPAD@Z)
    main.obj : error LNK2019: unresolved external symbol __imp___WinMain referenced in function _WinMain@16
    main.obj : error LNK2019: unresolved external symbol __imp__joyGetPos@8  referenced in function "void __stdcall TimerProc(void *,unsigned  int,unsigned int,unsigned long)" (?TimerProc@@YGXPAXIIK@Z)
    main.obj : error LNK2019: unresolved external symbol _AU3_Send@8  referenced in function "int __cdecl posiciona_tela_pista(void)"  (?posiciona_tela_pista@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol _AU3_MouseMove@12  referenced in function "int __cdecl carrega_configuracao(void)"  (?carrega_configuracao@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol  __imp__get_desktop_resolution referenced in function "int __cdecl  carrega_configuracao(void)" (?carrega_configuracao@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol __imp__exists  referenced in function "int __cdecl carrega_configuracao(void)"  (?carrega_configuracao@@YAHXZ)
    main.obj : error LNK2019: unresolved external symbol __imp__KillTimer@8  referenced in function "void __cdecl limpa_memoria(void)"  (?limpa_memoria@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol  __imp__joyGetDevCapsA@12 referenced in function "void __cdecl  GetJoyMin(int)" (?GetJoyMin@@YAXH@Z)
    main.obj : error LNK2019: unresolved external symbol  _AU3_ProcessWaitClose@8 referenced in function "int __cdecl  reinicia_jogo(int)" (?reinicia_jogo@@YAHH@Z)
    main.obj : error LNK2019: unresolved external symbol  __imp__GetWindowThreadProcessId@8 referenced in function "void * __cdecl  abre_processo_memoria(void)" (?abre_processo_memoria@@YAPAXXZ)
    main.obj : error LNK2019: unresolved external symbol  __imp__FindWindowA@8 referenced in function "void * __cdecl  abre_processo_memoria(void)" (?abre_processo_memoria@@YAPAXXZ)
    overlay_renderer.obj : error LNK2019: unresolved external symbol  _DirectDrawCreateEx@16 referenced in function "public: __thiscall  overlay_renderer_t:verlay_renderer_t(void)"  (??0overlay_renderer_t@@QAE@XZ)
    overlay_renderer.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7
    overlay_renderer.obj : error LNK2019: unresolved external symbol  __imp__DrawTextA@20 referenced in function  __catch$?update@overlay_renderer_t@@QAEXPBD@Z$0
    overlay_renderer.obj : error LNK2019: unresolved external symbol  __imp__FillRect@12 referenced in function  __catch$?update@overlay_renderer_t@@QAEXPBD@Z$0
    overlay_renderer.obj : error LNK2019: unresolved external symbol  __imp__SetRect@20 referenced in function  __catch$?update@overlay_renderer_t@@QAEXPBD@Z$0
    C:\brnfssv2\Debug\BRNFSS.exe : fatal error LNK1120: 28 unresolved externals
    Build log was saved at "file://c:\brnfssv2\Debug\BuildLog.htm"
    BRNFSS - 30 error(s), 0 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    > Already added in Linker - Input - additional dependencies - "user32.lib"
    What about adding your allegro and autoit libraries as well?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Mar 2012
    Posts
    2
    Quote Originally Posted by Salem View Post
    > Already added in Linker - Input - additional dependencies - "user32.lib"
    What about adding your allegro and autoit libraries as well?
    I performed all procedures for enabling the Autoit and Allegro for visual c + + in some forums, you have some documentation to aid in the inclusion of this procedure?

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    On the face of it, you've only followed the "procedure" for telling the compiler where to look for header files.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Text mode arcade game
    By Auradrummer in forum C++ Programming
    Replies: 2
    Last Post: 05-12-2010, 08:25 PM
  2. Bit shift
    By nenpa8lo in forum C Programming
    Replies: 8
    Last Post: 09-03-2008, 07:30 AM
  3. arcade style name input function
    By asafze in forum C Programming
    Replies: 1
    Last Post: 06-11-2004, 10:53 PM
  4. Shift Key
    By gnu-ehacks in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-31-2002, 04:47 PM
  5. Microswitch joysticks and arcade switches
    By Scourfish in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-30-2001, 07:50 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21