Help with precompiled headers needed!!
-
Hi there. I am working on a project wich requires me to use matrices and do some computations on them. So I downloaded the LINPACK linear algebra library from http://www.csit.fsu.edu/~burkardt/cpp\_src/linpack/linpack.html The library is very nice, offering a huge collection of very usefull matrix arithmetic. I downloaded the source for the library which consisted of 2 .h files and 2 .c files. And when I try to compile the c files, using Visual Studio C++ 2003, I get two build errors: linpack.c c:\Documents Of I\UP\Year5 Semester2\EPR400\My Programming\TestMatrix\linpack.C(5668) : fatal error C1010: unexpected end of file while looking for precompiled header directive blas1.c c:\Documents Of I\UP\Year5 Semester2\EPR400\My Programming\TestMatrix\blas1.C(4532) : fatal error C1010: unexpected end of file while looking for precompiled header directive So I need help to get the source code to compile on VS C++ 2003. I think I need to change settings for the precompiled headers section of the project properties but I dont have a clue what it all means. Please help! Thanks! Ben
-
Hi there. I am working on a project wich requires me to use matrices and do some computations on them. So I downloaded the LINPACK linear algebra library from http://www.csit.fsu.edu/~burkardt/cpp\_src/linpack/linpack.html The library is very nice, offering a huge collection of very usefull matrix arithmetic. I downloaded the source for the library which consisted of 2 .h files and 2 .c files. And when I try to compile the c files, using Visual Studio C++ 2003, I get two build errors: linpack.c c:\Documents Of I\UP\Year5 Semester2\EPR400\My Programming\TestMatrix\linpack.C(5668) : fatal error C1010: unexpected end of file while looking for precompiled header directive blas1.c c:\Documents Of I\UP\Year5 Semester2\EPR400\My Programming\TestMatrix\blas1.C(4532) : fatal error C1010: unexpected end of file while looking for precompiled header directive So I need help to get the source code to compile on VS C++ 2003. I think I need to change settings for the precompiled headers section of the project properties but I dont have a clue what it all means. Please help! Thanks! Ben
add to your c files #include "stdafx.h" if u are using then into a visual c++ project with precompiled header project option :D NG
-
add to your c files #include "stdafx.h" if u are using then into a visual c++ project with precompiled header project option :D NG
Or you could just edit your project properties to not include precompiled headers.
-
Or you could just edit your project properties to not include precompiled headers.