Code::Blocks Forums

User forums => Help => Topic started by: newbieCBlocker on February 09, 2012, 11:53:46 am

Title: can't map file, errno=22
Post by: newbieCBlocker on February 09, 2012, 11:53:46 am
Hi I am trying to migrate my project from VS2008 to CodeBlocks on a mac and i got the program to finish building and i also included the library paths in the Project build options->Search directories both Compiler and Linker. However when i try to run it i get this error:

-------------- Build: Default in XXXX ---------------

Linking console executable: XXXX
ld: warning: option -s is obsolete and being ignored
ld: in /Users/XXXX/ILOG/CPLEX_Studio122/cplex/lib/x86-64_darwin9_gcc4.0/static_pic, can't map file, errno=22
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 1 warnings

Is it because i did not specify which libraries to link in the paths i provided?

Thank you.
Title: Re: can't map file, errno=22
Post by: MortenMacFly on February 09, 2012, 01:09:10 pm
No information on platform, no version, no GCC information, not related to C::B...

You won't get any help this way.