News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

cannot find -1C:\wxWidgets-3.1.3?

Started by Audrey, March 17, 2021, 11:48:23 AM

Previous topic - Next topic

Audrey

Hi
I am following the PB's Guide to starting with xwWidgets on Microsoft Windows with MinGW and Code::Blocks. I am using Windows10, on a 64 bit system. I have set WXWIN correctly (CMD.exe and cd %WXWIN" works OK).
I am using wxWidgets-3.1.3, Code::Blocks 20.03 and C:\mingw-w64\i686-8.1.0-posix-sjlj-rt_v6-rev0
I have gone through the whole process and successfully run the wxWidgets minimal sample prior to using Code:Blocks.
However when trying to compile and run the test app in Code::Blocks I get an error:
ld.exe cannot find -1C:\wxWidgets. I have double checked all of the options I can see and they all look OK. Also searched for this error message but not found it anywhere.
I assume I am missing some directive but am unable to find it.

Miguel Gimenez

The switch for searching in a directory is letter L, not number 1. Also, C:\wxWidgets don't look like a valid library directory, it should be similar to C:\wxWidgets\lib\gcc_dll

AndrewCot

For wxWidget GUI design/layout have a look at wxSmith in codeblocks.