User forums > General (but related to Code::Blocks)

.inl files

(1/1)

dwmcqueen:
I saw an old posting that said to get the .inl files to be properly recognized as source, one does this:

"Project->Project tree->Edit file types & categories" and add "*.inl;*.INL" (without quotes) in the sources

However, I did that - my file masks for Sources is "*.c;*.cpp;*.cc;*.cxx;*.C;*.CPP;*.CC;*.CXX;*.inl;*.INL;"

However, I still get this in my build log:

Compiling: include\curlpp\Easy.inl
c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:C:\Tools\curlpp\include\curlpp\Easy.inl: file format not recognized; treating as linker script
c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:C:\Tools\curlpp\include\curlpp\Easy.inl:25: syntax error
collect2: ld returned 1 exit status

Any thing else to look at?

oBFusCATed:
Why do you want to build the *.inl-s directly?
You could try to include them in the appropriate header on release or the cpp on debug

stahta01:
Read this and see if it helps
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system

dwmcqueen:
I will take a look at the wiki.  I guess the steps I took already must have changed.

These are, in effect C++ files.  I am trying to compile curlpp and for some reason they use inl files there.

Navigation

[0] Message Index

Go to full version