Search found 61 matches

by Lowkus
Tue Jun 01, 2021 1:36 am
Forum: Compiler / Linking / IDE Related
Topic: Error Compiling 3.1.5, "Permission denied"
Replies: 8
Views: 4481

Re: Error Compiling 3.1.5, "Permission denied"

Weirdly though, now I'm getting this error when I try to compile it... c:\wxWidgets\wxWidgets-3.1.5\build\msw>mingw32-make.exe -f makefile.gcc BUILD=release UNICODE=1 SHARED=0 if not exist ..\..\lib\gcc_lib\mswu mkdir ..\..\lib\gcc_lib\mswu if not exist ..\..\lib\gcc_lib\mswu\wx mkdir ..\..\lib\gcc_...
by Lowkus
Tue Jun 01, 2021 1:23 am
Forum: Compiler / Linking / IDE Related
Topic: Error Compiling 3.1.5, "Permission denied"
Replies: 8
Views: 4481

Re: Error Compiling 3.1.5, "Permission denied"

BTW, I was right about the original issue being a folder instead of path passed for a makefile. When tried I got the same error, except there was more you did not mention and which makes it clear mingw32-make: D:\Dev\Desktop\!Lib\wxWidgets-GIT\build\MSW: Permission denied mingw32-make: *** No rule ...
by Lowkus
Tue Jun 01, 2021 12:19 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference to GetThemeBackgroundContentRect
Replies: 1
Views: 2745

Undefined Reference to GetThemeBackgroundContentRect

I'm trying to get my project running (running CodeBlocks on Win10 with GCC compiler), but it's throwing this error (one of many): C:\wxWidgets\wxWidgets-3.1.5\lib\gcc_lib\libwxmsw31u_core.a(corelib_window.o):window.cpp|| undefined reference to `__imp_GetThemeBackgroundContentRect' I'm pretty sure I ...
by Lowkus
Sat May 29, 2021 11:06 pm
Forum: Compiler / Linking / IDE Related
Topic: Error Compiling 3.1.5, "Permission denied"
Replies: 8
Views: 4481

Re: Error Compiling 3.1.5, "Permission denied"

Your solution to add it to the PATH environmental variable, and launching from within the makefile directory, seems to have worked. I think Mingw32-make.exe should be bug-fixed so it will run correctly just by typing in the full path of the exe and the full path of the target makefile. It is not int...
by Lowkus
Sat May 29, 2021 7:45 pm
Forum: Compiler / Linking / IDE Related
Topic: Error Compiling 3.1.5, "Permission denied"
Replies: 8
Views: 4481

Re: Error Compiling 3.1.5, "Permission denied"

The user folder isn't the problem, I moved it to a different folder and it produces the same result of "Permission denied". c:\wxWidgets>C:\"Program Files"\CodeBlocks\MinGW\bin\mingw32-make.exe -f C:\wxWidgets\wxWidgets-3.1.5\build\msw BUILD=RELEASE mingw32-make: C:\wxWidgets\wxW...
by Lowkus
Sat May 29, 2021 8:17 am
Forum: Compiler / Linking / IDE Related
Topic: Error Compiling 3.1.5, "Permission denied"
Replies: 8
Views: 4481

Error Compiling 3.1.5, "Permission denied"

I get an error while trying to compile wxWidgets 3.1.5 for Win10. I am using an admin account, running cmd.exe in admin mode, I've turned off my virus scanner, verified I have full permissions in the target directory, but so far this problem will not go away. How can I fix this so I can successfully...
by Lowkus
Mon Feb 11, 2019 5:21 pm
Forum: Compiler / Linking / IDE Related
Topic: Form Style in wxSmith
Replies: 5
Views: 1825

Re: Form Style in wxSmith

This seems to get it done... wxDEFAULT_DIALOG_STYLE, wxRESIZE_BORDER, wxMINIMIZE_BOX
by Lowkus
Mon Feb 11, 2019 8:32 am
Forum: C++ Development
Topic: wxString pointer crash
Replies: 3
Views: 922

Re: wxString pointer crash

That helps immensely, thanks! I normally wouldn't use a pointer but I'm going to pass it into SplitPath and I think that requires a pointer. Here's what it ended up looking like and it seems to work a treat. //...earlier code fetched the filepathname... wxString* sVol = new wxString; wxString* sDir ...
by Lowkus
Mon Feb 11, 2019 6:41 am
Forum: C++ Development
Topic: wxString pointer crash
Replies: 3
Views: 922

wxString pointer crash

Running wxWidgets-3.1.0.

I'm probably making some basic mistake. Why does this crash at runtime? And why do I get this build warning?
warning: 'sVol' may be used uninitialized in this function.

Code: Select all

wxString* sVol;
*sVol = wxT("hi");
wxMessageBox(*sVol, wxT("caption"));
by Lowkus
Sun Dec 02, 2018 8:23 am
Forum: C++ Development
Topic: wxFileInputStream File Not Found Error
Replies: 1
Views: 622

wxFileInputStream File Not Found Error

I instantiate a wxFileInputStream object giving it a filename that doesn't exist: wxFileInputStream fizzy5(fdlg->GetPath()); At the point the wxFileInputStream object is destroyed it always throws this message box: "Can't open file 'C:\somefilename' (error 2: the system cannot find the file spe...
by Lowkus
Wed Nov 07, 2018 11:36 pm
Forum: General Development
Topic: Form Design Improvement Request
Replies: 7
Views: 2521

Re: Form Design Improvement Request

Margin and Padding are not fixed positions on the form, rather they are fixed distances from the edge of a control. Margin and Padding properties are far superior to using sizers; using sizers to pad the space between form objects is like using transparent GIF's to align objects on web pages, it's a...
by Lowkus
Wed Nov 07, 2018 6:19 pm
Forum: General Development
Topic: Form Design Improvement Request
Replies: 7
Views: 2521

Re: Form Design Improvement Request

I've been using wxSmith in CodeBlocks.
by Lowkus
Wed Nov 07, 2018 5:07 pm
Forum: General Development
Topic: Form Design Improvement Request
Replies: 7
Views: 2521

Form Design Improvement Request

Form designing with wxWidgets is a pain, it would be nice if it could have padding and margin amounts for controls, similar to how .Net allows spacing around controls. It also needs buttons that allow pictures and text with better alignment options, such as a picture centered dead middle of the butt...
by Lowkus
Wed May 16, 2018 8:34 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSmith Couldn't Add New Handler
Replies: 1
Views: 1174

wxSmith Couldn't Add New Handler

When I try to look at the events list in wxSmith, on any of three forms, it is not showing the events that I had created through wxSmith in the past. If I try to add an event now, wxSmith asks me for an event name and I enter a unique name, then it throws an error "Couldn't Add New Handler"...
by Lowkus
Fri Feb 09, 2018 6:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Form Style in wxSmith
Replies: 5
Views: 1825

Re: Form Style in wxSmith

Windows Vista, CodeBlocks + wxSmith, wxWidgets 3.1.0 static individual libraries. The executable works fine except it doesn't have the titlebar options I am trying to achieve.