Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6391655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:43:09+00:00 2026-05-25T03:43:09+00:00

I wrote an application on Windows using CPP and BASS, and now I have

  • 0

I wrote an application on Windows using CPP and BASS, and now I have to get it running on Linux (UBUNTU).

I am using gcc version 4.5.2.

I have bass.lib in my directory from which I try to compile prog.cpp using the following command arguments:

gcc prog.cpp -L. -lbass.lib

But I get the following error:

/usr/bin/ld: cannot find -lbass.lib
collect2: ld returned 1 exit status

I figure that this is a linking error, the compiler is not finding Bass.lib but I have specified as an argument on the command line.

Not sure what to do, any help would be really great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:43:09+00:00Added an answer on May 25, 2026 at 3:43 am

    bass.lib sounds like the windows library. You cannot use libraries generated on windows, (likely generated with the MSVC compiler), on linux.

    The linux version of the library seems to be named libbass.so , in which case you’d use -lbass as the linker argument , and possibly other compiler/linker flags as well depending on where on the system you install the library. The bass.txt in the linux download of libbass have a few notes on what to do on Linux.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using windows 7 running .net 4.0 I wrote an application on my
I wrote an application using the Qt SDK on Windows. I now want to
I have a Windows Forms application that I wrote that does some monitoring of
I wrote an application for Windows 7 using C# and VS2008 and it runs
I wrote a Java (Swing) application on Windows, and tried running it on Mac.
I'm using Visual Studio 2008 Professional Edition. I wrote an application for Windows Mobile
I'm porting a small C++ console application from windows to linux, GCC 4.3.2. When
I have windows application I wrote. I installed it on virtual server (vmware) that
I wrote a windows application using C# .Net 2.0 and i want to do
I'm developping an application under windows, and i'm using fstreams to read and write

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.