|
Re: How to set up a build environment for compiling the scripts.dll [message #372587 is a reply to message #372425] |
Wed, 18 February 2009 17:56 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
GT41 wrote on Mon, 16 February 2009 22:34 | since that i see this topic i decided to have a go. It is worth learning if you can. i got 3 errors not sure why. anyone know?
1>------ Build started: Project: SSGM, Configuration: Debug Win32 ------
1>Linking...
1>Searching libraries
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1> Searching except.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1> Searching except.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>Finished searching libraries
1> Creating library .\bin\debug/scripts.lib and object .\bin\debug/scripts.exp
1>Searching libraries
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1> Searching except.lib:
1>Finished searching libraries
1>Searching libraries
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1> Searching except.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1> Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>Finished searching libraries
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>scripts.dll : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Dean\Desktop\SSGM Source\SSGM Source\tmp\scripts\debug\BuildLog.htm"
1>SSGM - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
You didn't install the platform SDK correctly, be sure to follow *all* the steps.
|
|
|
|
Re: How to set up a build environment for compiling the scripts.dll [message #380932 is a reply to message #296486] |
Fri, 17 April 2009 23:17 |
|
Darknes2
Messages: 91 Registered: July 2007 Location: Alaberma
Karma: 0
|
Recruit |
|
|
>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>scripts.dll : fatal error LNK1120: 2 unresolved externals
[EDIT]
sorry didnt see that was already fixed for someone LOL :S
[EDIT #2]
sorry but i STILL can't get this to work!
DWC Forums
www.Darknes2.com
[Updated on: Fri, 17 April 2009 23:51] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to set up a build environment for compiling the scripts.dll [message #432363 is a reply to message #321262] |
Thu, 08 July 2010 11:51 |
C C_guy
Messages: 133 Registered: January 2007 Location: Canada
Karma: 0
|
Recruit |
|
|
Saberhawk wrote on Sat, 08 March 2008 21:22 | Then you don't have your SDK path setup properly.
|
Using Visual C++ 2005 Express Edition with the Microsoft Platform SDK
By Brian Johnson,
Microsoft Corporation
You can use Visual C++ Express to build powerful .NET Framework applications immediately after installation. In order to use Visual C++ Express to build Win32 applications, you'll need to take just a few more steps. I'll list the steps necessary for building Win32 applications using Visual C++ Express.
Step 1: Install Visual C++ Express.
If you haven't done so already, install Visual C++ Express.
Step 2: Install the Microsoft Platform SDK.
Install the Platform SDK over the Web from the Download Center. Follow the instructions and install the SDK for the x86 platform.
Step 3: Update the Visual C++ directories in the Projects and Solutions section in the Options dialog box.
Add the paths to the appropriate subsection:
Executable files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin
Include files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
Library files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib
Note: Alternatively, you can update the Visual C++ Directories by modifying the VCProjectEngine.dll.Express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express install location. Please make sure that you also delete the file "vccomponents.dat" located in the "%USERPROFILE%\Local Settings\Application Data\Microsoft\VCExpress\8.0" if it exists before restarting Visual C++ Express Edition.
Step 4: Update the corewin_express.vsprops file.
One more step is needed to make the Win32 template work in Visual C++ Express. You need to edit the corewin_express.vsprops file (found in C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults) and
Change the string that reads:
AdditionalDependencies="kernel32.lib"
to
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
Step 5: Generate and build a Win32 application to test your paths.
In Visual C++ Express, the Win32 Windows Application type is disabled in the Win32 Application Wizard. To enable that type, you need to edit the file AppSettings.htm file located in the folder "%ProgramFiles%\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\".
In a text editor comment out lines 441 - 444 by putting a // in front of them as shown here:
// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;
Save and close the file and open Visual C++ Express.
From the File menu, click New Project. In the New Project dialog box, expand the Visual C++ node in the Product Types tree and then click Win32. Click on the Win32 Console Application template and then give your project a name and click OK. In the Win32 Application Wizard dialog box, make sure that Windows application is selected as the Application type and the ATL is not selected. Click the Finish button to generate the project.
As a final step, test your project by clicking the Start button in the IDE or by pressing F5. Your Win32 application should build and run.
|
|
|
|
|
|
|
|
|
Re: How to set up a build environment for compiling the scripts.dll [message #437635 is a reply to message #296486] |
Sun, 10 October 2010 08:00 |
|
cAmpa
Messages: 597 Registered: March 2006
Karma: 0
|
Colonel |
|
|
Quote: | 1>except.lib(unhandld.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__decode_pointer" in Funktion ""long __stdcall __CxxUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *)" (?__CxxUnhandledExceptionFilter@@YGJPAU_EXCEPTION_POINTERS@@@Z)".
1>except.lib(unhandld.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__encode_pointer" in Funktion ""int __cdecl __CxxSetUnhandledExceptionFilter(void)" (?__CxxSetUnhandledExceptionFilter@@YAHXZ)".
|
Any idea how to fix this?
The problem comes with VS2010, 2008 worked fine.
Bückstabü!
|
|
|
|