Hi gnarr,
I just tried compiling the git rep on linux I used g++. here's the read out.
studio@studio-linux:~/MLDev/mlv2dng$ g++ main.cpp -o mlv2dng
In file included from /usr/include/c++/4.6/cstdint:35:0,
from MagicLanternVideo.h:4,
from main.cpp:5:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from FileHeader.h:6:0,
from MagicLanternVideo.h:5,
from main.cpp:5:
InFilestream.h:16:2: error: ‘uint8_t’ does not name a type
InFilestream.h:17:2: error: ‘uint16_t’ does not name a type
InFilestream.h:18:2: error: ‘uint32_t’ does not name a type
InFilestream.h:19:2: error: ‘uint64_t’ does not name a type
InFilestream.h:20:31: error: ‘uint32_t’ has not been declared
InFilestream.h:21:25: error: ‘uint32_t’ has not been declared
In file included from MagicLanternVideo.h:5:0,
from main.cpp:5:
FileHeader.h:8:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
FileHeader.h:8:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
FileHeader.h:8:12: error: use of enum ‘VideoClass’ without previous declaration
FileHeader.h:8:23: error: expected unqualified-id before ‘:’ token
FileHeader.h:17:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
FileHeader.h:17:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
FileHeader.h:17:12: error: use of enum ‘AudioClass’ without previous declaration
FileHeader.h:17:23: error: expected unqualified-id before ‘:’ token
FileHeader.h:27:2: error: ‘uint64_t’ does not name a type
FileHeader.h:28:2: error: ‘uint16_t’ does not name a type
FileHeader.h:29:2: error: ‘uint16_t’ does not name a type
FileHeader.h:30:2: error: ‘uint32_t’ does not name a type
FileHeader.h:31:2: error: ‘VideoClass’ does not name a type
FileHeader.h:32:2: error: ‘AudioClass’ does not name a type
FileHeader.h:33:2: error: ‘uint32_t’ does not name a type
FileHeader.h:34:2: error: ‘uint32_t’ does not name a type
FileHeader.h:35:2: error: ‘uint32_t’ does not name a type
FileHeader.h:36:2: error: ‘uint32_t’ does not name a type
FileHeader.h:41:2: error: ‘uint64_t’ does not name a type
FileHeader.h:42:2: error: ‘uint16_t’ does not name a type
FileHeader.h:43:2: error: ‘uint16_t’ does not name a type
FileHeader.h:44:2: error: ‘uint32_t’ does not name a type
FileHeader.h:45:2: error: ‘VideoClass’ does not name a type
FileHeader.h:46:2: error: ‘AudioClass’ does not name a type
FileHeader.h:47:2: error: ‘uint32_t’ does not name a type
FileHeader.h:48:2: error: ‘uint32_t’ does not name a type
FileHeader.h:49:2: error: ‘uint32_t’ does not name a type
FileHeader.h:50:2: error: ‘uint32_t’ does not name a type
In file included from OutFilestream.h:6:0,
from RawInfo.h:6,
from MagicLanternVideo.h:6,
from main.cpp:5:
TiffTags.h:6:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
TiffTags.h:6:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
TiffTags.h:6:12: error: use of enum ‘Tag’ without previous declaration
TiffTags.h:6:16: error: expected unqualified-id before ‘:’ token
In file included from OutFilestream.h:7:0,
from RawInfo.h:6,
from MagicLanternVideo.h:6,
from main.cpp:5:
EntryType.h:6:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
EntryType.h:6:1: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword [enabled by default]
EntryType.h:6:12: error: use of enum ‘Type’ without previous declaration
EntryType.h:6:17: error: expected unqualified-id before ‘:’ token
In file included from RawInfo.h:6:0,
from MagicLanternVideo.h:6,
from main.cpp:5:
OutFilestream.h:16:30: error: ‘uint64_t’ has not been declared
OutFilestream.h:17:18: error: ‘uint32_t’ has not been declared
OutFilestream.h:17:32: error: ‘uint64_t’ has not been declared
OutFilestream.h:18:37: error: ‘uint64_t’ has not been declared
OutFilestream.h:19:18: error: ‘Tag’ has not been declared
OutFilestream.h:19:27: error: ‘uint64_t’ has not been declared
OutFilestream.h:19:7: error: ‘void OutFilestream::writeValue(int, int)’ cannot be overloaded
OutFilestream.h:17:7: error: with ‘void OutFilestream::writeValue(int, int)’
OutFilestream.h:20:18: error: ‘Type’ has not been declared
OutFilestream.h:20:28: error: ‘uint64_t’ has not been declared
OutFilestream.h:20:7: error: ‘void OutFilestream::writeValue(int, int)’ cannot be overloaded
OutFilestream.h:17:7: error: with ‘void OutFilestream::writeValue(int, int)’
OutFilestream.h:21:18: error: ‘uint64_t’ has not been declared
In file included from RawInfo.h:7:0,
from MagicLanternVideo.h:6,
from main.cpp:5:
Timestamped.h:9:5: error: ‘uint64_t’ does not name a type
Timestamped.h:10:26: error: expected ‘)’ before ‘timestamp’
Timestamped.h:12:13: error: ‘uint64_t’ does not name a type
In file included from MagicLanternVideo.h:6:0,
from main.cpp:5:
RawInfo.h:12:2: error: ‘uint16_t’ does not name a type
RawInfo.h:13:2: error: ‘uint16_t’ does not name a type
RawInfo.h:15:2: error: ‘uint32_t’ does not name a type
RawInfo.h:16:2: error: ‘uint32_t’ does not name a type
RawInfo.h:18:2: error: ‘uint32_t’ does not name a type
RawInfo.h:19:2: error: ‘uint32_t’ does not name a type
RawInfo.h:20:2: error: ‘uint32_t’ does not name a type
RawInfo.h:22:2: error: ‘uint32_t’ does not name a type
RawInfo.h:23:2: error: ‘uint32_t’ does not name a type
RawInfo.h:25:2: error: ‘uint32_t’ does not name a type
RawInfo.h:26:2: error: ‘uint32_t’ does not name a type
RawInfo.h:32:13: error: ‘uint32_t’ does not name a type
RawInfo.h:33:13: error: ‘uint32_t’ does not name a type
RawInfo.h:37:13: error: ‘uint32_t’ does not name a type
RawInfo.h:38:13: error: ‘uint32_t’ does not name a type
RawInfo.h:45:13: error: ‘uint32_t’ does not name a type
RawInfo.h:47:9: error: ‘uint32_t’ does not name a type
RawInfo.h:50:2: error: ‘uint32_t’ does not name a type
RawInfo.h:51:2: error: ‘uint32_t’ does not name a type
RawInfo.h:52:2: error: ‘uint32_t’ does not name a type
RawInfo.h:54:2: error: ‘uint32_t’ does not name a type
RawInfo.h:56:2: error: ‘uint32_t’ does not name a type
In file included from MagicLanternVideo.h:7:0,
from main.cpp:5:
WavInfo.h:8:1: warning: scoped enums only available with -std=c++0x or -std=gnu++0x [enabled by default]
WavInfo.h:19:2: error: ‘uint16_t’ does not name a type
WavInfo.h:20:2: error: ‘uint32_t’ does not name a type
WavInfo.h:21:2: error: ‘uint32_t’ does not name a type
WavInfo.h:22:2: error: ‘uint16_t’ does not name a type
WavInfo.h:23:2: error: ‘uint16_t’ does not name a type
WavInfo.h:29:2: error: ‘uint16_t’ does not name a type
WavInfo.h:30:2: error: ‘uint32_t’ does not name a type
WavInfo.h:31:2: error: ‘uint32_t’ does not name a type
WavInfo.h:32:2: error: ‘uint16_t’ does not name a type
WavInfo.h:33:2: error: ‘uint16_t’ does not name a type
In file included from MagicLanternVideo.h:8:0,
from main.cpp:5:
ExposureInfo.h:11:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:12:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:13:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:14:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:15:2: error: ‘uint64_t’ does not name a type
ExposureInfo.h:20:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:21:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:22:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:23:2: error: ‘uint32_t’ does not name a type
ExposureInfo.h:25:2: error: ‘uint64_t’ does not name a type
In file included from MagicLanternVideo.h:9:0,
from main.cpp:5:
LensInfo.h:11:5: error: ‘uint16_t’ does not name a type
LensInfo.h:12:5: error: ‘uint16_t’ does not name a type
LensInfo.h:13:5: error: ‘uint16_t’ does not name a type
LensInfo.h:16:5: error: ‘uint32_t’ does not name a type
LensInfo.h:17:5: error: ‘uint32_t’ does not name a type
LensInfo.h:24:2: error: ‘uint16_t’ does not name a type
LensInfo.h:25:2: error: ‘uint16_t’ does not name a type
LensInfo.h:27:2: error: ‘uint32_t’ does not name a type
LensInfo.h:31:2: error: ‘uint32_t’ does not name a type
LensInfo.h:32:2: error: ‘uint32_t’ does not name a type
In file included from RealTimeClock.h:7:0,
from MagicLanternVideo.h:10,
from main.cpp:5:
DateTime.h:10:2: error: ‘uint64_t’ does not name a type
DateTime.h:12:20: error: expected ‘)’ before ‘microseconds’
DateTime.h:13:20: error: expected ‘)’ before ‘year’
DateTime.h:17:16: error: ‘uint16_t’ has not been declared
DateTime.h:17:32: error: ‘uint16_t’ has not been declared
DateTime.h:17:53: error: ‘uint16_t’ has not been declared
DateTime.h:17:69: error: ‘uint16_t’ has not been declared
DateTime.h:17:87: error: ‘uint16_t’ has not been declared
DateTime.h:17:105: error: ‘uint32_t’ has not been declared
In file included from RealTimeClock.h:7:0,
from MagicLanternVideo.h:10,
from main.cpp:5:
DateTime.h:18:16: error: ‘uint16_t’ has not been declared
DateTime.h:18:32: error: ‘uint16_t’ has not been declared
DateTime.h:18:49: error: ‘uint16_t’ has not been declared
DateTime.h:18:71: error: ‘uint16_t’ has not been declared
DateTime.h:18:87: error: ‘uint16_t’ has not been declared
DateTime.h:18:105: error: ‘uint16_t’ has not been declared
DateTime.h:18:123: error: ‘uint32_t’ has not been declared
DateTime.h:20:23: error: ‘uint64_t’ has not been declared
DateTime.h:22:23: error: ‘uint64_t’ has not been declared
DateTime.h:27:15: error: ‘uint64_t’ does not name a type
DateTime.h:28:15: error: ‘uint64_t’ does not name a type
DateTime.h:29:15: error: ‘uint64_t’ does not name a type
DateTime.h:30:15: error: ‘uint64_t’ does not name a type
DateTime.h:31:15: error: ‘uint8_t’ does not name a type
In file included from MagicLanternVideo.h:10:0,
from main.cpp:5:
RealTimeClock.h:12:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:13:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:14:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:15:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:16:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:17:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:18:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:19:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:20:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:21:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:27:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:28:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:29:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:30:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:31:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:32:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:33:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:34:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:35:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:36:2: error: ‘uint16_t’ does not name a type
RealTimeClock.h:38:22: error: ‘uint64_t’ has not been declared
RealTimeClock.h:40:23: error: ‘uint64_t’ has not been declared
In file included from MagicLanternVideo.h:11:0,
from main.cpp:5:
Info.h:14:29: error: ‘uint32_t’ has not been declared
In file included from MagicLanternVideo.h:12:0,
from main.cpp:5:
Identity.h:12:5: error: ‘uint32_t’ does not name a type
Identity.h:19:2: error: ‘uint32_t’ does not name a type
In file included from VideoFrame.h:6:0,
from MagicLanternVideo.h:13,
from main.cpp:5:
Buffer.h:14:18: error: expected ‘)’ before ‘size’
Buffer.h:47:17: error: declaration of ‘operator[]’ as non-function
Buffer.h:47:15: error: expected ‘;’ at end of member declaration
Buffer.h:47:26: error: expected ‘)’ before ‘index’
In file included from MagicLanternVideo.h:13:0,
from main.cpp:5:
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:16:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:30:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:50:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:68:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:86:1: error: ‘uint16_t’ does not name a type
VideoFrame.h:102:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:103:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:104:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:105:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:106:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:107:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:108:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:109:17: error: ‘uint8_t’ was not declared in this scope
VideoFrame.h:109:24: error: template argument 1 is invalid
VideoFrame.h:111:32: error: expected identifier before ‘*’ token
VideoFrame.h:111:54: error: ‘uint32_t’ has not been declared
VideoFrame.h:111:63: error: ‘uint32_t’ has not been declared
VideoFrame.h:111:72: error: ‘uint32_t’ has not been declared
VideoFrame.h:111:82: error: ISO C++ forbids declaration of ‘uint32_t’ with no type [-fpermissive]
VideoFrame.h:111:82: error: ‘uint32_t’ declared as function returning a function
VideoFrame.h:113:35: error: ‘uint32_t’ has not been declared
VideoFrame.h:115:2: error: ‘GetRawPixelFunction’ does not name a type
VideoFrame.h:117:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:118:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:119:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:120:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:121:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:123:24: error: ‘uint32_t’ has not been declared
VideoFrame.h:127:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:128:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:129:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:130:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:131:2: error: ‘uint16_t’ does not name a type
VideoFrame.h:132:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:133:2: error: ‘uint32_t’ does not name a type
VideoFrame.h:134:2: error: ‘uint8_t’ does not name a type
In file included from MagicLanternVideo.h:14:0,
from main.cpp:5:
WhiteBalanceInfo.h:11:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:12:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:13:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:14:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:15:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:16:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:17:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:22:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:23:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:24:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:25:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:26:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:27:2: error: ‘uint32_t’ does not name a type
WhiteBalanceInfo.h:28:2: error: ‘uint32_t’ does not name a type
In file included from MagicLanternVideo.h:15:0,
from main.cpp:5:
Container.h:26:14: error: expected ‘;’ at end of member declaration
Container.h:26:39: error: expected ‘)’ before ‘timestamp’
main.cpp:54:1: error: expected ‘}’ at end of input
In file included from MagicLanternVideo.h:15:0,
from main.cpp:5:
Container.h:24:5: error: expected unqualified-id at end of input
Any help. I'm not so skilled at all this. I've learned how to by reading all the stuff the Developers of ML have shared but, I'm no programmer, an advanced user at best. Please, any help. If you point me in the direction I will figure out the rest.
I'm guessing my problem is. #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
Thank you.