Hi
when using both i get tons of errors but as above only
a few alike:
std::ofstream out� has incomplete type and cannot be defined
...
Any help? Thanks
Michael
source version 1.0, June, 2005
Copyright (C) 2000-2005 Chris Lomont
This software is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must
not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
Chris Lomont
ch...@lomont.org
The AES Standard is maintained by NIST
http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
This legalese is patterned after the zlib compression library
*/
// code to implement Advanced Encryption Standard - Rijndael
// speed optimized version
#include "AES.h"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
//#include <fstream>
//#include <assert.h>
//#include <pstring>
//using namespace std;
-----------------
uncommenting fstream in aes.cpp gives ~400 errors...
i use qtcreator with this pro file:
-------
unix:!macx {
DEFINES += APL=0 IBM=0 LIN=1
LIBS += -L../third_party_source/bullet-2.77/src/BulletDynamics
LIBS += -L../third_party_source/bullet-2.77/src/BulletCollision
LIBS += -llua -lBulletDynamics -lBulletCollision -lLinearMath
-lcurl -lopenal -lalut
TARGET = lin.xpl
# WARNING! This requires the latest version of the X-SDK !!!!
# QMAKE_CXXFLAGS += -fvisibility=hidden
}
-------
About my biggest project to compile so far, so thanks
Michael
source version 1.0, June, 2005
Copyright (C) 2000-2005 Chris Lomont
This software is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must
not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
Chris Lomont
The AES Standard is maintained by NIST
http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
This legalese is patterned after the zlib compression library
*/
// code to implement Advanced Encryption Standard - Rijndael
// speed optimized version
#include "AES.h"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
//#include <fstream>
//#include <assert.h>
//#include <pstring>
//using namespace std;
uncommenting fstream returns ~400 errors. I also use qtcreator with a
project file as below:
---------
this is causing that many errors. Is there any replacement?
The #include <fstream> is not the real source of the problem, reread
Victors answer.