Comments (7)
Could you perhaps post the errors?
Do you have the latest update of VS2013 installed?
from tgui.
Oh, that could be the problem. After installation I'll try again.
from tgui.
Yees. I'm sorry. It works now.
There's only the warning concerning the old C-functions but that's not important I think.
from tgui.
I'm glad to hear that updating to the latest version solves it. At least I now know for sure that it is what I should recommend when people can't build it in VS2013. You are the second person in short time who got these errors while I never had these errors even though I didn't have the latest VS2013 version. I guess you must have had an even older one.
The warning is indeed not important for using tgui, but it does make me wonder. What warning are you talking about exactly? There has always been an annoying warning about strcpy, but it was supposed to be fixed two weeks ago.
from tgui.
I don't know the exact name right now, but it's something like you have to define "CRT Secure No Warnings" to disable it. Normally if I use those functions I get the warning as error, so it stops compiling. Therefore I think you regulated the debugging level or something instead of defining CRT... because VS generated only a warning. That's the only fitting explanation for me.
Excuse me for my school English. I don't have much experience using it practically :P
from tgui.
I have no idea why the warning still pops up (since it is supposed to use the secure function https://github.com/texus/TGUI/blob/v0.7-dev/src/TGUI/Clipboard.cpp#L86-L90).
But your description matches with what I have noticed before. It is frustrating that it gives a compile error on the code without the right compiler settings, because the reason I use that code in the first place is because the Windows API itself is so damn low level. And the secure functions that they recommend only exist in VS.
In the examples on msdn they seem to use memcpy instead of strcpy, which would also solve the warning/error. But it doesn't really matter, with some luck the clipboard will be handled by sfml soon.
Since the errors are solved with updating VS and I'm no longer going to look any closer at the warning, I guess I'll just close this issue. Thanks anyway.
from tgui.
Doesn't appear anymore. Just don't ask, I have no plan :D
from tgui.
Related Issues (20)
- Autocomplete support for EditBox HOT 2
- Can not input CJK words HOT 9
- Black background shown when changing window size HOT 4
- How to customize the window's title bar and frame HOT 2
- How to implement a polygon window HOT 2
- Hover style does not disappear when mouse moves out of the window HOT 6
- Add a 2d chart or rendering 3d data for TGUI? HOT 1
- Chinese support? HOT 5
- Focus Issues HOT 1
- [ANNOUNCE] The TGUI now distributed via MSYS2 on Windows HOT 1
- CMake fails to install pkg-config files HOT 2
- On macOS, Input Method Editors(IME) behavior seems incorrect. HOT 6
- How to use SDL2/3 backend with cmake `FetchContent` HOT 2
- [Question] How to compile my first example of TGUI ? HOT 13
- [Bug] Dead radio button text HOT 3
- [Bug] Tabs state after disabled tab click HOT 2
- FileDialog documentation needs clarification and maybe working examples HOT 4
- Is there a C binding? HOT 12
- Raylib backend? HOT 15
- Cannot delete widgets inside of the gui-builder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tgui.