Well at least it is going through the flext headers now..
Since I'm not familiar with flext so better leave this to a flext-expert :)

best of luck,
Pedro

On Sun, Jul 11, 2010 at 2:43 PM, linedicons...@gmail.com <
linedicons...@gmail.com> wrote:

> Thanks, I used -I option and I receive a big error log.
>
> I paste my error log here :
> http://pastebin.com/BF2J6Pn0
>
> I compiled flext by myself,
>
> Thanks for any help!!
>
> Marco
>
>
>
> 2010/7/11 Pedro Lopes <pedro.lo...@ist.utl.pt>
>
>  You cannot compile a source file that depends on other headers without
>> "telling the compiler" where they are:
>>
>>
>> >$gcc main.cpp
>> >main.cpp:12:19: error: flext.h: No such file or directory
>>
>> This makes sense, because if the flext.h is not in the main.cpp directory
>> the compiler will not find it. The easiest way to compile externals is just
>> using their respective makefile, that external doesn't have a makefile? If
>> it does try that first...
>>
>> Anyway if you want to use gcc directly from command line and include the
>> header directories manually, use the gcc -I path/to/directory/of/the/headers
>> main.cpp
>>
>> (see man gcc)
>>
>>
>> -I dir
>>            Add the directory dir to the list of directories to be searched 
>> for
>>            header files.  Directories named by -I are searched before the
>>            standard system include directories.  If the directory dir is a
>>
>>
>>
>>
>>            standard system include directory, the option is ignored to ensure
>>            that the default search order for system directories and the spe‐
>>            cial treatment of system headers are not defeated .
>>
>>
>>
>>
>>
>> On Sun, Jul 11, 2010 at 12:42 PM, linedicons...@gmail.com <
>> linedicons...@gmail.com> wrote:
>>
>>> I am on Linux, ubuntu lucyd.
>>>
>>> Thanks.
>>>
>>>
>>> 2010/7/11 linedicons...@gmail.com <linedicons...@gmail.com>
>>>
>>> Hi I try to compile sms_peak (a module made with flext)
>>>>
>>>> There is a guide to step by step compile a flext module?
>>>>
>>>> By the way I am here in compiling:
>>>>
>>>> $ls
>>>> Info.plist  license.txt  main.cpp  package.txt  pd  sms_peaks~.xcodeproj
>>>>
>>>> $gcc main.cpp
>>>> main.cpp:12:19: error: flext.h: No such file or directory
>>>>
>>>> $find / -name flext.h
>>>> /usr/include/flext/flext.h
>>>> /home/marco/pd-flext/flext/
>>>> buildsys/externals/grill/flext/source/flext.h
>>>> /home/marco/pd-flext/flext/externals/grill/flext/source/flext.h
>>>> /home/marco/pd-flext/flext/source/flext.h
>>>>
>>>> Thanks
>>>>
>>>>
>>>> --
>>>> Marco A.
>>>>
>>>
>>>
>>>
>>> --
>>> Marco Amato
>>>
>>> _______________________________________________
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
>>
>> --
>> Pedro Lopes (ongoing MSc)
>> contact: pedro.lo...@ist.utl.pt
>> website: http://web.ist.utl.pt/Pedro.Lopes
>>
>
>
>
> --
> Marco Amato
>



-- 
Pedro Lopes (ongoing MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to