Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 9 10
31
Development / Re: Batch build problems (hangs/stalls if log window is not active)
« Last post by oBFusCATed on October 15, 2018, 02:51:21 pm »
Calling wxWindow::Close adds some stuff to be cleared on the next idle (PendingDelete or something).
Closing the frame calls the OnApplicationClose method and when Yield is called the PendingDelete stuff is executed too early.
Some code after the Yield uses controls destroyed in PendingDelete. If you check my comment in the ticket you'll see the backtraces.
32
Development / Re: Batch build problems (hangs/stalls if log window is not active)
« Last post by BlueHazzard on October 15, 2018, 02:09:09 pm »
Can you explain why a change in the shut down code should help against an pipe/idle/flush problem happening in the middle of the application? The shutdown function is never called on the way to the bug, so why should it make any difference?
34
Development / Re: How to use OpenGL on Antergos or Arch Linux?
« Last post by stahta01 on October 14, 2018, 09:41:35 pm »
35
Using Code::Blocks / Re: CodeBlocks sucks
« Last post by bcc32x on October 14, 2018, 06:56:11 pm »
I complain your default shipped TDM-GCC because it's broken

It does work, but the default C++ support is not C++11, it's older. You can turn on C++11 in compiler settings (project-build options-compiler flags), and even 14, but I think 14 is experimental in that version of TDM. But when you turn on "have gcc follow C++11 standard" flag things like std::to_string does work. Usually what happens is that compilers or IDEs or any tools or programs aren't broken, you are. Fix yourself and trust me, you'll become a better person and a better programmer.

No it not works: 'to_string' is not a member of 'std'
You should check c++ std status on GNU site: https://www.gnu.org/software/gcc/projects/cxx-status.html
The default TDM compiler really sucks. Don't blame everything on me. Don't try to teach me what to do what not to do, I don't care.

This forums really sucks. I can't even access it (even when not logged in) from google search result. isitdownrightnow.com always gives server down for more than ~7 days or not responding blah blah. You should reverse your words. Check yourself first, check this forums, not checking me. I spent time to search before ask. I didn't intended to waste time of anyone, just because I'm afraid and I'm very dislike mr. obfuscated attitude (which I see arrogant and childish, impolite) so I tried to avoid him. You know, he's the most active here aside from bluehazzard, when you post a new pic it's very likely he will be the one answering you, which I would rather have 0 reply than his answer   >:(

You need to enable -std=c++11 option to use std::to_string(). It is not enabled by default but one can easily enable it from Project > Build options > Compiler settings Bundled compiler may not be state of the art but not absolutely broken either.

There were issues with forum and website access. I also faced difficulty accessing forum.

Regarding your other issues - I'm sure some of them, if not all, can be solved as long as you explain them correctly. You need to help us to help you.

Thank you. You're very kind. I like it.

I checked the same option but with std=c++14 (not 11)  :)

p/s: I'm still using CB now. Since it happily link my FPC compiled dll other problems are trivial  :)
36
Using Code::Blocks / Re: CodeBlocks sucks
« Last post by bcc32x on October 14, 2018, 06:53:19 pm »
The default TDM compiler really sucks. Don't blame everything on me. Don't try to teach me what to do what not to do, I don't care.

That's strange, because std::to_string works if you turn on c++11 or newer flag. There might be some differences or bugs in other platforms (or 32 vs. 64 bit) though. But if that's the case then use another compiler for the features you need. You can shout at the compiler or IDE all you want, it doesn't help compiling the program. There is a kind of a problem when you use new C++ features, because lack of compiler support in older versions. You simply have to think about it when choosing the IDE/compiler for your project before you do anything else.

Embedded  TDM has error. If I use latest i686-posix-dwarf from MinGW64 (8.1.0) it's no problem. By default, since that version of GCC the default standard C++ is shifted from c98 to c11, you don't have to append -std=c++11.
37
Using Code::Blocks / Re: CodeBlocks sucks
« Last post by bcc32x on October 14, 2018, 06:50:53 pm »
isitdownrightnow claims this forum is down even now as I am posting.  Clearly the forum is up and running, but potentially some ISPs are interfering with its access.

The problem is somehow with the host provider codeblocks forum is using. My default DNS of ISP provider block forums.codeblocks.org but not the main site codeblocks.org (I just know by change to opendns). With the new DNS accessing the forums is easier but sometimes it's just down.
38
Using Code::Blocks / Re: CodeBlocks sucks
« Last post by Biplab on October 14, 2018, 06:41:01 pm »
I complain your default shipped TDM-GCC because it's broken

It does work, but the default C++ support is not C++11, it's older. You can turn on C++11 in compiler settings (project-build options-compiler flags), and even 14, but I think 14 is experimental in that version of TDM. But when you turn on "have gcc follow C++11 standard" flag things like std::to_string does work. Usually what happens is that compilers or IDEs or any tools or programs aren't broken, you are. Fix yourself and trust me, you'll become a better person and a better programmer.

No it not works: 'to_string' is not a member of 'std'
You should check c++ std status on GNU site: https://www.gnu.org/software/gcc/projects/cxx-status.html
The default TDM compiler really sucks. Don't blame everything on me. Don't try to teach me what to do what not to do, I don't care.

This forums really sucks. I can't even access it (even when not logged in) from google search result. isitdownrightnow.com always gives server down for more than ~7 days or not responding blah blah. You should reverse your words. Check yourself first, check this forums, not checking me. I spent time to search before ask. I didn't intended to waste time of anyone, just because I'm afraid and I'm very dislike mr. obfuscated attitude (which I see arrogant and childish, impolite) so I tried to avoid him. You know, he's the most active here aside from bluehazzard, when you post a new pic it's very likely he will be the one answering you, which I would rather have 0 reply than his answer   >:(

You need to enable -std=c++11 option to use std::to_string(). It is not enabled by default but one can easily enable it from Project > Build options > Compiler settings Bundled compiler may not be state of the art but not absolutely broken either.

There were issues with forum and website access. I also faced difficulty accessing forum.

Regarding your other issues - I'm sure some of them, if not all, can be solved as long as you explain them correctly. You need to help us to help you.
39
Development / How to use OpenGL on Antergos or Arch Linux?
« Last post by Doctype_ on October 14, 2018, 06:26:55 pm »
I've found a bunch of tutorials about this for Ubuntu but none for Arch or Antergos.
40
Ahhh i did not have all the required source files needed, fixed that now. It still won't compile so i'm at a loss now. The error log in Codeblocks says:

https://imgur.com/a/S2JeJ2y

Quote
||=== Build: Debug in rpgss (compiler: GNU GCC Compiler) ===|
C:\source\rpgss\graphics\Image.cpp||In member function 'void rpgss::graphics::Image::clear_sse2(rpgss::graphics::RGBA)':|
C:\source\rpgss\graphics\Image.cpp|284|error: expected '(' before ')' token|
C:\source\rpgss\graphics\Image.cpp|284|error: expected primary-expression before ')' token|
C:\source\rpgss\graphics\Image.cpp|284|error: expected ')' before 'void'|
C:\source\rpgss\graphics\Image.cpp|284|error: expected primary-expression before ')' token|
C:\source\rpgss\graphics\Image.cpp|284|error: expected ';' before ')' token|
C:\source\rpgss\graphics\Image.cpp|286|error: 'burst2' was not declared in this scope|
||=== Build finished: 6 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|



There is a typo at end of line number 284.

Change it from
Code: [Select]
16) / 4;)to
Code: [Select]
16) / 4);
Pages: 1 2 3 [4] 5 6 7 8 9 10