Author Topic: Problem building ttmath library in 64 bit Windows.  (Read 938 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6359
    • My Best Post
Re: Problem building ttmath library in 64 bit Windows.
« Reply #30 on: October 30, 2018, 06:10:31 am »
And, I told not to do that!

Use only a single main function per target!

So, the problems are fixed from my viewpoint.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6359
    • My Best Post
Re: Problem building ttmath library in 64 bit Windows.
« Reply #31 on: October 30, 2018, 06:11:40 am »
So, do you want to add the project search path so the project can find the header?

If you do not know how, state that!

Edit: You should only try to build one sample C++ file per target/project till you get that one to work.

Tim S.

I posted my project that had multiple targets one per sample file as a zip in this thread.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Zachary1234

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: Problem building ttmath library in 64 bit Windows.
« Reply #32 on: October 30, 2018, 06:14:02 am »
I simply need to be able to compile a third party library, in 64 bint windows, without any errors.
I in fact shouldn't have to do all of this, from my point of view, if it is 64 bit complete.
I also don't have the time to learn their code base to fix things like this.
If there isn't any more for you to lob in, certainly from your stand point, should I simply leave this form?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6359
    • My Best Post
Re: Problem building ttmath library in 64 bit Windows.
« Reply #33 on: October 30, 2018, 06:21:10 am »
You would have been better off if you knew the difference between compiler and IDE (Code::Blocks) issues.
And, you would have been better off to use the provided makefile to build the samples unless the third party is supplying Code::Blocks projects. And, you should have used the library forum to research the issue. You came across as a very lazy newbie who has large gaps in knowledge. And, it took three posts with me threatening you with banning before you took the time to use code tags.

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6359
    • My Best Post
Re: Problem building ttmath library in 64 bit Windows.
« Reply #34 on: October 30, 2018, 06:25:15 am »
If you decide to continue on this website read and follow the rules in the future!
http://forums.codeblocks.org/index.php/topic,9996.0.html
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline sodev

  • Almost regular
  • **
  • Posts: 175
Re: Problem building ttmath library in 64 bit Windows.
« Reply #35 on: October 30, 2018, 07:58:45 pm »
I simply need to be able to compile a third party library, in 64 bint windows, without any errors.
ttmath is a template header-only library you DO NOT and you CAN NOT compile it (as a DLL/library). You simply include the headers to the application and you are done!