noobdoesre / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Error when compiling openjpeg_v1_4_sources_r697 #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.when issuing the command 'make' will produce an error
What do you see instead?
fatal error: openjpeg.h: no such file or directory

What version of the product are you using? On what operating system?
openjpeg_v1_4_sources_r697 on Windows Xp

Original issue reported on code.google.com by sreem...@gmail.com on 10 Aug 2011 at 9:30

GoogleCodeExporter commented 9 years ago
can you check out the openjpeg-1.5 branch and see if the error is still there ?

Original comment by vincent....@gmail.com on 11 Aug 2011 at 11:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for the comment.
I checked out the openjpeg-1.5 branch. In openjpeg_v1_4_sources_r697 some files 
are missing and i added up that missing files from openjpeg-1.5. Now there is 
no error displaying until '../configure' command But after issuing 'make' 
command it shows like 
"make[3]:Entering directory /c/openjpeg/build/applications/codec
Makefile:1086:***Missing seperator. Stop
make[3]:Leaving directory /c/openjpeg/build/applications/codec"

Kindly comment the solution....
Thanks and Regards
Sreerag R

Original comment by sreem...@gmail.com on 12 Aug 2011 at 7:10

GoogleCodeExporter commented 9 years ago
Which compiler system do you use?
cygwin? mingw? Any other?

winfried

Original comment by szukw...@arcor.de on 12 Aug 2011 at 2:32

GoogleCodeExporter commented 9 years ago
Iam using mingw compiler...

Original comment by sreem...@gmail.com on 12 Aug 2011 at 4:36

GoogleCodeExporter commented 9 years ago
'Missing separator' means: there should be a HTAB, instead of a SPACE.
A first workaround is:

Open applications/codec/Makefile
Goto line 1086
Replace the SPACE(s) with a HTAB
Close the Makefile
Continue with 'make'.

Using the editor 'vim':

vim +1086 applications/codec/Makefile

What do you see in line 1086 in that Makefile?
My LINUX Makefile shows in line 1085/1086:

install-data-hook:# line 1085
    @echo -e " (B)\t$(bindir)/j2k_to_image$(EXEEXT)" >> $(top_builddir)/report.txt

winfried

Original comment by szukw...@arcor.de on 13 Aug 2011 at 1:21

GoogleCodeExporter commented 9 years ago
I have tested it on WindowsXP and MinGW with OpenJPEG-1.5.0-revision-863.

Line 1086 in the resp. Makefile is the first line after 'install-data-hook:'.

There is a HTAB, no SPACE.

winfried

Original comment by szukw...@arcor.de on 13 Aug 2011 at 6:09

GoogleCodeExporter commented 9 years ago
@Sreerag : I'm using MSYS + MinGW without such error with openjpeg 1.4 (the 
released version) or openjpeg 1.5 (the branch)

1) you said : "In openjpeg_v1_4_sources_r697 some files are missing and i added 
up that missing files from openjpeg-1.5". Does it mean you added the "missing" 
files (btw, i'm sure that in the 1.4 release, there is no missing file) taken 
from the openjpeg 1.5 branch to the 1.4 version, and compiled the 1.4 version ? 
If yes, don't do that.

2) check out the 1.5 branch and give the command you did to configure and 
compile the project

Vincent Torri

Original comment by vincent....@gmail.com on 15 Aug 2011 at 6:03

GoogleCodeExporter commented 9 years ago
Hi,
I checked out the 1.5 branch and i solved the 'missing separator problem' But 
now i am getting some errors with a particular file(convert.c in codec folder). 
I am attaching that error's screenshot. kindly check it and reply me...

Thanks and Regards
Sreerag

Original comment by sreem...@gmail.com on 18 Aug 2011 at 6:55

Attachments:

GoogleCodeExporter commented 9 years ago
There is something weird.

convert.c includes openjpeg.h line 48 :

http://code.google.com/p/openjpeg/source/browse/branches/openjpeg-1.5/applicatio
ns/codec/convert.c#48

openjpeg.h defines opj_bool line 63 :

http://code.google.com/p/openjpeg/source/browse/branches/openjpeg-1.5/libopenjpe
g/openjpeg.h#63

in convert.c, convert.h is included *after* openjpeg.h, line 49 (see the first 
link).

So check that it's the same for you.

Original comment by vincent....@gmail.com on 10 Sep 2011 at 6:08

GoogleCodeExporter commented 9 years ago
Is the issue still there in branch 1.5 ? Thanks

Original comment by mathieu.malaterre on 21 May 2012 at 2:12

GoogleCodeExporter commented 9 years ago
Closing since no news.

Original comment by mathieu.malaterre on 29 May 2012 at 12:51