User forums > Help

can't map file, errno=22

(1/1)

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.

Navigation

[0] Message Index

Go to full version