Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
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)) ===|



42
Using Code::Blocks / Re: CodeBlocks sucks
« Last post by Krice on October 14, 2018, 12:34:20 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.
43
Can you explain how this patch works and what it tries to achieve?
I've tried to look at it, but I'm not familiar with the code, so I cannot really say if it is a good idea.

Generally my understanding is that without a major redesign, the Class Browser would be a constant cause of problems. As far as I can see this is not a major redesign, but a try to workaround the problem...
44
Your image is not readable by me. And, it likely would not tell me much if I could read it.

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Edit: Finally was able to read some of the image; CB likely can not find the files. Confirm the paths to files are correct and the files exist.

Tim S.
45
First of all, i apologise if this is in the wrong section but i've just joined these forums so i'm new haha.

I posted this on another forum with the regards to the program i use called "Rpg Maker 2003" but got no joy there so thought i'd ask around here. I'm trying to recompile an old .dll plugin for the sdk called "DynRPG" which allows c++ addons to be written as a .dll that add on to RPG Maker's Engine. Plugins for the latest DynRPG require to be compiled with the 4.8.1 version of TDM-GCC but the plugin i am trying to recompile was for an older version of the DynRPG sdk & was compiled with a different version of the compiler. I am trying to make it compatible with an OpenGL renderer plugin for DynRPG that was released recently but because different version compilers were used, the libstdc++-6.dll file that's generated & needed by with either plugin are different file sizes & thus are not interchangeable & render one of the other unable to load. Trying to recompile just always throws up these errors in Codeblocks:

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)) ===|
46
OK, four years later, and I still think I need symbol tree. So, this is the patch against the latest svn head.
I build it under 32bit gcc 7.2 under Windows with wx 3.1.1.

I think we can "disable" the option to show the whole project's tokens in the tree, because this should take too long. But for tokens in a single source file, it should be OK. I don't see time lags.



47
Development / Re: Batch build problems (hangs/stalls if log window is not active)
« Last post by oBFusCATed on October 13, 2018, 11:42:13 am »
Can you try this patch (remove the old one):
Code: [Select]
diff --git a/src/src/main.cpp b/src/src/main.cpp
index 886eead0f..7d4b74cc6 100644
--- a/src/src/main.cpp
+++ b/src/src/main.cpp
@@ -2720,7 +2720,6 @@ void MainFrame::OnApplicationClose(wxCloseEvent& event)

     CodeBlocksEvent evt(cbEVT_APP_START_SHUTDOWN);
     Manager::Get()->ProcessEvent(evt);
-    Manager::Yield();

     m_InitiatedShutdown = true;
     Manager::BlockYields(true);

