News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

can't map file, errno=22

Started by newbieCBlocker, February 09, 2012, 11:53:46 AM

Previous topic - Next topic

newbieCBlocker

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.

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]