User forums > Help
C:\wxWidgets-2.8.10\lib: No such file: Permission denied
kingfinn:
Hi all,
when I compiler I got the following Error:
--- Quote ---C:\wxWidgets-2.8.10\lib: No such file: Permission denied
--- End quote ---
What could be the Issue and Howto fix it ?
Cheers,
kingfinn
Some more Infos:
Windows
Build: release, monolithic
dje:
Hello !
You give directories on the Linker settings whereas it should be libraries.
Search directories/Linker is the good place for C:\wxWidgets-2.8.10\lib
Dje
cgarcia109:
For wx is enough you to define base value
then you can use that instead of full path
wx base --> C:\wxWidgets-2.8.10 [$(#wx)=C:\wxWidgets-2.8.10]
Search Directories -> Compiler (include dirs)
Any configuration:
$(#wx)/include
$(#wx)/contrib/include
Release:
$(#wx)/lib/gcc_lib/msw
Debug:
$(#wx)/lib/gcc_lib/mswd
Search Directories -> Linker (lib dirs)
Any configuration:
$(#wx)\lib\gcc_lib
contrib folders if you need them
i usually generate contribs in same output folder as wxWidgets so i only use that line up
Search Directories -> Resource Compiler
Release:
$(#wx)/lib/gcc_lib/msw
Debug:
$(#wx)/lib/gcc_lib/mswd
Linker settings -> Link Libraries (here you specify library files to link against)
wxmsw28.a
...
...
(note: you are specifying here folders that are being understood as libraries that theyre not of course)
(note 2: i think paths are correct for non-unicode mono static build. Anyway i use mono unicode dll<so review them)
kingfinn:
UPDATE :(
dje:
Did you check the file exists ?
What is the full path ?
What did you put for the wx variable ?
There are often variables that tells if the lib is debug, unicode...
Did you try the wizard to generate your project?
Dje
Navigation
[0] Message Index
[#] Next page
Go to full version