Visual Studio - niedziałająca binarka

Odpowiedz Nowy wątek
2015-03-27 18:27

Rejestracja: 6 lat temu

Ostatnio: 3 lata temu

0

Witam, mam taki problem otóż mam projekt w Visual Studio 2013 w c++ i przy użyciu OpenGL. Kompilując go wsyzstko się odpala z paroma warningami log:

Build started 2015-03-27 18:23:08.
     1>Project "C:\Users\Filip\Desktop\tra\Engine\Engine\Engine.vcxproj" on node 2 (Build target(s)).
     1>ClCompile:
         C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D _CRT_SECURE_NO_WARNINGS /D WIN32 /D _DEBUG /D _WINDOWS /D _MBCS /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Camera.cpp ChessEngine.cpp ELight.cpp EOpenGL.cpp ESetting.cpp glm\glm.cpp LoaderOBJ.cpp main.cpp ObjectWizard.cpp TextureMap.cpp Window.cpp
         Window.cpp
         TextureMap.cpp
     1>c:\users\filip\desktop\tra\engine\engine\texturemap.cpp(88): warning C4018: '<' : signed/unsigned mismatch
         ObjectWizard.cpp
         main.cpp
         LoaderOBJ.cpp
         glm.cpp
     1>c:\users\filip\desktop\tra\engine\engine\glm\glm.cpp(187): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
                 c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(245) : see declaration of 'strdup'
     1>c:\users\filip\desktop\tra\engine\engine\glm\glm.cpp(234): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
                 c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(245) : see declaration of 'strdup'
     1>c:\users\filip\desktop\tra\engine\engine\glm\glm.cpp(316): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
                 c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(245) : see declaration of 'strdup'
     1>c:\users\filip\desktop\tra\engine\engine\glm\glm.cpp(330): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
                 c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(245) : see declaration of 'strdup'
     1>c:\users\filip\desktop\tra\engine\engine\glm\glm.cpp(480): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
                 c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(245) : see declaration of 'strdup'
     1>c:\users\filip\desktop\tra\engine\engine\glm\glm.cpp(1317): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
                 c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(245) : see declaration of 'strdup'
     1>c:\users\filip\desktop\tra\engine\engine\glm\glm.cpp(1583): warning C4018: '<' : signed/unsigned mismatch
         ESetting.cpp
         EOpenGL.cpp
         ELight.cpp
         ChessEngine.cpp
         Camera.cpp
         Generating Code...
       Link:
         C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\Filip\Desktop\tra\Engine\Engine\Debug\Engine_OpenGL.exe" /INCREMENTAL:NO /NOLOGO opengl32.lib glu32.lib glut32.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\Filip\Desktop\tra\Engine\Engine\Debug\Engine_OpenGL.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\Filip\Desktop\tra\Engine\Engine\Debug\Engine_OpenGL.lib" /MACHINE:X86 Debug\Camera.obj
         Debug\ChessEngine.obj
         Debug\ELight.obj
         Debug\EOpenGL.obj
         Debug\ESetting.obj
         Debug\glm.obj
         Debug\LoaderOBJ.obj
         Debug\main.obj
         Debug\ObjectWizard.obj
         Debug\TextureMap.obj
         Debug\Window.obj
     1>Camera.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification
         Engine.vcxproj -> C:\Users\Filip\Desktop\tra\Engine\Engine\Debug\Engine_OpenGL.exe
     1>Done Building Project "C:\Users\Filip\Desktop\tra\Engine\Engine\Engine.vcxproj" (Build target(s)).

Build succeeded.

Time Elapsed 00:00:05.47 

Program podczas kompilacji się uruchamia, natomiast kiedy chcę go włączyć przez biharkę to wyskakuje okienko które natychmiastowo się zamyka... Jaka może być tego przyczyna?
Dziękuję za pomoc i pozdawiam

Pozostało 580 znaków

2015-03-27 19:29

Rejestracja: 8 lat temu

Ostatnio: 1 miesiąc temu

0

Musisz skopiować dllki i cały folder grafika do folderu, w którym znajduje się exe (Debug).

Pozostało 580 znaków

2015-03-27 20:00

Rejestracja: 6 lat temu

Ostatnio: 3 lata temu

0

Dzięki :)

Pozostało 580 znaków

Odpowiedz

1 użytkowników online, w tym zalogowanych: 0, gości: 1, botów: 0