Search found 16 matches
- Mon Feb 12, 2018 6:18 pm
- Forum: Platform Related Issues
- Topic: VS2017 project does not show window when run from IDE
- Replies: 6
- Views: 2066
Re: VS2017 project does not show window when run from IDE
I asked because the working directory is different in both cases. If you're using relative paths to load these files, it's possible they are not found. Display a message box if a file is not found, then you see what's going on. You were right. Apparently the working directory is the place where the...
- Mon Feb 12, 2018 4:53 pm
- Forum: Platform Related Issues
- Topic: VS2017 project does not show window when run from IDE
- Replies: 6
- Views: 2066
Re: VS2017 project does not show window when run from IDE
ONEEYEMAN wrote:Hi,
In addition to doublemax' reply, check that you do have a Manifest.
Thank you.
I'm not familiar with that. Where would the manifest file be generated?
- Thu Feb 08, 2018 3:43 pm
- Forum: Platform Related Issues
- Topic: VS2017 project does not show window when run from IDE
- Replies: 6
- Views: 2066
Re: VS2017 project does not show window when run from IDE
Is there any condition inside your program that could cause this? E.g. you're trying to load an external file and if it's not there, you just exit? It could happen if it did not find the wavefront obj file, or the shader files, but those are included in the project. Don't know why it would fail wit...
- Thu Feb 08, 2018 2:46 pm
- Forum: Platform Related Issues
- Topic: VS2017 project does not show window when run from IDE
- Replies: 6
- Views: 2066
VS2017 project does not show window when run from IDE
I have a wxWidgets project that when I run it in the VS2017 IDE everything builds and compiles but output box shows nothing when run and no window pops up. Strangely If I go to the exe folder and run it by clicking the exe everything works properly.. I have no idea why it this is happening since the...
- Wed Feb 07, 2018 7:09 pm
- Forum: Compiler / Linking / IDE Related
- Topic: LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib'
- Replies: 5
- Views: 3034
Re: LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib'
Looks like it worked. Thanks all
- Wed Feb 07, 2018 4:54 pm
- Forum: Compiler / Linking / IDE Related
- Topic: LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib'
- Replies: 5
- Views: 3034
Re: LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib'
I believe that in the monolithic build, there is no base/core library, wxmsw31u[d].lib contains the wx libraries except the third party ones (and perhaps OpenGL one). The shared libraries should be in vc_dll and not vc_lib. Additionally, you are including the MSVC-specific setup.h, so the wx librar...
- Wed Feb 07, 2018 3:35 pm
- Forum: Compiler / Linking / IDE Related
- Topic: LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib'
- Replies: 5
- Views: 3034
LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib'
VS2017 is giving me error LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib' when I try to build. I know the project works in code blocks when complied with tdm-gcc64. I build the library using VS2017 developer command prompt command in build/msw: nmake /f makefile.vc BUILD=release S...
- Thu Nov 30, 2017 7:15 pm
- Forum: C++ Development
- Topic: glcanvas on a wxpanel?
- Replies: 9
- Views: 2826
Re: glcanvas on a wxpanel?
The problem is that the wxGLCanvas is not in a sizer, so there is nobody that tells it to fill the available space. OTHT, putting the wxPanel in a sizer is not necessary as it will automatically fill the whole client area of the frame if it is the only child. So in more or less pseudo-code it shoul...
- Wed Nov 15, 2017 7:49 pm
- Forum: C++ Development
- Topic: glcanvas on a wxpanel?
- Replies: 9
- Views: 2826
Re: glcanvas on a wxpanel?
I have a frame class that only has a wxpanel and a sizer, the canvas class takes a wxpanel as parent. https://image.ibb.co/cANq8R/Capture.jpg This is what is looks like. If I change the canvas to take a wxFrame instead it works. What am I doing wrong? I attached some files. Thanks for any help, chee...
- Thu Nov 02, 2017 12:42 pm
- Forum: C++ Development
- Topic: glcanvas on a wxpanel?
- Replies: 9
- Views: 2826
Re: glcanvas on a wxpanel?
ONEEYEMAN wrote:Hi,
Did you look at the samples?
Thank you.
There are no samples that feature a glcanvas being used with a wxpanel.
- Wed Nov 01, 2017 6:31 pm
- Forum: C++ Development
- Topic: glcanvas on a wxpanel?
- Replies: 9
- Views: 2826
Re: glcanvas on a wxpanel?
I could not get it to work on a panel, but I tried it with just a box sizer and it worked with added buttons. So I guess the panel wasn't really necessary?
- Mon Oct 30, 2017 6:28 pm
- Forum: C++ Development
- Topic: glcanvas on a wxpanel?
- Replies: 9
- Views: 2826
glcanvas on a wxpanel?
Is it possible to add a glcanvas to a wxpanel? I have a working canvas program where the canvas is attached to a wxframe: https://preview.ibb.co/bW52mR/glcanvas_torus.jpg When I try to add a sizer with a wxpanel to the frame I end up getting a small cube in the corner. https://preview.ibb.co/eSUsLm/...
- Fri Jul 28, 2017 2:13 pm
- Forum: Compiler / Linking / IDE Related
- Topic: "does not name a type" error with glCanvas
- Replies: 3
- Views: 2253
Re: "does not name a type" error with glCanvas
That worked, thank you.
- Thu Jul 27, 2017 5:31 pm
- Forum: Compiler / Linking / IDE Related
- Topic: "does not name a type" error with glCanvas
- Replies: 3
- Views: 2253
"does not name a type" error with glCanvas
I am trying to write a glCanvas class but I keep getting "does not name a type" errors. If I exclude the M_canvas files the frame class runs and works, but when I add the M_canvas files it gives me the errors: \M_canvas.h|15|error: expected ')' before '*' token| \M_canvas.h|19|error: 'M_fr...
- Thu Mar 16, 2017 5:02 pm
- Forum: C++ Development
- Topic: Appropriate control for text display
- Replies: 2
- Views: 741
Re: Appropriate control for text display
Cool, thanks.