The other patch just works around the problem. This one tries to fix it.
48
Development / Re: Batch build problems (hangs/stalls if log window is not active)
« Last post by simons on October 13, 2018, 11:00:24 am »
I can confirm now that the patch fixes the problem. I am able to batch build my projects with various compilers unattendedly on my Desktop and also on a Jenkins CI server. Thank's a lot for the support and the submitted fix. Please let me know if there is anything I can do to help with further steps, especially anything that would help towards integrating a fix for the next CB release.
49
Nightly builds / Re: The 08 October 2018 build (11499) is out.
« Last post by Quiss on October 13, 2018, 06:29:22 am »
Yes, patch fixes the issue. Without that, after step into this line:
Code: [Select]
list.SetItemState(0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
It goes to:
Code: [Select]
wxString IncrementalListCtrl::OnGetItemText(long item, long column) const
{
    return m_Iterator->GetDisplayText(item, column);
}
Which is where crash occures.
50
Nightly builds / Re: The 08 October 2018 build (11499) is out.
« Last post by Biplab on October 13, 2018, 04:34:30 am »
Can you post full backtrace of the crash?
Full backtrace is similar to what @Quiss posted. Posting again-
Quote
-------------------

Error occurred on Wednesday, October 10, 2018 at 22:49:49.

codeblocks.exe caused an Access Violation at location 00000000709F40BB in module codeblocks.dll Reading from location FFFFFFFFFFFFFFFF.

AddrPC           Params
00000000709F40BB 00000000008CAA50 000000000C885D10 0000000000000000  codeblocks.dll!IncrementalListCtrl::OnGetItemText
0000000069ED9C92 00000000013E2A80 00007FFC4A873380 00000000000EA8B0  wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
0000000069E79964 0000AF985E35ECDF 0000000000050940 0000000000000434  wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
0000000069E67EBC 0000000080006010 0000000000000042 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 0000AF9800000000 0000000069E708C0 00000000000309E4  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000000 0000000000050900 0000000000000329  USER32.dll!SendMessageWorker
00007FFC4A8C6058 00000000008CB340 0000000000000000 00000000008CB259  USER32.dll!SendMessageW
00007FFC3C6A1DE9 00007FFC4A30DBB0 00000000008CC290 0000000000000040  COMCTL32.dll!CCSendNotify
00007FFC3C6A07F1 0000000000000000 0000000000000000 000000000F679490  COMCTL32.dll!CLVItemStore::OnGetItem
00007FFC3C652D99 0000000000000000 0000000000000000 0000000000000000  COMCTL32.dll!CListView::GetItem
00007FFC3C69E01E 0000000000000001 0000000000000000 0000000080006010  COMCTL32.dll!CListView::WndProc
00007FFC3C69C279 0000000080006010 0000000000000001 0000000000000000  COMCTL32.dll!CListView::s_WndProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C69C210 0000000000050940  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 00000000008CBBB0 0000000000000000 0000000000000000  USER32.dll!CallWindowProcW
00007FFC3C67D96B 0000000000000000 0000000000000000 00000000008CBBB0  COMCTL32.dll!CallNextSubclassProc
00007FFC3C67DA88 0000000000000000 0000000000050940 0000000000000000  COMCTL32.dll!CallNextSubclassProc
00007FFC3C67D802 0000000080006010 00000000008CBDB0 00000000008CC330  COMCTL32.dll!MasterSubclassProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C67D760 0000000000050940  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 000000000C885D10 00000000008CC290 000000000000104B  USER32.dll!CallWindowProcW
0000000069E6E6A0 00007FFC4A8C6FC2 0000000000000000 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
0000000069E67EE4 0000000080006010 00000000008CC330 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 0000000000000000 0000000069E708C0 0000000000050940  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000402 00000000008CC200 0000000000000000  USER32.dll!SendMessageWorker
00007FFC4A8C6058 0000000000000000 0000000000000004 00000000008CC7D8  USER32.dll!SendMessageW
0000000069ED3F3D 000000000C885D10 000000000000284B 0000000000000000  wxmsw311u_gcc_cb.dll!wxListCtrl::GetItem
0000000069ED904C 00000000008CC9B0 00007FFC49A3789E 000000000F75EF20  wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
0000000069E79964 0000000000000000 0000000003C90018 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
0000000069E67EBC 0000000080006010 00007FFC3C67E3F2 0000000000000001  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 00007FFC00000000 0000000069E708C0 00000000000309E4  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000000 0000000000050900 0000000000000329  USER32.dll!SendMessageWorker
00007FFC4A8C6058 00000000008CCF40 0000000000000000 00000000008CCEB9  USER32.dll!SendMessageW
00007FFC3C6A1DE9 0000000000000002 0000000000000000 0000000000000001  COMCTL32.dll!CCSendNotify
00007FFC3C654464 0000000000000000 0000000000000000 0000000000000000  COMCTL32.dll!CLVItemStore::_SendChange
00007FFC3C6A118A 0000EDE62E282765 0000000000000001 0000000000000001  COMCTL32.dll!CLVItemStore::OnSetItemState
00007FFC3C6A0003 00007FFC4A8C6FC2 00007FFC4A8C6B37 0000000000000003  COMCTL32.dll!CListView::SetItemState
00007FFC3C69E16F 0000000000000001 0000000000000000 0000000080006010  COMCTL32.dll!CListView::WndProc
00007FFC3C69C279 0000000080006010 0000000000000001 0000000000000000  COMCTL32.dll!CListView::s_WndProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C69C210 0000000000050940  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 00000000008CD7E0 0000000000000000 0000000000000000  USER32.dll!CallWindowProcW
00007FFC3C67D96B 0000000000000000 0000000000000000 00000000008CD7E0  COMCTL32.dll!CallNextSubclassProc
00007FFC3C67DA88 0000000000000000 0000000000050940 0000000000000000  COMCTL32.dll!CallNextSubclassProc
00007FFC3C67D802 0000000080006010 0000000000000000 0000000000000001  COMCTL32.dll!MasterSubclassProc
00007FFC4A8C6CC1 0000000000050940 00007FFC3C67D760 0000000000050940  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C688B 000000000C885D10 00000000008CDE70 000000000000102B  USER32.dll!CallWindowProcW
0000000069E6E6A0 0000000000000000 0000000080006010 0000000000000048  wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
0000000069E67EE4 0000000080006010 0000000000000000 000000000C9DCE40  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
00007FFC4A8C6CC1 0000000000000001 0000000069E708C0 0000000000050940  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C62CE 0000000000000001 0000000000000000 0000000000000000  USER32.dll!SendMessageWorker
00007FFC4A8C6058 00000000008CDE70 00000000008CDEC8 0000000000000000  USER32.dll!SendMessageW
0000000069ED81BB 00000000008CED00 00000000709F2F85 00000000008CED08  wxmsw311u_gcc_cb.dll!wxListCtrl::SetItemState
00000000709F35A1 000000000C885D10 00000000008CED00 00000000008CED5C  codeblocks.dll!FilterItemsFinalize
00000000709F372C 00000000008CEC48 000000000C885D10 00000000008CE550  codeblocks.dll!IncrementalSelectHandler::FilterItems
00000000709F32DC 00000000008CEC48 000000000C885D10 000000000CA4BE20  codeblocks.dll!IncrementalSelectHandler::Init
0000000000455479 00000000008CE900 0000000002935890 00000000008CED00  codeblocks.exe!0x55479
0000000000454E1B 00000000008CE900 0000000002935890 00000000008CED00  codeblocks.exe!0x54e1b
0000000000496D77 0000000002A8C270 00000000008CF370 0000000000000002  codeblocks.exe!0x96d77
0000000069C03536 0000000000000001 0000000069D661A7 0000000000000801  wxmsw311u_gcc_cb.dll!wxAppConsoleBase::CallEventHandler
0000000069D65C2E 0000000000000000 0000000002935890 0000000002935890  wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEventIfMatchesId
0000000069D65D33 0000000002A8C270 0000000006F972E0 0000000000000000  wxmsw311u_gcc_cb.dll!wxEventHashTable::HandleEvent
0000000069D664A7 0000000000010302 0000000000000111 0000000000000000  wxmsw311u_gcc_cb.dll!wxEvtHandler::TryHereOnly
0000000069D65ED3 0000000000000000 00000000031C47F0 00000000FFFFFFFF  wxmsw311u_gcc_cb.dll!wxEvtHandler::DoTryChain
0000000069D66568 8100000000000000 00007FFC4A8C457D 0000000000000001  wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEvent
000000006A08C6B5 0000000000000003 00007FFC4A8C8B56 00000000008CF350  wxmsw311u_gcc_cb.dll!wxWindowBase::TryAfter
0000000069D6825B 00000000013E4DF0 000000000C902520 00000000000A0653  wxmsw311u_gcc_cb.dll!wxEvtHandler::SafelyProcessEvent
000000006A030885 00000000091FAE70 000000006A03060F 0000000000000003  wxmsw311u_gcc_cb.dll!wxMenuBase::DoProcessEvent
000000006A0309BB 0000000000000047 00000000008CF560 0000000100000050  wxmsw311u_gcc_cb.dll!wxMenuBase::SendEvent
0000000069EC25F8 0000000002935890 00000000000006B8 0000000000000000  wxmsw311u_gcc_cb.dll!wxFrame::HandleCommand
0000000069EC3AC0 0000000080006010 0000000000000001 0000000000000000  wxmsw311u_gcc_cb.dll!wxFrame::MSWWindowProc
00007FFC4A8C6CC1 00000000008CF798 0000000069E708C0 00000000000705FA  USER32.dll!UserCallWinProcCheckWow
00007FFC4A8C699C 0000000000000000 0000000000000000 0000000000010302  USER32.dll!DispatchClientMessage
00007FFC4A8D0453 000000000000003F 00007FFC4AD80C80 0000000000000001  USER32.dll!__fnDWORD
00007FFC4C8BDC04 0000000069E93EE9 0000000000000001 0000000000000000  ntdll.dll!KiUserCallbackDispatch
00007FFC490812A4 0000000000000001 0000000000000000 000000000000003F  win32u.dll!NtUserTranslateAccelerator
0000000069E93EE9 0000000002935890 FFFFFFFF00000000 00000000008CFA20  wxmsw311u_gcc_cb.dll!wxAcceleratorTable::Translate
0000000069EC23B4 0000000000000000 0000000000000000 00000000008CFA10  wxmsw311u_gcc_cb.dll!wxFrame::MSWDoTranslateMessage
0000000000511778 0000000002935890 00000000008CFA10 0000000000000000  codeblocks.exe!0x111778
0000000069EBCE68 01D460BD72ED733A 0000000000000000 0000000000000000  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::PreProcessMessage
0000000069EBCD81 00000000089FE6B0 000000006AC9E100 0000000000000000  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::ProcessMessage
0000000069EBCBB9 000000006AC9E140 000000000CA26DB0 000000006AC9E140  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::Dispatch
0000000069C3DE72 000000006AC9E140 00007FFC4AD09960 0000000000000040  wxmsw311u_gcc_cb.dll!wxEventLoopManual::ProcessEvents
0000000069C3DF3B 00000000028463C0 000000000CA26DB0 0000000000000008  wxmsw311u_gcc_cb.dll!wxEventLoopManual::DoRun
0000000069C3DB1A 000000000956F460 000000020000001C 000000000965F800  wxmsw311u_gcc_cb.dll!wxEventLoopBase::Run
0000000069C082FA 0000000000000000 0000000002846450 00000000F50001F4  wxmsw311u_gcc_cb.dll!wxAppConsoleBase::MainLoop
00000000004051AE 00000000028463C0 0000000069D7314B 00000000000E2482  codeblocks.exe!0x51ae
0000000069C87138 000000000000002D 000000000000002D 0000000000000000  wxmsw311u_gcc_cb.dll!wxInitialize
00000000004022E3 0000000000400000 0000000000000000 00000000000E364F  codeblocks.exe!0x22e3
00000000004013E8 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x13e8
00000000004014EB 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x14eb
00007FFC4AE03034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
00007FFC4C891461 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart
Pages: 1 2 3 4 [5] 6 7 8 9 10