Eroare

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
thebestadam
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 240
Membru din: 08 Aug 2013, 15:26
Server: Server interzis - Spam.ro
Regat: Jinno
Aprecieri: 120  
Mulţumiri: 277  
 Contact:
Medalii

buna seara , am niste errori la compilare sursa client happines , ma poate ajuta cineva va rog?
------ Rebuild All started: Project: scriptLib, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'scriptLib', configuration 'Release|Win32'
Compiling...
StdAfx.cpp
Compiling...
PythonDebugModule.cpp
Resource.cpp
PythonUtils.cpp
.\PythonUtils.cpp(1) : warning C4603: 'PyLong_AsLong' : macro is not defined or definition is different after precompiled header use
Add macro to precompiled header instead of defining here
.\PythonUtils.cpp(3) : use of precompiled header
.\PythonUtils.cpp(2) : warning C4603: 'PyLong_AsUnsignedLong' : macro is not defined or definition is different after precompiled header use
Add macro to precompiled header instead of defining here
.\PythonUtils.cpp(3) : use of precompiled header
PythonMarshal.cpp
PythonLauncher.cpp
Generating Code...
Creating library...
Build log was saved at "file://c:\Users\Fondator\Desktop\Binary [source]\ScriptLib\Release\BuildLog.htm"
scriptLib - 0 error(s), 2 warning(s)
------ Rebuild All started: Project: mileslib, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'mileslib', configuration 'Release|Win32'
Compiling...
Stdafx.cpp
Compiling...
SoundBase.cpp
Type.cpp
.\Type.cpp(48) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Fondator\Desktop\Include\stdio.h(358) : see declaration of '_snprintf'
.\Type.cpp(92) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Fondator\Desktop\Include\stdio.h(237) : see declaration of 'fopen'
.\Type.cpp(97) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Users\Fondator\Desktop\Include\stdio.h(358) : see declaration of '_snprintf'
SoundManagerStream.cpp
Afișează semnătura
Avatar utilizator
thebestadam
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 240
Membru din: 08 Aug 2013, 15:26
Server: Server interzis - Spam.ro
Regat: Jinno
Aprecieri: 120  
Mulţumiri: 277  
 Contact:
Medalii

Va rog..

[ Postat de pe Android ] Imagine
Afișează semnătura
Avatar utilizator
Karthus
Nivel 1

Nivel 1
Mesaje: 59
Membru din: 04 Apr 2017, 21:42
Server: royal.c-mt2.ro/home
Regat: Jinno
Aprecieri: 111  
Mulţumiri: 1  
Medalii

adauga in CMakeList.txt urmatoarele lini:

Cod: Selectaţi tot

 if(WIN32)
   add_definitions(-DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX)
-  add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+  add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
 elseif(UNIX)
   add_compile_options(-pthread)
   list(APPEND EXTRA_TARGET_LINK_LIBRARIES -pthread)
Avatar utilizator
thebestadam
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 240
Membru din: 08 Aug 2013, 15:26
Server: Server interzis - Spam.ro
Regat: Jinno
Aprecieri: 120  
Mulţumiri: 277  
 Contact:
Medalii

Karthus scrie:adauga in CMakeList.txt urmatoarele lini:

Cod: Selectaţi tot

 if(WIN32)
   add_definitions(-DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX)
-  add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+  add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
 elseif(UNIX)
   add_compile_options(-pthread)
   list(APPEND EXTRA_TARGET_LINK_LIBRARIES -pthread)
Unde pot gasi "CMakeList.txt"

[ Postat de pe Android ] Imagine
Afișează semnătura
Avatar utilizator
thebestadam
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 240
Membru din: 08 Aug 2013, 15:26
Server: Server interzis - Spam.ro
Regat: Jinno
Aprecieri: 120  
Mulţumiri: 277  
 Contact:
Medalii

thebestadam scrie:
Karthus scrie:adauga in CMakeList.txt urmatoarele lini:

Cod: Selectaţi tot

 if(WIN32)
   add_definitions(-DUNICODE -D_UNICODE -DSTRICT -DNOMINMAX)
-  add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+  add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
 elseif(UNIX)
   add_compile_options(-pthread)
   list(APPEND EXTRA_TARGET_LINK_LIBRARIES -pthread)
Unde pot gasi "CMakeList.txt"

[ Postat de pe Android ] Imagine
Nu am nici un CMakeList.txt in susrsa..
Afișează semnătura
Avatar utilizator
thebestadam
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 240
Membru din: 08 Aug 2013, 15:26
Server: Server interzis - Spam.ro
Regat: Jinno
Aprecieri: 120  
Mulţumiri: 277  
 Contact:
Medalii

T/C nerezolvat.
Afișează semnătura
Avatar utilizator
Hades ✔
Utilizatorul Lunii Noiembrie

Utilizatorul Lunii Noiembrie
Mesaje: 3363
Membru din: 22 Aug 2016, 18:35
Server: Hades World
Aprecieri: 104  
Mulţumiri: 824  
Discord: Copiază ID
 Contact:
Medalii

T/C la cererea Autorului! Mutat în "Arhivă".
Hades World
(New) 2023 Version for Selling!
Discord: hades_97
Server Discord: https://discord.gg/YF27nkC

:flag_gb: :flag_ro: :flag_de: :flag_tr: :flag_pl: :flag_cz: :flag_fr: :flag_pt: :flag_nl: :flag_gr: :flag_hu: :flag_it: :flag_es:

Imagine
Afișează semnătura
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 54 vizitatori