User forums > Help
help with error.
anti:
using nightly build of code block
trying to compile FaceRec (google if interested)
downloaded ming
using xp
using opencv, using FLUID all setup with links to the libraries in the directory bit of build options
mingw32-g++.exe: Settings\Me\Desktop\face\FaceRec\Fl_OpenCV.cxx -o .objs\Fl_OpenCV.o: No such file or directory
am i right in thinking it can't find an object file? if so, how do i create said object file, i'm confused i thought hitting build would create said o's.
stahta01:
Do you have spaces, or special characters, in your path to the project?
If yes, try using a path without them.
I suggest turning on full compiler logging.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
My guess it can not find the .cxx file, but not sure I have not gotten that error in years.
Tim S.
anti:
yay. no spaces fixed that error, and it begins to compile, at which point i get this error:
-------------- Build: default in Face ---------------
Compiling: Fl_OpenCV.cxx
Compiling: FaceRec.cxx
Linking executable: Face.exe
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lfltk
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 9 seconds)
1 errors, 0 warnings
Seronis:
gcc 3.4.2? google for TDM GCC and download the bundled installer from the main page and update to 4.4.1. Works quite well on windows. Your linker error there says it cant find the fltk library. I'm assuming that is http://www.fltk.org/. Try reading their site (and ask for help on THEIR forums, not here) to make sure its properly installed.
anti:
hi have requested help on their site and libfltk.a is now on my system.
fixed the error - problem was at code::blocks end (ie yours), basically went to
project>build options>linker settings tab - clicked on lfltk, and edited it to the path C:\face\FaceRec\fltk-1.3.x-r7216\lib because thats where libfltk.a was after i compiled it. this was the issue, code blocks couldn't tell gcc where the lib was because it didn't know because the cbp file didn't have enough info to tell it.
This was because the guy who made the project had his system set up so that just typing lfltk in the linker settings tab linked to the right place, along with the other things he had in there like kernel32 etc.
does anyone know how i make it so code blocks can find lfltk from just having lfltk in the linker settings tab like he did, with the location being C:\face\FaceRec\fltk-1.3.x-r7216\lib???
thanks for the help you've offered so far BIG KISSES
also if you give me a list of what you want me to use i will download it and try to compile the program with it instead
at the moment i'm using mingw with msys & codeblock, please let me know what versions you want me using and i'll update.
Navigation
[0] Message Index
[#] Next page
Go to full version