Author Topic: can't map file, errno=22  (Read 5246 times)

newbieCBlocker

  • Guest
can't map file, errno=22
« 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: can't map file, errno=22
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