User forums > Using Code::Blocks

Cannot build from command prompt in OSX

(1/1)

mariusm:
I'm trying to build a project in background without opening the graphics from C::B but cannot build from OSX command prompt.

Even if I gave the command not to open the program, try to open and it say

"Deactivating the compiler plugin is most unwise"

And in terminal:

CodeBlocks[2034:1503] CFURLCreateWithString was passed this invalid URL string: '/System/Library/CoreServices/CommonCocoaPanels.bundle' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.

The command is for 13.12 C::B version


--- Quote ---"Editor_CPP/CodeBlocks.app/Contents/MacOS/CodeBlocks" -ni -ns -nc --debug-log --batch-build-notify --build --target="VST2" "test/Mac/Project.cbp"
--- End quote ---

mariusm:
I find that the building from command line does not work on the Mac.  :'( :o

It is frustrating to waste a week with this program so that in the end the command line doesn't work. Isn't there a public list of bugs here?

Miguel Gimenez:
There is, see here, but 13.12 is 10 years old. There are nightly builds for Mac, see this link, but I do not know if they will work on your version.

mariusm:
I tried codeblocks-17.12 the newset Mac version with the same result  :-\

Navigation

[0] Message Index

Go to full version