User forums > Using Code::Blocks

Problem building ttmath library in 64 bit Windows.

<< < (4/8) > >>

stahta01:
Add the search path to the include folder!

Edit1: Or you can use my project that has the search path already added; note you have to extract the project to the correct location!

Tim S.

Zachary1234:
I have done this and I am still getting my four errors.  Is there anything else that I can do?


-------------- Build: Release in Numbers (compiler: GNU GCC Compiler)---------------

g++.exe -Wall -fexceptions -O2 -m64 -IC:\Users\User\Desktop\ttmath-0.9.3\ttmath -c C:\Users\User\Desktop\ttmath-0.9.3\samples\big.cpp -o obj\Release\ttmath-0.9.3\samples\big.o
g++.exe -Wall -fexceptions -O2 -m64 -IC:\Users\User\Desktop\ttmath-0.9.3\ttmath -c C:\Users\User\Desktop\ttmath-0.9.3\samples\big2.cpp -o obj\Release\ttmath-0.9.3\samples\big2.o
g++.exe -Wall -fexceptions -O2 -m64 -IC:\Users\User\Desktop\ttmath-0.9.3\ttmath -c C:\Users\User\Desktop\ttmath-0.9.3\samples\int.cpp -o obj\Release\ttmath-0.9.3\samples\int.o
g++.exe -Wall -fexceptions -O2 -m64 -IC:\Users\User\Desktop\ttmath-0.9.3\ttmath -c C:\Users\User\Desktop\ttmath-0.9.3\samples\parser.cpp -o obj\Release\ttmath-0.9.3\samples\parser.o
C:\Users\User\Desktop\ttmath-0.9.3\samples\parser.cpp:1:27: fatal error: ttmath/ttmath.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
 
C:\Users\User\Desktop\ttmath-0.9.3\samples\big2.cpp:1:27: fatal error: ttmath/ttmath.h: No such file or directory
C:\Users\User\Desktop\ttmath-0.9.3\samples\big.cpp:1:27: fatal error: ttmath/ttmath.h: No such file or directory
C:\Users\User\Desktop\ttmath-0.9.3\samples\int.cpp:1:27: fatal error: ttmath/ttmath.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
4 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
4 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
4 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

stahta01:
Enter the correct path.
-IC:\Users\User\Desktop\ttmath-0.9.3\ttmath Wrong
-IC:\Users\User\Desktop\ttmath-0.9.3            Right


--- Quote ---Project -> Build Options
Make sure project is selected in left hand pane
Tab: Search Directory
Sub-Tab: Compiler
Click on Add button
Click on folder open icon
Enter path of "C:\Users\User\Desktop\ttmath-0.9.3" without double quotes in text box next to "Folder:"
Click on OK
Click "Yes" to keep this relative

--- End quote ---

Tim S.

Zachary1234:
I have done this and am still getting the following errors:
Is there a simple solution to what is going on?

stahta01:

--- Quote from: Zachary1234 on October 30, 2018, 05:20:21 am ---I have done this and am still getting the following errors:
Is there a simple solution to what is going on?

--- End quote ---

You failed to edit the program header file correctly.
I have no idea how little you know; I thought you would either know what a patch file meant or ask what it meant.

- means remove this line
+ means add this line

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version