Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » [MAC OS X] FLTK C++ Compilation Error(compilation error)
[MAC OS X] FLTK C++ Compilation Error [message #1731401] Thu, 05 May 2016 00:13 Go to next message
Michelle Uy is currently offline Michelle UyFriend
Messages: 6
Registered: May 2016
Junior Member
Hey all,

I'm trying to compile a basic FLTK code however I'm getting a directory error. Here is the error:

15:53:09 **** Build of configuration Debug for project FLTK_6 ****
make all
Building file: ../src/FLTK_6.cpp
Invoking: GCC C++ Compiler
g++ -I/Users/aa/Documents/System Libraries/Programming-code/GUI -I/opt/local/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/FLTK_6.d" -MT"src/FLTK_6.d" -o "src/FLTK_6.o" "../src/FLTK_6.cpp"
clang: error: no such file or directory: 'Libraries/Programming-code/GUI'
make: *** [src/FLTK_6.o] Error 1

15:53:09 Build Finished (took 148ms)

Problem is I don't have a libraries/Programming-code/GUI folder. So where do I change the directory to "/Users/aa/Documents/System Libraries/Programming-code/GUI"? Help would be appreciated, thanks!
Re: [MAC OS X] FLTK C++ Compilation Error [message #1731403 is a reply to message #1731401] Thu, 05 May 2016 00:21 Go to previous messageGo to next message
Doug Schaefer is currently offline Doug SchaeferFriend
Messages: 135
Registered: July 2009
Senior Member
Looks like a classic case of spaces in file names. The include path has to be quoted. -I"/Users/..."
Re: [MAC OS X] FLTK C++ Compilation Error [message #1731406 is a reply to message #1731403] Thu, 05 May 2016 01:42 Go to previous messageGo to next message
Michelle Uy is currently offline Michelle UyFriend
Messages: 6
Registered: May 2016
Junior Member
so I tried and included quotations in the include path however it only adds more errors in my GUI test code...Essentially I'm back with the same error
Re: [MAC OS X] FLTK C++ Compilation Error [message #1731438 is a reply to message #1731406] Thu, 05 May 2016 09:18 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
If you open the Terminal and type:

ls -l "/Users/aa/Documents/System Libraries/Programming-code/GUI"

what does the command reply?

In my Mac OS X there is no such file as ~/Documents/System Libraries

Are you sure about the include path that it exists?


--

Tauno Voipio
Previous Topic:weird symbols resolving with tianocore project
Next Topic:ErrorParserManager inconsistent behaviour
Goto Forum:
  


Current Time: Tue Mar 19 08:24:23 GMT 2024

Powered by FUDForum. Page generated in 0.01662 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top