EOSERV Forum > EOSERV > Alittle Help Building EOSERV
Page: << 1 >>
Alittle Help Building EOSERV
Author Message
Post #200955 Alittle Help Building EOSERV

\eoserv-trunk-r535\trunk\src\world.cpp|1222|error: 'snprintf' was not declared in this scope|

Finally got everything to work only left with this one error at the moment, Any help would be appreciated 

7 years, 31 weeks ago
Post #200956 Re: Alittle Help Building EOSERV

Are you using CodeBlocks with TDM's MinGW? If not, download that and replace the default folder with TDM's.

7 years, 31 weeks ago
Post #200957 Re: Alittle Help Building EOSERV

**EDIT - just now seen where you had posted elsewhere, did you mean download and install tdm-gcc-5.1.0-3?

do i install it into default location of do i need to specify someplace?

7 years, 31 weeks ago
Post #200958 Re: Alittle Help Building EOSERV

Make sure you're using the right version (32bit or 64bit) to match your system, that made a difference for me.

---
stay tuned.
7 years, 31 weeks ago
Post #200960 Re: Alittle Help Building EOSERV

i downloaded TDMs and installed it into the default MinGW folder and got same error when trying to rebuild

||=== Build: SQLITE in eoserv (compiler: GNU GCC Compiler) ===|

eoserv-trunk-r535\trunk\src\world.cpp|1222|error: 'snprintf' was not declared in this scope|

||=== Build failed: 1 error(s), 6 warning(s) (1 minute(s), 13 second(s)) ===|


7 years, 31 weeks ago
Post #200961 Re: Alittle Help Building EOSERV

My guess is your compiler is shitting itself because it doesn't know what C++ 11 is. snprintf is a function added in C++ 11 to perform fnprintf type actions but record the resultant string to a variable instead of a file.

tl;dr it does sound like an outdated compiler.

---
Want to learn to pixel?
Pixelsource.org
7 years, 31 weeks ago
Post #200962 Re: Alittle Help Building EOSERV

hmm if thats the case i might need to update Windows and all my VB files and try again

7 years, 31 weeks ago
Post #200963 Re: Alittle Help Building EOSERV
Infamous_Designs posted: (22nd Sep 2016, 08:19 pm)

hmm if thats the case i might need to update Windows and all my VB files and try again


VB files? You're not using Visual Studios for EOSERV, are you?
---
Want to learn to pixel?
Pixelsource.org
7 years, 31 weeks ago
Post #200966 Re: Alittle Help Building EOSERV

No i only use Visual Studio for my EO Client, but i have some windows and vb updates among others i had a problem installing a wile back guess i need to go back and do everything

7 years, 31 weeks ago
Page: << 1 >>

EOSERV Forum > EOSERV > Alittle Help Building EOSERV